@Generated(value="software.amazon.awssdk:codegen") public class SourceBuildInformation extends Object implements ToCopyableBuilder<SourceBuildInformation.Builder,SourceBuildInformation>
Location of the source code for an application version.
Modifier and Type | Class and Description |
---|---|
static interface |
SourceBuildInformation.Builder |
Modifier and Type | Method and Description |
---|---|
static SourceBuildInformation.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends SourceBuildInformation.Builder> |
serializableBuilderClass() |
String |
sourceLocation()
The location of the source code, as a formatted string, depending on the value of
SourceRepository |
SourceRepository |
sourceRepository()
Location where the repository is stored.
|
String |
sourceRepositoryString()
Location where the repository is stored.
|
SourceType |
sourceType()
The type of repository.
|
String |
sourceTypeString()
The type of repository.
|
SourceBuildInformation.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public SourceType sourceType()
The type of repository.
Git
Zip
If the service returns an enum value that is not available in the current SDK version, sourceType
will
return SourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sourceTypeString()
.
Git
Zip
SourceType
public String sourceTypeString()
The type of repository.
Git
Zip
If the service returns an enum value that is not available in the current SDK version, sourceType
will
return SourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sourceTypeString()
.
Git
Zip
SourceType
public SourceRepository sourceRepository()
Location where the repository is stored.
CodeCommit
S3
If the service returns an enum value that is not available in the current SDK version, sourceRepository
will return SourceRepository.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from sourceRepositoryString()
.
CodeCommit
S3
SourceRepository
public String sourceRepositoryString()
Location where the repository is stored.
CodeCommit
S3
If the service returns an enum value that is not available in the current SDK version, sourceRepository
will return SourceRepository.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from sourceRepositoryString()
.
CodeCommit
S3
SourceRepository
public String sourceLocation()
The location of the source code, as a formatted string, depending on the value of SourceRepository
For CodeCommit
, the format is the repository name and commit ID, separated by a forward slash. For
example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a
.
For S3
, the format is the S3 bucket name and object key, separated by a forward slash. For example,
my-s3-bucket/Folders/my-source-file
.
SourceRepository
For CodeCommit
, the format is the repository name and commit ID, separated by a forward
slash. For example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a
.
For S3
, the format is the S3 bucket name and object key, separated by a forward slash. For
example, my-s3-bucket/Folders/my-source-file
.
public SourceBuildInformation.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SourceBuildInformation.Builder,SourceBuildInformation>
public static SourceBuildInformation.Builder builder()
public static Class<? extends SourceBuildInformation.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.