Interface DBClusterGroupSnapshot.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DBClusterGroupSnapshot.Builder,,DBClusterGroupSnapshot> SdkBuilder<DBClusterGroupSnapshot.Builder,,DBClusterGroupSnapshot> SdkPojo
- Enclosing class:
DBClusterGroupSnapshot
-
Method Summary
Modifier and TypeMethodDescriptionadminUsername(String adminUsername) The name of the admin user of the DB cluster group when the snapshot was taken.backupRetentionPeriod(Integer backupRetentionPeriod) The backup retention period of the DB cluster group when the snapshot was taken.dbClusterGroupIdentifier(String dbClusterGroupIdentifier) The identifier of the DB cluster group that the snapshot was created from.dbClusterGroupMemberSnapshots(Collection<DBClusterGroupMemberSnapshot> dbClusterGroupMemberSnapshots) The snapshots of the member DB clusters.dbClusterGroupMemberSnapshots(Consumer<DBClusterGroupMemberSnapshot.Builder>... dbClusterGroupMemberSnapshots) The snapshots of the member DB clusters.dbClusterGroupMemberSnapshots(DBClusterGroupMemberSnapshot... dbClusterGroupMemberSnapshots) The snapshots of the member DB clusters.dbClusterGroupResourceId(String dbClusterGroupResourceId) The resource ID of the DB cluster group that the snapshot was created from.dbClusterGroupSnapshotArn(String dbClusterGroupSnapshotArn) The Amazon Resource Name (ARN) for the DB cluster group snapshot.dbClusterGroupSnapshotIdentifier(String dbClusterGroupSnapshotIdentifier) The identifier of the DB cluster group snapshot.The database engine of the DB cluster group that the snapshot was created from.engine(DBClusterGroupEngine engine) The database engine of the DB cluster group that the snapshot was created from.preferredBackupWindow(String preferredBackupWindow) The preferred backup window of the DB cluster group when the snapshot was taken.snapshotCreateTime(Instant snapshotCreateTime) The time when the snapshot was taken, in Universal Coordinated Time (UTC).snapshotDatabaseTime(Instant snapshotDatabaseTime) The point in time that the data in the snapshot reflects, in Universal Coordinated Time (UTC).snapshotType(String snapshotType) The type of the DB cluster group snapshot.snapshotType(DBClusterGroupSnapshotType snapshotType) The type of the DB cluster group snapshot.The status of the DB cluster group snapshot.status(DBClusterGroupSnapshotStatus status) The status of the DB cluster group snapshot.tagList(Collection<Tag> tagList) The tags assigned to the DB cluster group snapshot.tagList(Consumer<Tag.Builder>... tagList) The tags assigned to the DB cluster group snapshot.The tags assigned to the DB cluster group snapshot.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
-
dbClusterGroupSnapshotIdentifier
DBClusterGroupSnapshot.Builder dbClusterGroupSnapshotIdentifier(String dbClusterGroupSnapshotIdentifier) The identifier of the DB cluster group snapshot.
- Parameters:
dbClusterGroupSnapshotIdentifier- The identifier of the DB cluster group snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterGroupIdentifier
The identifier of the DB cluster group that the snapshot was created from.
- Parameters:
dbClusterGroupIdentifier- The identifier of the DB cluster group that the snapshot was created from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterGroupResourceId
The resource ID of the DB cluster group that the snapshot was created from.
- Parameters:
dbClusterGroupResourceId- The resource ID of the DB cluster group that the snapshot was created from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterGroupSnapshotArn
The Amazon Resource Name (ARN) for the DB cluster group snapshot.
- Parameters:
dbClusterGroupSnapshotArn- The Amazon Resource Name (ARN) for the DB cluster group snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotType
The type of the DB cluster group snapshot.
Valid Values:
-
manual- You created the snapshot. -
automated- Amazon RDS created the snapshot as an automated backup. -
awsbackup- Amazon Web Services Backup created the snapshot.
- Parameters:
snapshotType- The type of the DB cluster group snapshot.Valid Values:
-
manual- You created the snapshot. -
automated- Amazon RDS created the snapshot as an automated backup. -
awsbackup- Amazon Web Services Backup created the snapshot.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
snapshotType
The type of the DB cluster group snapshot.
Valid Values:
-
manual- You created the snapshot. -
automated- Amazon RDS created the snapshot as an automated backup. -
awsbackup- Amazon Web Services Backup created the snapshot.
- Parameters:
snapshotType- The type of the DB cluster group snapshot.Valid Values:
-
manual- You created the snapshot. -
automated- Amazon RDS created the snapshot as an automated backup. -
awsbackup- Amazon Web Services Backup created the snapshot.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
snapshotCreateTime
The time when the snapshot was taken, in Universal Coordinated Time (UTC).
- Parameters:
snapshotCreateTime- The time when the snapshot was taken, in Universal Coordinated Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engine
The database engine of the DB cluster group that the snapshot was created from.
- Parameters:
engine- The database engine of the DB cluster group that the snapshot was created from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
engine
The database engine of the DB cluster group that the snapshot was created from.
- Parameters:
engine- The database engine of the DB cluster group that the snapshot was created from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the DB cluster group snapshot.
Valid Values:
-
creating- Amazon RDS is creating the snapshot. -
available- The snapshot is ready to use. -
deleting- Amazon RDS is deleting the snapshot. -
failed- Amazon RDS couldn't create the snapshot.
- Parameters:
status- The status of the DB cluster group snapshot.Valid Values:
-
creating- Amazon RDS is creating the snapshot. -
available- The snapshot is ready to use. -
deleting- Amazon RDS is deleting the snapshot. -
failed- Amazon RDS couldn't create the snapshot.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of the DB cluster group snapshot.
Valid Values:
-
creating- Amazon RDS is creating the snapshot. -
available- The snapshot is ready to use. -
deleting- Amazon RDS is deleting the snapshot. -
failed- Amazon RDS couldn't create the snapshot.
- Parameters:
status- The status of the DB cluster group snapshot.Valid Values:
-
creating- Amazon RDS is creating the snapshot. -
available- The snapshot is ready to use. -
deleting- Amazon RDS is deleting the snapshot. -
failed- Amazon RDS couldn't create the snapshot.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
snapshotDatabaseTime
The point in time that the data in the snapshot reflects, in Universal Coordinated Time (UTC).
- Parameters:
snapshotDatabaseTime- The point in time that the data in the snapshot reflects, in Universal Coordinated Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterGroupMemberSnapshots
DBClusterGroupSnapshot.Builder dbClusterGroupMemberSnapshots(Collection<DBClusterGroupMemberSnapshot> dbClusterGroupMemberSnapshots) The snapshots of the member DB clusters.
- Parameters:
dbClusterGroupMemberSnapshots- The snapshots of the member DB clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterGroupMemberSnapshots
DBClusterGroupSnapshot.Builder dbClusterGroupMemberSnapshots(DBClusterGroupMemberSnapshot... dbClusterGroupMemberSnapshots) The snapshots of the member DB clusters.
- Parameters:
dbClusterGroupMemberSnapshots- The snapshots of the member DB clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterGroupMemberSnapshots
DBClusterGroupSnapshot.Builder dbClusterGroupMemberSnapshots(Consumer<DBClusterGroupMemberSnapshot.Builder>... dbClusterGroupMemberSnapshots) The snapshots of the member DB clusters.
This is a convenience method that creates an instance of theDBClusterGroupMemberSnapshot.Builderavoiding the need to create one manually viaDBClusterGroupMemberSnapshot.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todbClusterGroupMemberSnapshots(List<DBClusterGroupMemberSnapshot>).- Parameters:
dbClusterGroupMemberSnapshots- a consumer that will call methods onDBClusterGroupMemberSnapshot.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
backupRetentionPeriod
The backup retention period of the DB cluster group when the snapshot was taken.
- Parameters:
backupRetentionPeriod- The backup retention period of the DB cluster group when the snapshot was taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredBackupWindow
The preferred backup window of the DB cluster group when the snapshot was taken.
- Parameters:
preferredBackupWindow- The preferred backup window of the DB cluster group when the snapshot was taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adminUsername
The name of the admin user of the DB cluster group when the snapshot was taken.
- Parameters:
adminUsername- The name of the admin user of the DB cluster group when the snapshot was taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
The tags assigned to the DB cluster group snapshot.
- Parameters:
tagList- The tags assigned to the DB cluster group snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
The tags assigned to the DB cluster group snapshot.
- Parameters:
tagList- The tags assigned to the DB cluster group snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
The tags assigned to the DB cluster group snapshot.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totagList(List<Tag>).- Parameters:
tagList- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-