@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyDBSnapshotAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
ModifyDBSnapshotAttributeRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
ModifyDBSnapshotAttributeRequest | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
String | 
getAttributeName()
 The name of the DB snapshot attribute to modify. 
 | 
String | 
getDBSnapshotIdentifier()
 The identifier for the DB snapshot to modify the attributes for. 
 | 
List<String> | 
getValuesToAdd()
 A list of DB snapshot attributes to add to the attribute specified by  
AttributeName. | 
List<String> | 
getValuesToRemove()
 A list of DB snapshot attributes to remove from the attribute specified by  
AttributeName. | 
int | 
hashCode()  | 
void | 
setAttributeName(String attributeName)
 The name of the DB snapshot attribute to modify. 
 | 
void | 
setDBSnapshotIdentifier(String dBSnapshotIdentifier)
 The identifier for the DB snapshot to modify the attributes for. 
 | 
void | 
setValuesToAdd(Collection<String> valuesToAdd)
 A list of DB snapshot attributes to add to the attribute specified by  
AttributeName. | 
void | 
setValuesToRemove(Collection<String> valuesToRemove)
 A list of DB snapshot attributes to remove from the attribute specified by  
AttributeName. | 
String | 
toString()
Returns a string representation of this object. 
 | 
ModifyDBSnapshotAttributeRequest | 
withAttributeName(String attributeName)
 The name of the DB snapshot attribute to modify. 
 | 
ModifyDBSnapshotAttributeRequest | 
withDBSnapshotIdentifier(String dBSnapshotIdentifier)
 The identifier for the DB snapshot to modify the attributes for. 
 | 
ModifyDBSnapshotAttributeRequest | 
withValuesToAdd(Collection<String> valuesToAdd)
 A list of DB snapshot attributes to add to the attribute specified by  
AttributeName. | 
ModifyDBSnapshotAttributeRequest | 
withValuesToAdd(String... valuesToAdd)
 A list of DB snapshot attributes to add to the attribute specified by  
AttributeName. | 
ModifyDBSnapshotAttributeRequest | 
withValuesToRemove(Collection<String> valuesToRemove)
 A list of DB snapshot attributes to remove from the attribute specified by  
AttributeName. | 
ModifyDBSnapshotAttributeRequest | 
withValuesToRemove(String... valuesToRemove)
 A list of DB snapshot attributes to remove from the attribute specified by  
AttributeName. | 
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 setDBSnapshotIdentifier(String dBSnapshotIdentifier)
The identifier for the DB snapshot to modify the attributes for.
dBSnapshotIdentifier - The identifier for the DB snapshot to modify the attributes for.public String getDBSnapshotIdentifier()
The identifier for the DB snapshot to modify the attributes for.
public ModifyDBSnapshotAttributeRequest withDBSnapshotIdentifier(String dBSnapshotIdentifier)
The identifier for the DB snapshot to modify the attributes for.
dBSnapshotIdentifier - The identifier for the DB snapshot to modify the attributes for.public void setAttributeName(String attributeName)
The name of the DB snapshot attribute to modify.
 To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB snapshot, set this
 value to restore.
 
To view the list of attributes available to modify, use the DescribeDBSnapshotAttributes API operation.
attributeName - The name of the DB snapshot attribute to modify.
        
        To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB snapshot,
        set this value to restore.
        
To view the list of attributes available to modify, use the DescribeDBSnapshotAttributes API operation.
public String getAttributeName()
The name of the DB snapshot attribute to modify.
 To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB snapshot, set this
 value to restore.
 
To view the list of attributes available to modify, use the DescribeDBSnapshotAttributes API operation.
         To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB snapshot,
         set this value to restore.
         
To view the list of attributes available to modify, use the DescribeDBSnapshotAttributes API operation.
public ModifyDBSnapshotAttributeRequest withAttributeName(String attributeName)
The name of the DB snapshot attribute to modify.
 To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB snapshot, set this
 value to restore.
 
To view the list of attributes available to modify, use the DescribeDBSnapshotAttributes API operation.
attributeName - The name of the DB snapshot attribute to modify.
        
        To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB snapshot,
        set this value to restore.
        
To view the list of attributes available to modify, use the DescribeDBSnapshotAttributes API operation.
public List<String> getValuesToAdd()
 A list of DB snapshot attributes to add to the attribute specified by AttributeName.
 
 To authorize other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to include
 one or more Amazon Web Services account IDs, or all to make the manual DB snapshot restorable by any
 Amazon Web Services account. Do not add the all value for any manual DB snapshots that contain
 private information that you don't want available to all Amazon Web Services accounts.
 
AttributeName.
         
         To authorize other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to
         include one or more Amazon Web Services account IDs, or all to make the manual DB snapshot
         restorable by any Amazon Web Services account. Do not add the all value for any manual DB
         snapshots that contain private information that you don't want available to all Amazon Web Services
         accounts.
public void setValuesToAdd(Collection<String> valuesToAdd)
 A list of DB snapshot attributes to add to the attribute specified by AttributeName.
 
 To authorize other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to include
 one or more Amazon Web Services account IDs, or all to make the manual DB snapshot restorable by any
 Amazon Web Services account. Do not add the all value for any manual DB snapshots that contain
 private information that you don't want available to all Amazon Web Services accounts.
 
valuesToAdd - A list of DB snapshot attributes to add to the attribute specified by AttributeName.
        
        To authorize other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to
        include one or more Amazon Web Services account IDs, or all to make the manual DB snapshot
        restorable by any Amazon Web Services account. Do not add the all value for any manual DB
        snapshots that contain private information that you don't want available to all Amazon Web Services
        accounts.
public ModifyDBSnapshotAttributeRequest withValuesToAdd(String... valuesToAdd)
 A list of DB snapshot attributes to add to the attribute specified by AttributeName.
 
 To authorize other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to include
 one or more Amazon Web Services account IDs, or all to make the manual DB snapshot restorable by any
 Amazon Web Services account. Do not add the all value for any manual DB snapshots that contain
 private information that you don't want available to all Amazon Web Services accounts.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setValuesToAdd(java.util.Collection) or withValuesToAdd(java.util.Collection) if you want to
 override the existing values.
 
valuesToAdd - A list of DB snapshot attributes to add to the attribute specified by AttributeName.
        
        To authorize other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to
        include one or more Amazon Web Services account IDs, or all to make the manual DB snapshot
        restorable by any Amazon Web Services account. Do not add the all value for any manual DB
        snapshots that contain private information that you don't want available to all Amazon Web Services
        accounts.
public ModifyDBSnapshotAttributeRequest withValuesToAdd(Collection<String> valuesToAdd)
 A list of DB snapshot attributes to add to the attribute specified by AttributeName.
 
 To authorize other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to include
 one or more Amazon Web Services account IDs, or all to make the manual DB snapshot restorable by any
 Amazon Web Services account. Do not add the all value for any manual DB snapshots that contain
 private information that you don't want available to all Amazon Web Services accounts.
 
valuesToAdd - A list of DB snapshot attributes to add to the attribute specified by AttributeName.
        
        To authorize other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to
        include one or more Amazon Web Services account IDs, or all to make the manual DB snapshot
        restorable by any Amazon Web Services account. Do not add the all value for any manual DB
        snapshots that contain private information that you don't want available to all Amazon Web Services
        accounts.
public List<String> getValuesToRemove()
 A list of DB snapshot attributes to remove from the attribute specified by AttributeName.
 
 To remove authorization for other Amazon Web Services accounts to copy or restore a manual snapshot, set this
 list to include one or more Amazon Web Services account identifiers, or all to remove authorization
 for any Amazon Web Services account to copy or restore the DB snapshot. If you specify all, an
 Amazon Web Services account whose account ID is explicitly added to the restore attribute can still
 copy or restore the manual DB snapshot.
 
AttributeName
         .
         
         To remove authorization for other Amazon Web Services accounts to copy or restore a manual snapshot, set
         this list to include one or more Amazon Web Services account identifiers, or all to remove
         authorization for any Amazon Web Services account to copy or restore the DB snapshot. If you specify
         all, an Amazon Web Services account whose account ID is explicitly added to the
         restore attribute can still copy or restore the manual DB snapshot.
public void setValuesToRemove(Collection<String> valuesToRemove)
 A list of DB snapshot attributes to remove from the attribute specified by AttributeName.
 
 To remove authorization for other Amazon Web Services accounts to copy or restore a manual snapshot, set this
 list to include one or more Amazon Web Services account identifiers, or all to remove authorization
 for any Amazon Web Services account to copy or restore the DB snapshot. If you specify all, an
 Amazon Web Services account whose account ID is explicitly added to the restore attribute can still
 copy or restore the manual DB snapshot.
 
valuesToRemove - A list of DB snapshot attributes to remove from the attribute specified by AttributeName.
        
        To remove authorization for other Amazon Web Services accounts to copy or restore a manual snapshot, set
        this list to include one or more Amazon Web Services account identifiers, or all to remove
        authorization for any Amazon Web Services account to copy or restore the DB snapshot. If you specify
        all, an Amazon Web Services account whose account ID is explicitly added to the
        restore attribute can still copy or restore the manual DB snapshot.
public ModifyDBSnapshotAttributeRequest withValuesToRemove(String... valuesToRemove)
 A list of DB snapshot attributes to remove from the attribute specified by AttributeName.
 
 To remove authorization for other Amazon Web Services accounts to copy or restore a manual snapshot, set this
 list to include one or more Amazon Web Services account identifiers, or all to remove authorization
 for any Amazon Web Services account to copy or restore the DB snapshot. If you specify all, an
 Amazon Web Services account whose account ID is explicitly added to the restore attribute can still
 copy or restore the manual DB snapshot.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setValuesToRemove(java.util.Collection) or withValuesToRemove(java.util.Collection) if you want
 to override the existing values.
 
valuesToRemove - A list of DB snapshot attributes to remove from the attribute specified by AttributeName.
        
        To remove authorization for other Amazon Web Services accounts to copy or restore a manual snapshot, set
        this list to include one or more Amazon Web Services account identifiers, or all to remove
        authorization for any Amazon Web Services account to copy or restore the DB snapshot. If you specify
        all, an Amazon Web Services account whose account ID is explicitly added to the
        restore attribute can still copy or restore the manual DB snapshot.
public ModifyDBSnapshotAttributeRequest withValuesToRemove(Collection<String> valuesToRemove)
 A list of DB snapshot attributes to remove from the attribute specified by AttributeName.
 
 To remove authorization for other Amazon Web Services accounts to copy or restore a manual snapshot, set this
 list to include one or more Amazon Web Services account identifiers, or all to remove authorization
 for any Amazon Web Services account to copy or restore the DB snapshot. If you specify all, an
 Amazon Web Services account whose account ID is explicitly added to the restore attribute can still
 copy or restore the manual DB snapshot.
 
valuesToRemove - A list of DB snapshot attributes to remove from the attribute specified by AttributeName.
        
        To remove authorization for other Amazon Web Services accounts to copy or restore a manual snapshot, set
        this list to include one or more Amazon Web Services account identifiers, or all to remove
        authorization for any Amazon Web Services account to copy or restore the DB snapshot. If you specify
        all, an Amazon Web Services account whose account ID is explicitly added to the
        restore attribute can still copy or restore the manual DB snapshot.
public String toString()
toString in class ObjectObject.toString()public ModifyDBSnapshotAttributeRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()