Interface SourceBuildInformation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SourceBuildInformation.Builder,SourceBuildInformation>,SdkBuilder<SourceBuildInformation.Builder,SourceBuildInformation>,SdkPojo
- Enclosing class:
- SourceBuildInformation
public static interface SourceBuildInformation.Builder extends SdkPojo, CopyableBuilder<SourceBuildInformation.Builder,SourceBuildInformation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SourceBuildInformation.BuildersourceLocation(String sourceLocation)The location of the source code, as a formatted string, depending on the value ofSourceRepositorySourceBuildInformation.BuildersourceRepository(String sourceRepository)Location where the repository is stored.SourceBuildInformation.BuildersourceRepository(SourceRepository sourceRepository)Location where the repository is stored.SourceBuildInformation.BuildersourceType(String sourceType)The type of repository.SourceBuildInformation.BuildersourceType(SourceType sourceType)The type of repository.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
sourceType
SourceBuildInformation.Builder sourceType(String sourceType)
The type of repository.
-
Git -
Zip
- Parameters:
sourceType- The type of repository.-
Git -
Zip
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceType,SourceType
-
-
sourceType
SourceBuildInformation.Builder sourceType(SourceType sourceType)
The type of repository.
-
Git -
Zip
- Parameters:
sourceType- The type of repository.-
Git -
Zip
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceType,SourceType
-
-
sourceRepository
SourceBuildInformation.Builder sourceRepository(String sourceRepository)
Location where the repository is stored.
-
CodeCommit -
S3
- Parameters:
sourceRepository- Location where the repository is stored.-
CodeCommit -
S3
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceRepository,SourceRepository
-
-
sourceRepository
SourceBuildInformation.Builder sourceRepository(SourceRepository sourceRepository)
Location where the repository is stored.
-
CodeCommit -
S3
- Parameters:
sourceRepository- Location where the repository is stored.-
CodeCommit -
S3
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceRepository,SourceRepository
-
-
sourceLocation
SourceBuildInformation.Builder sourceLocation(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.
- Parameters:
sourceLocation- The location of the source code, as a formatted string, depending on the value ofSourceRepository-
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-