Interface DBSnapshotAttributesResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DBSnapshotAttributesResult.Builder,,DBSnapshotAttributesResult> SdkBuilder<DBSnapshotAttributesResult.Builder,,DBSnapshotAttributesResult> SdkPojo
- Enclosing class:
DBSnapshotAttributesResult
@Mutable
@NotThreadSafe
public static interface DBSnapshotAttributesResult.Builder
extends SdkPojo, CopyableBuilder<DBSnapshotAttributesResult.Builder,DBSnapshotAttributesResult>
-
Method Summary
Modifier and TypeMethodDescriptiondbSnapshotAttributes(Collection<DBSnapshotAttribute> dbSnapshotAttributes) The list of attributes and values for the manual DB snapshot.dbSnapshotAttributes(Consumer<DBSnapshotAttribute.Builder>... dbSnapshotAttributes) The list of attributes and values for the manual DB snapshot.dbSnapshotAttributes(DBSnapshotAttribute... dbSnapshotAttributes) The list of attributes and values for the manual DB snapshot.dbSnapshotIdentifier(String dbSnapshotIdentifier) The identifier of the manual DB snapshot that the attributes apply to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
dbSnapshotIdentifier
The identifier of the manual DB snapshot that the attributes apply to.
- Parameters:
dbSnapshotIdentifier- The identifier of the manual DB snapshot that the attributes apply to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSnapshotAttributes
DBSnapshotAttributesResult.Builder dbSnapshotAttributes(Collection<DBSnapshotAttribute> dbSnapshotAttributes) The list of attributes and values for the manual DB snapshot.
- Parameters:
dbSnapshotAttributes- The list of attributes and values for the manual DB snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSnapshotAttributes
DBSnapshotAttributesResult.Builder dbSnapshotAttributes(DBSnapshotAttribute... dbSnapshotAttributes) The list of attributes and values for the manual DB snapshot.
- Parameters:
dbSnapshotAttributes- The list of attributes and values for the manual DB snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSnapshotAttributes
DBSnapshotAttributesResult.Builder dbSnapshotAttributes(Consumer<DBSnapshotAttribute.Builder>... dbSnapshotAttributes) The list of attributes and values for the manual DB snapshot.
This is a convenience method that creates an instance of theDBSnapshotAttribute.Builderavoiding the need to create one manually viaDBSnapshotAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todbSnapshotAttributes(List<DBSnapshotAttribute>).- Parameters:
dbSnapshotAttributes- a consumer that will call methods onDBSnapshotAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-