Class DeleteTapeArchiveRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest
-
- software.amazon.awssdk.services.storagegateway.model.DeleteTapeArchiveRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteTapeArchiveRequest.Builder,DeleteTapeArchiveRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteTapeArchiveRequest extends StorageGatewayRequest implements ToCopyableBuilder<DeleteTapeArchiveRequest.Builder,DeleteTapeArchiveRequest>
DeleteTapeArchiveInput
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteTapeArchiveRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteTapeArchiveRequest.Builderbuilder()BooleanbypassGovernanceRetention()Set toTRUEto delete an archived tape that belongs to a custom pool with tape retention lock.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DeleteTapeArchiveRequest.Builder>serializableBuilderClass()StringtapeARN()The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf (VTS).DeleteTapeArchiveRequest.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
-
tapeARN
public final String tapeARN()
The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf (VTS).
- Returns:
- The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf (VTS).
-
bypassGovernanceRetention
public final Boolean bypassGovernanceRetention()
Set to
TRUEto delete an archived tape that belongs to a custom pool with tape retention lock. Only archived tapes with tape retention lock set togovernancecan be deleted. Archived tapes with tape retention lock set tocompliancecan't be deleted.- Returns:
- Set to
TRUEto delete an archived tape that belongs to a custom pool with tape retention lock. Only archived tapes with tape retention lock set togovernancecan be deleted. Archived tapes with tape retention lock set tocompliancecan't be deleted.
-
toBuilder
public DeleteTapeArchiveRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteTapeArchiveRequest.Builder,DeleteTapeArchiveRequest>- Specified by:
toBuilderin classStorageGatewayRequest
-
builder
public static DeleteTapeArchiveRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteTapeArchiveRequest.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
-
-