@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLogicallyAirGappedBackupVaultRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateLogicallyAirGappedBackupVaultRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLogicallyAirGappedBackupVaultRequest |
addBackupVaultTagsEntry(String key,
String value)
Add a single BackupVaultTags entry
|
CreateLogicallyAirGappedBackupVaultRequest |
clearBackupVaultTagsEntries()
Removes all the entries added into BackupVaultTags.
|
CreateLogicallyAirGappedBackupVaultRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBackupVaultName()
This is the name of the vault that is being created.
|
Map<String,String> |
getBackupVaultTags()
These are the tags that will be included in the newly-created vault.
|
String |
getCreatorRequestId()
This is the ID of the creation request.
|
Long |
getMaxRetentionDays()
This is the setting that specifies the maximum retention period that the vault retains its recovery points.
|
Long |
getMinRetentionDays()
This setting specifies the minimum retention period that the vault retains its recovery points.
|
int |
hashCode() |
void |
setBackupVaultName(String backupVaultName)
This is the name of the vault that is being created.
|
void |
setBackupVaultTags(Map<String,String> backupVaultTags)
These are the tags that will be included in the newly-created vault.
|
void |
setCreatorRequestId(String creatorRequestId)
This is the ID of the creation request.
|
void |
setMaxRetentionDays(Long maxRetentionDays)
This is the setting that specifies the maximum retention period that the vault retains its recovery points.
|
void |
setMinRetentionDays(Long minRetentionDays)
This setting specifies the minimum retention period that the vault retains its recovery points.
|
String |
toString()
Returns a string representation of this object.
|
CreateLogicallyAirGappedBackupVaultRequest |
withBackupVaultName(String backupVaultName)
This is the name of the vault that is being created.
|
CreateLogicallyAirGappedBackupVaultRequest |
withBackupVaultTags(Map<String,String> backupVaultTags)
These are the tags that will be included in the newly-created vault.
|
CreateLogicallyAirGappedBackupVaultRequest |
withCreatorRequestId(String creatorRequestId)
This is the ID of the creation request.
|
CreateLogicallyAirGappedBackupVaultRequest |
withMaxRetentionDays(Long maxRetentionDays)
This is the setting that specifies the maximum retention period that the vault retains its recovery points.
|
CreateLogicallyAirGappedBackupVaultRequest |
withMinRetentionDays(Long minRetentionDays)
This setting specifies the minimum retention period that the vault retains its recovery points.
|
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 CreateLogicallyAirGappedBackupVaultRequest()
public void setBackupVaultName(String backupVaultName)
This is the name of the vault that is being created.
backupVaultName
- This is the name of the vault that is being created.public String getBackupVaultName()
This is the name of the vault that is being created.
public CreateLogicallyAirGappedBackupVaultRequest withBackupVaultName(String backupVaultName)
This is the name of the vault that is being created.
backupVaultName
- This is the name of the vault that is being created.public Map<String,String> getBackupVaultTags()
These are the tags that will be included in the newly-created vault.
public void setBackupVaultTags(Map<String,String> backupVaultTags)
These are the tags that will be included in the newly-created vault.
backupVaultTags
- These are the tags that will be included in the newly-created vault.public CreateLogicallyAirGappedBackupVaultRequest withBackupVaultTags(Map<String,String> backupVaultTags)
These are the tags that will be included in the newly-created vault.
backupVaultTags
- These are the tags that will be included in the newly-created vault.public CreateLogicallyAirGappedBackupVaultRequest addBackupVaultTagsEntry(String key, String value)
public CreateLogicallyAirGappedBackupVaultRequest clearBackupVaultTagsEntries()
public void setCreatorRequestId(String creatorRequestId)
This is the ID of the creation request.
This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
creatorRequestId
- This is the ID of the creation request.
This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
public String getCreatorRequestId()
This is the ID of the creation request.
This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
public CreateLogicallyAirGappedBackupVaultRequest withCreatorRequestId(String creatorRequestId)
This is the ID of the creation request.
This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
creatorRequestId
- This is the ID of the creation request.
This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
public void setMinRetentionDays(Long minRetentionDays)
This setting specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, no minimum retention period is enforced.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If a job retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
minRetentionDays
- This setting specifies the minimum retention period that the vault retains its recovery points. If this
parameter is not specified, no minimum retention period is enforced.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If a job retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
public Long getMinRetentionDays()
This setting specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, no minimum retention period is enforced.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If a job retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If a job retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
public CreateLogicallyAirGappedBackupVaultRequest withMinRetentionDays(Long minRetentionDays)
This setting specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, no minimum retention period is enforced.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If a job retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
minRetentionDays
- This setting specifies the minimum retention period that the vault retains its recovery points. If this
parameter is not specified, no minimum retention period is enforced.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If a job retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
public void setMaxRetentionDays(Long maxRetentionDays)
This is the setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Backup does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
maxRetentionDays
- This is the setting that specifies the maximum retention period that the vault retains its recovery
points. If this parameter is not specified, Backup does not enforce a maximum retention period on the
recovery points in the vault (allowing indefinite storage).
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
public Long getMaxRetentionDays()
This is the setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Backup does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
public CreateLogicallyAirGappedBackupVaultRequest withMaxRetentionDays(Long maxRetentionDays)
This is the setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Backup does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
maxRetentionDays
- This is the setting that specifies the maximum retention period that the vault retains its recovery
points. If this parameter is not specified, Backup does not enforce a maximum retention period on the
recovery points in the vault (allowing indefinite storage).
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
public String toString()
toString
in class Object
Object.toString()
public CreateLogicallyAirGappedBackupVaultRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()