Interface CodeConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CodeConfig.Builder,,CodeConfig> SdkBuilder<CodeConfig.Builder,,CodeConfig> SdkPojo
- Enclosing class:
CodeConfig
@Mutable
@NotThreadSafe
public static interface CodeConfig.Builder
extends SdkPojo, CopyableBuilder<CodeConfig.Builder,CodeConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CodeConfig.Builders3Object(Consumer<S3Object.Builder> s3Object) The Amazon S3 location of the deployment artifact.The Amazon S3 location of the deployment artifact.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
s3Object
The Amazon S3 location of the deployment artifact.
- Parameters:
s3Object- The Amazon S3 location of the deployment artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Object
The Amazon S3 location of the deployment artifact.
This is a convenience method that creates an instance of theS3Object.Builderavoiding the need to create one manually viaS3Object.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Object(S3Object).- Parameters:
s3Object- a consumer that will call methods onS3Object.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-