Class DeleteVolumeRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.fsx.model.FSxRequest
-
- software.amazon.awssdk.services.fsx.model.DeleteVolumeRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteVolumeRequest.Builder,DeleteVolumeRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteVolumeRequest extends FSxRequest implements ToCopyableBuilder<DeleteVolumeRequest.Builder,DeleteVolumeRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteVolumeRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteVolumeRequest.Builderbuilder()StringclientRequestToken()Returns the value of the ClientRequestToken property for this object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DeleteVolumeOntapConfigurationontapConfiguration()For Amazon FSx for ONTAP volumes, specify whether to take a final backup of the volume and apply tags to the backup.DeleteVolumeOpenZFSConfigurationopenZFSConfiguration()For Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DeleteVolumeRequest.Builder>serializableBuilderClass()DeleteVolumeRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvolumeId()The ID of the volume that you are deleting.-
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
-
clientRequestToken
public final String clientRequestToken()
Returns the value of the ClientRequestToken property for this object.- Returns:
- The value of the ClientRequestToken property for this object.
-
volumeId
public final String volumeId()
The ID of the volume that you are deleting.
- Returns:
- The ID of the volume that you are deleting.
-
ontapConfiguration
public final DeleteVolumeOntapConfiguration ontapConfiguration()
For Amazon FSx for ONTAP volumes, specify whether to take a final backup of the volume and apply tags to the backup. To apply tags to the backup, you must have the
fsx:TagResourcepermission.- Returns:
- For Amazon FSx for ONTAP volumes, specify whether to take a final backup of the volume and apply tags to
the backup. To apply tags to the backup, you must have the
fsx:TagResourcepermission.
-
openZFSConfiguration
public final DeleteVolumeOpenZFSConfiguration openZFSConfiguration()
For Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.
- Returns:
- For Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.
-
toBuilder
public DeleteVolumeRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteVolumeRequest.Builder,DeleteVolumeRequest>- Specified by:
toBuilderin classFSxRequest
-
builder
public static DeleteVolumeRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteVolumeRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-