Interface DBSnapshotAttribute.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DBSnapshotAttribute.Builder,DBSnapshotAttribute>
,SdkBuilder<DBSnapshotAttribute.Builder,DBSnapshotAttribute>
,SdkPojo
- Enclosing class:
- DBSnapshotAttribute
public static interface DBSnapshotAttribute.Builder extends SdkPojo, CopyableBuilder<DBSnapshotAttribute.Builder,DBSnapshotAttribute>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DBSnapshotAttribute.Builder
attributeName(String attributeName)
The name of the manual DB snapshot attribute.DBSnapshotAttribute.Builder
attributeValues(String... attributeValues)
The value or values for the manual DB snapshot attribute.DBSnapshotAttribute.Builder
attributeValues(Collection<String> attributeValues)
The value or values for the manual DB snapshot attribute.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
attributeName
DBSnapshotAttribute.Builder attributeName(String attributeName)
The name of the manual DB snapshot attribute.
The attribute named
restore
refers to the list of Amazon Web Services accounts that have permission to copy or restore the manual DB cluster snapshot. For more information, see theModifyDBSnapshotAttribute
API action.- Parameters:
attributeName
- The name of the manual DB snapshot attribute.The attribute named
restore
refers to the list of Amazon Web Services accounts that have permission to copy or restore the manual DB cluster snapshot. For more information, see theModifyDBSnapshotAttribute
API action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeValues
DBSnapshotAttribute.Builder attributeValues(Collection<String> attributeValues)
The value or values for the manual DB snapshot attribute.
If the
AttributeName
field is set torestore
, then this element returns a list of IDs of the Amazon Web Services accounts that are authorized to copy or restore the manual DB snapshot. If a value ofall
is in the list, then the manual DB snapshot is public and available for any Amazon Web Services account to copy or restore.- Parameters:
attributeValues
- The value or values for the manual DB snapshot attribute.If the
AttributeName
field is set torestore
, then this element returns a list of IDs of the Amazon Web Services accounts that are authorized to copy or restore the manual DB snapshot. If a value ofall
is in the list, then the manual DB snapshot is public and available for any Amazon Web Services account to copy or restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeValues
DBSnapshotAttribute.Builder attributeValues(String... attributeValues)
The value or values for the manual DB snapshot attribute.
If the
AttributeName
field is set torestore
, then this element returns a list of IDs of the Amazon Web Services accounts that are authorized to copy or restore the manual DB snapshot. If a value ofall
is in the list, then the manual DB snapshot is public and available for any Amazon Web Services account to copy or restore.- Parameters:
attributeValues
- The value or values for the manual DB snapshot attribute.If the
AttributeName
field is set torestore
, then this element returns a list of IDs of the Amazon Web Services accounts that are authorized to copy or restore the manual DB snapshot. If a value ofall
is in the list, then the manual DB snapshot is public and available for any Amazon Web Services account to copy or restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-