@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyDBClusterSnapshotAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input to ModifyDBClusterSnapshotAttribute.
NOOP| Constructor and Description | 
|---|
| ModifyDBClusterSnapshotAttributeRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| ModifyDBClusterSnapshotAttributeRequest | 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 cluster snapshot attribute to modify. | 
| String | getDBClusterSnapshotIdentifier()
 The identifier for the cluster snapshot to modify the attributes for. | 
| List<String> | getValuesToAdd()
 A list of cluster snapshot attributes to add to the attribute specified by  AttributeName. | 
| List<String> | getValuesToRemove()
 A list of cluster snapshot attributes to remove from the attribute specified by  AttributeName. | 
| int | hashCode() | 
| void | setAttributeName(String attributeName)
 The name of the cluster snapshot attribute to modify. | 
| void | setDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier)
 The identifier for the cluster snapshot to modify the attributes for. | 
| void | setValuesToAdd(Collection<String> valuesToAdd)
 A list of cluster snapshot attributes to add to the attribute specified by  AttributeName. | 
| void | setValuesToRemove(Collection<String> valuesToRemove)
 A list of cluster snapshot attributes to remove from the attribute specified by  AttributeName. | 
| String | toString()Returns a string representation of this object. | 
| ModifyDBClusterSnapshotAttributeRequest | withAttributeName(String attributeName)
 The name of the cluster snapshot attribute to modify. | 
| ModifyDBClusterSnapshotAttributeRequest | withDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier)
 The identifier for the cluster snapshot to modify the attributes for. | 
| ModifyDBClusterSnapshotAttributeRequest | withValuesToAdd(Collection<String> valuesToAdd)
 A list of cluster snapshot attributes to add to the attribute specified by  AttributeName. | 
| ModifyDBClusterSnapshotAttributeRequest | withValuesToAdd(String... valuesToAdd)
 A list of cluster snapshot attributes to add to the attribute specified by  AttributeName. | 
| ModifyDBClusterSnapshotAttributeRequest | withValuesToRemove(Collection<String> valuesToRemove)
 A list of cluster snapshot attributes to remove from the attribute specified by  AttributeName. | 
| ModifyDBClusterSnapshotAttributeRequest | withValuesToRemove(String... valuesToRemove)
 A list of cluster 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 ModifyDBClusterSnapshotAttributeRequest()
public void setDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier)
The identifier for the cluster snapshot to modify the attributes for.
dBClusterSnapshotIdentifier - The identifier for the cluster snapshot to modify the attributes for.public String getDBClusterSnapshotIdentifier()
The identifier for the cluster snapshot to modify the attributes for.
public ModifyDBClusterSnapshotAttributeRequest withDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier)
The identifier for the cluster snapshot to modify the attributes for.
dBClusterSnapshotIdentifier - The identifier for the cluster snapshot to modify the attributes for.public void setAttributeName(String attributeName)
The name of the cluster snapshot attribute to modify.
 To manage authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this value to
 restore.
 
attributeName - The name of the cluster snapshot attribute to modify.
        
        To manage authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this
        value to restore.
public String getAttributeName()
The name of the cluster snapshot attribute to modify.
 To manage authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this value to
 restore.
 
         To manage authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this
         value to restore.
public ModifyDBClusterSnapshotAttributeRequest withAttributeName(String attributeName)
The name of the cluster snapshot attribute to modify.
 To manage authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this value to
 restore.
 
attributeName - The name of the cluster snapshot attribute to modify.
        
        To manage authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this
        value to restore.
public List<String> getValuesToAdd()
 A list of cluster snapshot attributes to add to the attribute specified by AttributeName.
 
 To authorize other AWS accounts to copy or restore a manual cluster snapshot, set this list to include one or
 more AWS account IDs. To make the manual cluster snapshot restorable by any AWS account, set it to
 all. Do not add the all value for any manual cluster snapshots that contain private
 information that you don't want to be available to all AWS accounts.
 
AttributeName
         .
         
         To authorize other AWS accounts to copy or restore a manual cluster snapshot, set this list to include
         one or more AWS account IDs. To make the manual cluster snapshot restorable by any AWS account, set it to
         all. Do not add the all value for any manual cluster snapshots that contain
         private information that you don't want to be available to all AWS accounts.
public void setValuesToAdd(Collection<String> valuesToAdd)
 A list of cluster snapshot attributes to add to the attribute specified by AttributeName.
 
 To authorize other AWS accounts to copy or restore a manual cluster snapshot, set this list to include one or
 more AWS account IDs. To make the manual cluster snapshot restorable by any AWS account, set it to
 all. Do not add the all value for any manual cluster snapshots that contain private
 information that you don't want to be available to all AWS accounts.
 
valuesToAdd - A list of cluster snapshot attributes to add to the attribute specified by AttributeName.
        
        To authorize other AWS accounts to copy or restore a manual cluster snapshot, set this list to include one
        or more AWS account IDs. To make the manual cluster snapshot restorable by any AWS account, set it to
        all. Do not add the all value for any manual cluster snapshots that contain
        private information that you don't want to be available to all AWS accounts.
public ModifyDBClusterSnapshotAttributeRequest withValuesToAdd(String... valuesToAdd)
 A list of cluster snapshot attributes to add to the attribute specified by AttributeName.
 
 To authorize other AWS accounts to copy or restore a manual cluster snapshot, set this list to include one or
 more AWS account IDs. To make the manual cluster snapshot restorable by any AWS account, set it to
 all. Do not add the all value for any manual cluster snapshots that contain private
 information that you don't want to be available to all AWS 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 cluster snapshot attributes to add to the attribute specified by AttributeName.
        
        To authorize other AWS accounts to copy or restore a manual cluster snapshot, set this list to include one
        or more AWS account IDs. To make the manual cluster snapshot restorable by any AWS account, set it to
        all. Do not add the all value for any manual cluster snapshots that contain
        private information that you don't want to be available to all AWS accounts.
public ModifyDBClusterSnapshotAttributeRequest withValuesToAdd(Collection<String> valuesToAdd)
 A list of cluster snapshot attributes to add to the attribute specified by AttributeName.
 
 To authorize other AWS accounts to copy or restore a manual cluster snapshot, set this list to include one or
 more AWS account IDs. To make the manual cluster snapshot restorable by any AWS account, set it to
 all. Do not add the all value for any manual cluster snapshots that contain private
 information that you don't want to be available to all AWS accounts.
 
valuesToAdd - A list of cluster snapshot attributes to add to the attribute specified by AttributeName.
        
        To authorize other AWS accounts to copy or restore a manual cluster snapshot, set this list to include one
        or more AWS account IDs. To make the manual cluster snapshot restorable by any AWS account, set it to
        all. Do not add the all value for any manual cluster snapshots that contain
        private information that you don't want to be available to all AWS accounts.
public List<String> getValuesToRemove()
 A list of cluster snapshot attributes to remove from the attribute specified by AttributeName.
 
 To remove authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this list to
 include one or more AWS account identifiers. To remove authorization for any AWS account to copy or restore the
 cluster snapshot, set it to all . If you specify all, an AWS account whose account ID
 is explicitly added to the restore attribute can still copy or restore a manual cluster snapshot.
 
AttributeName.
         
         To remove authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this
         list to include one or more AWS account identifiers. To remove authorization for any AWS account to copy
         or restore the cluster snapshot, set it to all . If you specify all, an AWS
         account whose account ID is explicitly added to the restore attribute can still copy or
         restore a manual cluster snapshot.
public void setValuesToRemove(Collection<String> valuesToRemove)
 A list of cluster snapshot attributes to remove from the attribute specified by AttributeName.
 
 To remove authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this list to
 include one or more AWS account identifiers. To remove authorization for any AWS account to copy or restore the
 cluster snapshot, set it to all . If you specify all, an AWS account whose account ID
 is explicitly added to the restore attribute can still copy or restore a manual cluster snapshot.
 
valuesToRemove - A list of cluster snapshot attributes to remove from the attribute specified by AttributeName
        .
        
        To remove authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this list
        to include one or more AWS account identifiers. To remove authorization for any AWS account to copy or
        restore the cluster snapshot, set it to all . If you specify all, an AWS account
        whose account ID is explicitly added to the restore attribute can still copy or restore a
        manual cluster snapshot.
public ModifyDBClusterSnapshotAttributeRequest withValuesToRemove(String... valuesToRemove)
 A list of cluster snapshot attributes to remove from the attribute specified by AttributeName.
 
 To remove authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this list to
 include one or more AWS account identifiers. To remove authorization for any AWS account to copy or restore the
 cluster snapshot, set it to all . If you specify all, an AWS account whose account ID
 is explicitly added to the restore attribute can still copy or restore a manual cluster 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 cluster snapshot attributes to remove from the attribute specified by AttributeName
        .
        
        To remove authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this list
        to include one or more AWS account identifiers. To remove authorization for any AWS account to copy or
        restore the cluster snapshot, set it to all . If you specify all, an AWS account
        whose account ID is explicitly added to the restore attribute can still copy or restore a
        manual cluster snapshot.
public ModifyDBClusterSnapshotAttributeRequest withValuesToRemove(Collection<String> valuesToRemove)
 A list of cluster snapshot attributes to remove from the attribute specified by AttributeName.
 
 To remove authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this list to
 include one or more AWS account identifiers. To remove authorization for any AWS account to copy or restore the
 cluster snapshot, set it to all . If you specify all, an AWS account whose account ID
 is explicitly added to the restore attribute can still copy or restore a manual cluster snapshot.
 
valuesToRemove - A list of cluster snapshot attributes to remove from the attribute specified by AttributeName
        .
        
        To remove authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this list
        to include one or more AWS account identifiers. To remove authorization for any AWS account to copy or
        restore the cluster snapshot, set it to all . If you specify all, an AWS account
        whose account ID is explicitly added to the restore attribute can still copy or restore a
        manual cluster snapshot.
public String toString()
toString in class ObjectObject.toString()public ModifyDBClusterSnapshotAttributeRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()