ToCopyableBuilder<SourceBuildInformation.Builder,SourceBuildInformation>
@Generated("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 | Description |
---|---|---|
static interface |
SourceBuildInformation.Builder |
Modifier and Type | Method | Description |
---|---|---|
static SourceBuildInformation.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
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 |
String |
sourceRepository() |
Location where the repository is stored.
|
String |
sourceType() |
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() |
public String sourceType()
The type of repository.
Git
Zip
Git
Zip
SourceType
public String sourceRepository()
Location where the repository is stored.
CodeCommit
S3
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.