Interface TemplateVersionSourceInput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TemplateVersionSourceInput.Builder,TemplateVersionSourceInput>,SdkBuilder<TemplateVersionSourceInput.Builder,TemplateVersionSourceInput>,SdkPojo
- Enclosing class:
- TemplateVersionSourceInput
public static interface TemplateVersionSourceInput.Builder extends SdkPojo, CopyableBuilder<TemplateVersionSourceInput.Builder,TemplateVersionSourceInput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TemplateVersionSourceInput.Builders3(Consumer<S3ObjectSource.Builder> s3)An S3 source object that includes the template bundle S3 path and name for a template minor version.TemplateVersionSourceInput.Builders3(S3ObjectSource s3)An S3 source object that includes the template bundle S3 path and name for a template minor version.-
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
TemplateVersionSourceInput.Builder s3(S3ObjectSource s3)
An S3 source object that includes the template bundle S3 path and name for a template minor version.
- Parameters:
s3- An S3 source object that includes the template bundle S3 path and name for a template minor version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
default TemplateVersionSourceInput.Builder s3(Consumer<S3ObjectSource.Builder> s3)
An S3 source object that includes the template bundle S3 path and name for a template minor version.
This is a convenience method that creates an instance of theS3ObjectSource.Builderavoiding the need to create one manually viaS3ObjectSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3ObjectSource).- Parameters:
s3- a consumer that will call methods onS3ObjectSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3(S3ObjectSource)
-
-