Interface AwsRdsDbClusterSnapshotDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsRdsDbClusterSnapshotDetails.Builder,AwsRdsDbClusterSnapshotDetails>,SdkBuilder<AwsRdsDbClusterSnapshotDetails.Builder,AwsRdsDbClusterSnapshotDetails>,SdkPojo
- Enclosing class:
- AwsRdsDbClusterSnapshotDetails
public static interface AwsRdsDbClusterSnapshotDetails.Builder extends SdkPojo, CopyableBuilder<AwsRdsDbClusterSnapshotDetails.Builder,AwsRdsDbClusterSnapshotDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsRdsDbClusterSnapshotDetails.BuilderallocatedStorage(Integer allocatedStorage)Specifies the allocated storage size in gibibytes (GiB).AwsRdsDbClusterSnapshotDetails.BuilderavailabilityZones(String... availabilityZones)A list of Availability Zones where instances in the DB cluster can be created.AwsRdsDbClusterSnapshotDetails.BuilderavailabilityZones(Collection<String> availabilityZones)A list of Availability Zones where instances in the DB cluster can be created.AwsRdsDbClusterSnapshotDetails.BuilderclusterCreateTime(String clusterCreateTime)Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).AwsRdsDbClusterSnapshotDetails.BuilderdbClusterIdentifier(String dbClusterIdentifier)The DB cluster identifier.AwsRdsDbClusterSnapshotDetails.BuilderdbClusterSnapshotAttributes(Collection<AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute> dbClusterSnapshotAttributes)Contains the name and values of a manual DB cluster snapshot attribute.AwsRdsDbClusterSnapshotDetails.BuilderdbClusterSnapshotAttributes(Consumer<AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute.Builder>... dbClusterSnapshotAttributes)Contains the name and values of a manual DB cluster snapshot attribute.AwsRdsDbClusterSnapshotDetails.BuilderdbClusterSnapshotAttributes(AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute... dbClusterSnapshotAttributes)Contains the name and values of a manual DB cluster snapshot attribute.AwsRdsDbClusterSnapshotDetails.BuilderdbClusterSnapshotIdentifier(String dbClusterSnapshotIdentifier)The identifier of the DB cluster snapshot.AwsRdsDbClusterSnapshotDetails.Builderengine(String engine)The name of the database engine that you want to use for this DB instance.AwsRdsDbClusterSnapshotDetails.BuilderengineVersion(String engineVersion)The version of the database engine to use.AwsRdsDbClusterSnapshotDetails.BuilderiamDatabaseAuthenticationEnabled(Boolean iamDatabaseAuthenticationEnabled)Whether mapping of IAM accounts to database accounts is enabled.AwsRdsDbClusterSnapshotDetails.BuilderkmsKeyId(String kmsKeyId)The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.AwsRdsDbClusterSnapshotDetails.BuilderlicenseModel(String licenseModel)The license model information for this DB cluster snapshot.AwsRdsDbClusterSnapshotDetails.BuildermasterUsername(String masterUsername)The name of the master user for the DB cluster.AwsRdsDbClusterSnapshotDetails.BuilderpercentProgress(Integer percentProgress)Specifies the percentage of the estimated data that has been transferred.AwsRdsDbClusterSnapshotDetails.Builderport(Integer port)The port number on which the DB instances in the DB cluster accept connections.AwsRdsDbClusterSnapshotDetails.BuildersnapshotCreateTime(String snapshotCreateTime)Indicates when the snapshot was taken.AwsRdsDbClusterSnapshotDetails.BuildersnapshotType(String snapshotType)The type of DB cluster snapshot.AwsRdsDbClusterSnapshotDetails.Builderstatus(String status)The status of this DB cluster snapshot.AwsRdsDbClusterSnapshotDetails.BuilderstorageEncrypted(Boolean storageEncrypted)Whether the DB cluster is encrypted.AwsRdsDbClusterSnapshotDetails.BuildervpcId(String vpcId)The VPC ID that is associated with the DB cluster snapshot.-
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
-
availabilityZones
AwsRdsDbClusterSnapshotDetails.Builder availabilityZones(Collection<String> availabilityZones)
A list of Availability Zones where instances in the DB cluster can be created.
- Parameters:
availabilityZones- A list of Availability Zones where instances in the DB cluster can be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
AwsRdsDbClusterSnapshotDetails.Builder availabilityZones(String... availabilityZones)
A list of Availability Zones where instances in the DB cluster can be created.
- Parameters:
availabilityZones- A list of Availability Zones where instances in the DB cluster can be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotCreateTime
AwsRdsDbClusterSnapshotDetails.Builder snapshotCreateTime(String snapshotCreateTime)
Indicates when the snapshot was taken.
This field accepts only the specified formats. Timestamps can end with
Zor("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
- Parameters:
snapshotCreateTime- Indicates when the snapshot was taken.This field accepts only the specified formats. Timestamps can end with
Zor("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
engine
AwsRdsDbClusterSnapshotDetails.Builder engine(String engine)
The name of the database engine that you want to use for this DB instance.
- Parameters:
engine- The name of the database engine that you want to use for this DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allocatedStorage
AwsRdsDbClusterSnapshotDetails.Builder allocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gibibytes (GiB).
- Parameters:
allocatedStorage- Specifies the allocated storage size in gibibytes (GiB).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
AwsRdsDbClusterSnapshotDetails.Builder status(String status)
The status of this DB cluster snapshot.
- Parameters:
status- The status of this DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
AwsRdsDbClusterSnapshotDetails.Builder port(Integer port)
The port number on which the DB instances in the DB cluster accept connections.
- Parameters:
port- The port number on which the DB instances in the DB cluster accept connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
AwsRdsDbClusterSnapshotDetails.Builder vpcId(String vpcId)
The VPC ID that is associated with the DB cluster snapshot.
- Parameters:
vpcId- The VPC ID that is associated with the DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterCreateTime
AwsRdsDbClusterSnapshotDetails.Builder clusterCreateTime(String clusterCreateTime)
Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).
This field accepts only the specified formats. Timestamps can end with
Zor("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
- Parameters:
clusterCreateTime- Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).This field accepts only the specified formats. Timestamps can end with
Zor("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
masterUsername
AwsRdsDbClusterSnapshotDetails.Builder masterUsername(String masterUsername)
The name of the master user for the DB cluster.
- Parameters:
masterUsername- The name of the master user for the DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
AwsRdsDbClusterSnapshotDetails.Builder engineVersion(String engineVersion)
The version of the database engine to use.
- Parameters:
engineVersion- The version of the database engine to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseModel
AwsRdsDbClusterSnapshotDetails.Builder licenseModel(String licenseModel)
The license model information for this DB cluster snapshot.
- Parameters:
licenseModel- The license model information for this DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotType
AwsRdsDbClusterSnapshotDetails.Builder snapshotType(String snapshotType)
The type of DB cluster snapshot.
- Parameters:
snapshotType- The type of DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
percentProgress
AwsRdsDbClusterSnapshotDetails.Builder percentProgress(Integer percentProgress)
Specifies the percentage of the estimated data that has been transferred.
- Parameters:
percentProgress- Specifies the percentage of the estimated data that has been transferred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageEncrypted
AwsRdsDbClusterSnapshotDetails.Builder storageEncrypted(Boolean storageEncrypted)
Whether the DB cluster is encrypted.
- Parameters:
storageEncrypted- Whether the DB cluster is encrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
AwsRdsDbClusterSnapshotDetails.Builder kmsKeyId(String kmsKeyId)
The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.
- Parameters:
kmsKeyId- The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterIdentifier
AwsRdsDbClusterSnapshotDetails.Builder dbClusterIdentifier(String dbClusterIdentifier)
The DB cluster identifier.
- Parameters:
dbClusterIdentifier- The DB cluster identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterSnapshotIdentifier
AwsRdsDbClusterSnapshotDetails.Builder dbClusterSnapshotIdentifier(String dbClusterSnapshotIdentifier)
The identifier of the DB cluster snapshot.
- Parameters:
dbClusterSnapshotIdentifier- The identifier of the DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamDatabaseAuthenticationEnabled
AwsRdsDbClusterSnapshotDetails.Builder iamDatabaseAuthenticationEnabled(Boolean iamDatabaseAuthenticationEnabled)
Whether mapping of IAM accounts to database accounts is enabled.
- Parameters:
iamDatabaseAuthenticationEnabled- Whether mapping of IAM accounts to database accounts is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterSnapshotAttributes
AwsRdsDbClusterSnapshotDetails.Builder dbClusterSnapshotAttributes(Collection<AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute> dbClusterSnapshotAttributes)
Contains the name and values of a manual DB cluster snapshot attribute.
- Parameters:
dbClusterSnapshotAttributes- Contains the name and values of a manual DB cluster snapshot attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterSnapshotAttributes
AwsRdsDbClusterSnapshotDetails.Builder dbClusterSnapshotAttributes(AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute... dbClusterSnapshotAttributes)
Contains the name and values of a manual DB cluster snapshot attribute.
- Parameters:
dbClusterSnapshotAttributes- Contains the name and values of a manual DB cluster snapshot attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterSnapshotAttributes
AwsRdsDbClusterSnapshotDetails.Builder dbClusterSnapshotAttributes(Consumer<AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute.Builder>... dbClusterSnapshotAttributes)
Contains the name and values of a manual DB cluster snapshot attribute.
This is a convenience method that creates an instance of theAwsRdsDbClusterSnapshotDbClusterSnapshotAttribute.Builderavoiding the need to create one manually viaAwsRdsDbClusterSnapshotDbClusterSnapshotAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dbClusterSnapshotAttributes(List.) - Parameters:
dbClusterSnapshotAttributes- a consumer that will call methods onAwsRdsDbClusterSnapshotDbClusterSnapshotAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dbClusterSnapshotAttributes(java.util.Collection)
-
-