@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTapePoolRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateTapePoolRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTapePoolRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPoolName()
The name of the new custom tape pool.
|
Integer |
getRetentionLockTimeInDays()
Tape retention lock time is set in days.
|
String |
getRetentionLockType()
Tape retention lock can be configured in two modes.
|
String |
getStorageClass()
The storage class that is associated with the new custom pool.
|
List<Tag> |
getTags()
A list of up to 50 tags that can be assigned to tape pool.
|
int |
hashCode() |
void |
setPoolName(String poolName)
The name of the new custom tape pool.
|
void |
setRetentionLockTimeInDays(Integer retentionLockTimeInDays)
Tape retention lock time is set in days.
|
void |
setRetentionLockType(String retentionLockType)
Tape retention lock can be configured in two modes.
|
void |
setStorageClass(String storageClass)
The storage class that is associated with the new custom pool.
|
void |
setTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to tape pool.
|
String |
toString()
Returns a string representation of this object.
|
CreateTapePoolRequest |
withPoolName(String poolName)
The name of the new custom tape pool.
|
CreateTapePoolRequest |
withRetentionLockTimeInDays(Integer retentionLockTimeInDays)
Tape retention lock time is set in days.
|
CreateTapePoolRequest |
withRetentionLockType(RetentionLockType retentionLockType)
Tape retention lock can be configured in two modes.
|
CreateTapePoolRequest |
withRetentionLockType(String retentionLockType)
Tape retention lock can be configured in two modes.
|
CreateTapePoolRequest |
withStorageClass(String storageClass)
The storage class that is associated with the new custom pool.
|
CreateTapePoolRequest |
withStorageClass(TapeStorageClass storageClass)
The storage class that is associated with the new custom pool.
|
CreateTapePoolRequest |
withTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to tape pool.
|
CreateTapePoolRequest |
withTags(Tag... tags)
A list of up to 50 tags that can be assigned to tape pool.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPoolName(String poolName)
The name of the new custom tape pool.
poolName
- The name of the new custom tape pool.public String getPoolName()
The name of the new custom tape pool.
public CreateTapePoolRequest withPoolName(String poolName)
The name of the new custom tape pool.
poolName
- The name of the new custom tape pool.public void setStorageClass(String storageClass)
The storage class that is associated with the new custom 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.
storageClass
- The storage class that is associated with the new custom 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.TapeStorageClass
public String getStorageClass()
The storage class that is associated with the new custom 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.
TapeStorageClass
public CreateTapePoolRequest withStorageClass(String storageClass)
The storage class that is associated with the new custom 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.
storageClass
- The storage class that is associated with the new custom 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.TapeStorageClass
public CreateTapePoolRequest withStorageClass(TapeStorageClass storageClass)
The storage class that is associated with the new custom 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.
storageClass
- The storage class that is associated with the new custom 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.TapeStorageClass
public void setRetentionLockType(String retentionLockType)
Tape retention lock can be configured in two modes. When configured in governance mode, Amazon Web Services accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root Amazon Web Services account.
retentionLockType
- Tape retention lock can be configured in two modes. When configured in governance mode, Amazon Web
Services accounts with specific IAM permissions are authorized to remove the tape retention lock from
archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by
any user, including the root Amazon Web Services account.RetentionLockType
public String getRetentionLockType()
Tape retention lock can be configured in two modes. When configured in governance mode, Amazon Web Services accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root Amazon Web Services account.
RetentionLockType
public CreateTapePoolRequest withRetentionLockType(String retentionLockType)
Tape retention lock can be configured in two modes. When configured in governance mode, Amazon Web Services accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root Amazon Web Services account.
retentionLockType
- Tape retention lock can be configured in two modes. When configured in governance mode, Amazon Web
Services accounts with specific IAM permissions are authorized to remove the tape retention lock from
archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by
any user, including the root Amazon Web Services account.RetentionLockType
public CreateTapePoolRequest withRetentionLockType(RetentionLockType retentionLockType)
Tape retention lock can be configured in two modes. When configured in governance mode, Amazon Web Services accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root Amazon Web Services account.
retentionLockType
- Tape retention lock can be configured in two modes. When configured in governance mode, Amazon Web
Services accounts with specific IAM permissions are authorized to remove the tape retention lock from
archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by
any user, including the root Amazon Web Services account.RetentionLockType
public void setRetentionLockTimeInDays(Integer retentionLockTimeInDays)
Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days).
retentionLockTimeInDays
- Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500
days).public Integer getRetentionLockTimeInDays()
Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days).
public CreateTapePoolRequest withRetentionLockTimeInDays(Integer retentionLockTimeInDays)
Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days).
retentionLockTimeInDays
- Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500
days).public List<Tag> getTags()
A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public void setTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
tags
- A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair. Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public CreateTapePoolRequest withTags(Tag... tags)
A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair. Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public CreateTapePoolRequest withTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
tags
- A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair. Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public String toString()
toString
in class Object
Object.toString()
public CreateTapePoolRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()