Interface CreateSnapshotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSnapshotRequest.Builder,,CreateSnapshotRequest> KinesisAnalyticsV2Request.Builder,SdkBuilder<CreateSnapshotRequest.Builder,,CreateSnapshotRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateSnapshotRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) Sets the value of the ApplicationName property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.snapshotDescription(String snapshotDescription) A summary description of the snapshot.snapshotName(String snapshotName) The name of the enhanced snapshot.tags(Collection<Tag> tags) A list of one or more tags to assign to the snapshot.tags(Consumer<Tag.Builder>... tags) A list of one or more tags to assign to the snapshot.A list of one or more tags to assign to the snapshot.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesisanalyticsv2.model.KinesisAnalyticsV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationName
Sets the value of the ApplicationName property for this object.- Parameters:
applicationName- The new value for the ApplicationName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotName
The name of the enhanced snapshot. The name must be unique among the snapshots in your account and Region. You can't reuse the name of an existing snapshot, including a snapshot in the
FAILEDstatus, until you delete that snapshot. Names that begin withSYSTEMSNAPSHOTare reserved.- Parameters:
snapshotName- The name of the enhanced snapshot. The name must be unique among the snapshots in your account and Region. You can't reuse the name of an existing snapshot, including a snapshot in theFAILEDstatus, until you delete that snapshot. Names that begin withSYSTEMSNAPSHOTare reserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotDescription
A summary description of the snapshot.
- Parameters:
snapshotDescription- A summary description of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of one or more tags to assign to the snapshot. A tag is a key-value pair that identifies a snapshot. For more information, see Using Tagging.
- Parameters:
tags- A list of one or more tags to assign to the snapshot. A tag is a key-value pair that identifies a snapshot. For more information, see Using Tagging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of one or more tags to assign to the snapshot. A tag is a key-value pair that identifies a snapshot. For more information, see Using Tagging.
- Parameters:
tags- A list of one or more tags to assign to the snapshot. A tag is a key-value pair that identifies a snapshot. For more information, see Using Tagging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of one or more tags to assign to the snapshot. A tag is a key-value pair that identifies a snapshot. For more information, see Using Tagging.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-