Cloneable
, ReadLimitInfo
, ToCopyableBuilder<ModifyDBSnapshotAttributeRequest.Builder,ModifyDBSnapshotAttributeRequest>
@Generated("software.amazon.awssdk:codegen") public class ModifyDBSnapshotAttributeRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<ModifyDBSnapshotAttributeRequest.Builder,ModifyDBSnapshotAttributeRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
ModifyDBSnapshotAttributeRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
String |
attributeName() |
The name of the DB snapshot attribute to modify.
|
static ModifyDBSnapshotAttributeRequest.Builder |
builder() |
|
String |
dbSnapshotIdentifier() |
The identifier for the DB snapshot to modify the attributes for.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
static Class<? extends ModifyDBSnapshotAttributeRequest.Builder> |
serializableBuilderClass() |
|
ModifyDBSnapshotAttributeRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
List<String> |
valuesToAdd() |
A list of DB snapshot attributes to add to the attribute specified by
AttributeName . |
List<String> |
valuesToRemove() |
A list of DB snapshot attributes to remove from the attribute specified by
AttributeName . |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String dbSnapshotIdentifier()
The identifier for the DB snapshot to modify the attributes for.
public String attributeName()
The name of the DB snapshot attribute to modify.
To manage authorization for other AWS accounts to copy or restore a manual DB snapshot, set this value to
restore
.
To manage authorization for other AWS accounts to copy or restore a manual DB snapshot, set this value to
restore
.
public List<String> valuesToAdd()
A list of DB snapshot attributes to add to the attribute specified by AttributeName
.
To authorize other AWS accounts to copy or restore a manual snapshot, set this list to include one or more AWS
account IDs, or all
to make the manual DB snapshot restorable by any AWS account. Do not add the
all
value for any manual DB snapshots that contain private information that you don't want available
to all AWS accounts.
AttributeName
.
To authorize other AWS accounts to copy or restore a manual snapshot, set this list to include one or
more AWS account IDs, or all
to make the manual DB snapshot restorable by any AWS account.
Do not add the all
value for any manual DB snapshots that contain private information that
you don't want available to all AWS accounts.
public List<String> valuesToRemove()
A list of DB snapshot attributes to remove from the attribute specified by AttributeName
.
To remove authorization for other AWS accounts to copy or restore a manual snapshot, set this list to include one
or more AWS account identifiers, or all
to remove authorization for any AWS account to copy or
restore the DB snapshot. If you specify all
, an AWS 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 AWS accounts to copy or restore a manual snapshot, set this list to
include one or more AWS account identifiers, or all
to remove authorization for any AWS
account to copy or restore the DB snapshot. If you specify all
, an AWS account whose account
ID is explicitly added to the restore
attribute can still copy or restore the manual DB
snapshot.
public ModifyDBSnapshotAttributeRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ModifyDBSnapshotAttributeRequest.Builder,ModifyDBSnapshotAttributeRequest>
public static ModifyDBSnapshotAttributeRequest.Builder builder()
public static Class<? extends ModifyDBSnapshotAttributeRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.