Interface ToolchainSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ToolchainSource.Builder,ToolchainSource>,SdkBuilder<ToolchainSource.Builder,ToolchainSource>,SdkPojo
- Enclosing class:
- ToolchainSource
public static interface ToolchainSource.Builder extends SdkPojo, CopyableBuilder<ToolchainSource.Builder,ToolchainSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ToolchainSource.Builders3(Consumer<S3Location.Builder> s3)The Amazon S3 bucket where the toolchain template file provided with the project request is stored.ToolchainSource.Builders3(S3Location s3)The Amazon S3 bucket where the toolchain template file provided with the project request is stored.-
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, sdkFields
-
-
-
-
Method Detail
-
s3
ToolchainSource.Builder s3(S3Location s3)
The Amazon S3 bucket where the toolchain template file provided with the project request is stored.
- Parameters:
s3- The Amazon S3 bucket where the toolchain template file provided with the project request is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
default ToolchainSource.Builder s3(Consumer<S3Location.Builder> s3)
The Amazon S3 bucket where the toolchain template file provided with the project request is stored.
This is a convenience method that creates an instance of theS3Location.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3Location).- Parameters:
s3- a consumer that will call methods onS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3(S3Location)
-
-