@Generated(value="software.amazon.awssdk:codegen") public final class AssignTapePoolRequest extends StorageGatewayRequest implements ToCopyableBuilder<AssignTapePoolRequest.Builder,AssignTapePoolRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssignTapePoolRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AssignTapePoolRequest.Builder |
builder() |
Boolean |
bypassGovernanceRetention()
Set permissions to bypass governance retention.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
poolId()
The ID of the pool that you want to add your tape to for archiving.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssignTapePoolRequest.Builder> |
serializableBuilderClass() |
String |
tapeARN()
The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the tape pool.
|
AssignTapePoolRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String tapeARN()
The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the tape pool.
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.
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 than RetentionLockInDays, and the user does not already have
BypassGovernanceRetention, 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
Governance, the tape's archived age is not older than RetentionLockInDays, and
the user does not already have BypassGovernanceRetention, 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
public AssignTapePoolRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssignTapePoolRequest.Builder,AssignTapePoolRequest>toBuilder in class StorageGatewayRequestpublic static AssignTapePoolRequest.Builder builder()
public static Class<? extends AssignTapePoolRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.