Class DeleteAutoSnapshotRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lightsail.model.LightsailRequest
-
- software.amazon.awssdk.services.lightsail.model.DeleteAutoSnapshotRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteAutoSnapshotRequest.Builder,DeleteAutoSnapshotRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteAutoSnapshotRequest extends LightsailRequest implements ToCopyableBuilder<DeleteAutoSnapshotRequest.Builder,DeleteAutoSnapshotRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteAutoSnapshotRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteAutoSnapshotRequest.Builderbuilder()Stringdate()The date of the automatic snapshot to delete inYYYY-MM-DDformat.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceName()The name of the source instance or disk from which to delete the automatic snapshot.List<SdkField<?>>sdkFields()static Class<? extends DeleteAutoSnapshotRequest.Builder>serializableBuilderClass()DeleteAutoSnapshotRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceName
public final String resourceName()
The name of the source instance or disk from which to delete the automatic snapshot.
- Returns:
- The name of the source instance or disk from which to delete the automatic snapshot.
-
date
public final String 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.- Returns:
- 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.
-
toBuilder
public DeleteAutoSnapshotRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteAutoSnapshotRequest.Builder,DeleteAutoSnapshotRequest>- Specified by:
toBuilderin classLightsailRequest
-
builder
public static DeleteAutoSnapshotRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteAutoSnapshotRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-