Class AssignTapePoolRequest
- 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.AssignTapePoolRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AssignTapePoolRequest.Builder,AssignTapePoolRequest>
@Generated("software.amazon.awssdk:codegen") public final class AssignTapePoolRequest extends StorageGatewayRequest implements ToCopyableBuilder<AssignTapePoolRequest.Builder,AssignTapePoolRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssignTapePoolRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssignTapePoolRequest.Builderbuilder()BooleanbypassGovernanceRetention()Set permissions to bypass governance retention.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpoolId()The ID of the pool that you want to add your tape to for archiving.List<SdkField<?>>sdkFields()static Class<? extends AssignTapePoolRequest.Builder>serializableBuilderClass()StringtapeARN()The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the tape pool.AssignTapePoolRequest.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 unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the tape pool.
- Returns:
- The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the tape pool.
-
poolId
public final String poolId()
The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
- Returns:
- The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
-
bypassGovernanceRetention
public final Boolean bypassGovernanceRetention()
Set permissions to bypass governance retention. If the lock type of the archived tape is
Governance, the tape's archived age is not older thanRetentionLockInDays, and the user does not already haveBypassGovernanceRetention, setting this to TRUE enables the user to bypass the retention lock. This parameter is set to true by default for calls from the console.Valid values:
TRUE|FALSE- Returns:
- Set permissions to bypass governance retention. If the lock type of the archived tape is
Governance, the tape's archived age is not older thanRetentionLockInDays, and the user does not already haveBypassGovernanceRetention, setting this to TRUE enables the user to bypass the retention lock. This parameter is set to true by default for calls from the console.Valid values:
TRUE|FALSE
-
toBuilder
public AssignTapePoolRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssignTapePoolRequest.Builder,AssignTapePoolRequest>- Specified by:
toBuilderin classStorageGatewayRequest
-
builder
public static AssignTapePoolRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssignTapePoolRequest.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
-
-