Interface DeleteAutoSnapshotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteAutoSnapshotRequest.Builder,,DeleteAutoSnapshotRequest> LightsailRequest.Builder,SdkBuilder<DeleteAutoSnapshotRequest.Builder,,DeleteAutoSnapshotRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeleteAutoSnapshotRequest
public static interface DeleteAutoSnapshotRequest.Builder
extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<DeleteAutoSnapshotRequest.Builder,DeleteAutoSnapshotRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe date of the automatic snapshot to delete inYYYY-MM-DDformat.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceName(String resourceName) The name of the source instance or disk from which to delete the automatic 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.lightsail.model.LightsailRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resourceName
The name of the source instance or disk from which to delete the automatic snapshot.
- Parameters:
resourceName- The name of the source instance or disk from which to delete the automatic snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
date
The date of the automatic snapshot to delete in
YYYY-MM-DDformat. Use theget auto snapshotsoperation to get the available automatic snapshots for a resource.- Parameters:
date- The date of the automatic snapshot to delete inYYYY-MM-DDformat. Use theget auto snapshotsoperation to get the available automatic snapshots for a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteAutoSnapshotRequest.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
DeleteAutoSnapshotRequest.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.
-