Interface DBClusterSnapshotAttributesResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DBClusterSnapshotAttributesResult.Builder,
,DBClusterSnapshotAttributesResult> SdkBuilder<DBClusterSnapshotAttributesResult.Builder,
,DBClusterSnapshotAttributesResult> SdkPojo
- Enclosing class:
DBClusterSnapshotAttributesResult
public static interface DBClusterSnapshotAttributesResult.Builder
extends SdkPojo, CopyableBuilder<DBClusterSnapshotAttributesResult.Builder,DBClusterSnapshotAttributesResult>
-
Method Summary
Modifier and TypeMethodDescriptiondbClusterSnapshotAttributes
(Collection<DBClusterSnapshotAttribute> dbClusterSnapshotAttributes) The list of attributes and values for the manual DB cluster snapshot.dbClusterSnapshotAttributes
(Consumer<DBClusterSnapshotAttribute.Builder>... dbClusterSnapshotAttributes) The list of attributes and values for the manual DB cluster snapshot.dbClusterSnapshotAttributes
(DBClusterSnapshotAttribute... dbClusterSnapshotAttributes) The list of attributes and values for the manual DB cluster snapshot.dbClusterSnapshotIdentifier
(String dbClusterSnapshotIdentifier) The identifier of the manual DB cluster snapshot that the attributes apply to.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 Details
-
dbClusterSnapshotIdentifier
DBClusterSnapshotAttributesResult.Builder dbClusterSnapshotIdentifier(String dbClusterSnapshotIdentifier) The identifier of the manual DB cluster snapshot that the attributes apply to.
- Parameters:
dbClusterSnapshotIdentifier
- The identifier of the manual DB cluster snapshot that the attributes apply to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterSnapshotAttributes
DBClusterSnapshotAttributesResult.Builder dbClusterSnapshotAttributes(Collection<DBClusterSnapshotAttribute> dbClusterSnapshotAttributes) The list of attributes and values for the manual DB cluster snapshot.
- Parameters:
dbClusterSnapshotAttributes
- The list of attributes and values for the manual DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterSnapshotAttributes
DBClusterSnapshotAttributesResult.Builder dbClusterSnapshotAttributes(DBClusterSnapshotAttribute... dbClusterSnapshotAttributes) The list of attributes and values for the manual DB cluster snapshot.
- Parameters:
dbClusterSnapshotAttributes
- The list of attributes and values for the manual DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterSnapshotAttributes
DBClusterSnapshotAttributesResult.Builder dbClusterSnapshotAttributes(Consumer<DBClusterSnapshotAttribute.Builder>... dbClusterSnapshotAttributes) The list of attributes and values for the manual DB cluster snapshot.
This is a convenience method that creates an instance of theDBClusterSnapshotAttribute.Builder
avoiding the need to create one manually viaDBClusterSnapshotAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbClusterSnapshotAttributes(List<DBClusterSnapshotAttribute>)
.- Parameters:
dbClusterSnapshotAttributes
- a consumer that will call methods onDBClusterSnapshotAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-