@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutBackupVaultAccessPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| PutBackupVaultAccessPolicyRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| PutBackupVaultAccessPolicyRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getBackupVaultName()
 The name of a logical container where backups are stored. | 
| String | getPolicy()
 The backup vault access policy document in JSON format. | 
| int | hashCode() | 
| void | setBackupVaultName(String backupVaultName)
 The name of a logical container where backups are stored. | 
| void | setPolicy(String policy)
 The backup vault access policy document in JSON format. | 
| String | toString()Returns a string representation of this object. | 
| PutBackupVaultAccessPolicyRequest | withBackupVaultName(String backupVaultName)
 The name of a logical container where backups are stored. | 
| PutBackupVaultAccessPolicyRequest | withPolicy(String policy)
 The backup vault access policy document in JSON format. | 
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, withSdkRequestTimeoutpublic void setBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
backupVaultName - The name of a logical container where backups are stored. Backup vaults are identified by names that are
        unique to the account used to create them and the Amazon Web Services Region where they are created. They
        consist of lowercase letters, numbers, and hyphens.public String getBackupVaultName()
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
public PutBackupVaultAccessPolicyRequest withBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
backupVaultName - The name of a logical container where backups are stored. Backup vaults are identified by names that are
        unique to the account used to create them and the Amazon Web Services Region where they are created. They
        consist of lowercase letters, numbers, and hyphens.public void setPolicy(String policy)
The backup vault access policy document in JSON format.
policy - The backup vault access policy document in JSON format.public String getPolicy()
The backup vault access policy document in JSON format.
public PutBackupVaultAccessPolicyRequest withPolicy(String policy)
The backup vault access policy document in JSON format.
policy - The backup vault access policy document in JSON format.public String toString()
toString in class ObjectObject.toString()public PutBackupVaultAccessPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()