Interface DBClusterSnapshot.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DBClusterSnapshot.Builder,
,DBClusterSnapshot> SdkBuilder<DBClusterSnapshot.Builder,
,DBClusterSnapshot> SdkPojo
- Enclosing class:
DBClusterSnapshot
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZones
(String... availabilityZones) Provides the list of Amazon EC2 Availability Zones that instances in the cluster snapshot can be restored in.availabilityZones
(Collection<String> availabilityZones) Provides the list of Amazon EC2 Availability Zones that instances in the cluster snapshot can be restored in.clusterCreateTime
(Instant clusterCreateTime) Specifies the time when the cluster was created, in Universal Coordinated Time (UTC).dbClusterIdentifier
(String dbClusterIdentifier) Specifies the cluster identifier of the cluster that this cluster snapshot was created from.dbClusterSnapshotArn
(String dbClusterSnapshotArn) The Amazon Resource Name (ARN) for the cluster snapshot.dbClusterSnapshotIdentifier
(String dbClusterSnapshotIdentifier) Specifies the identifier for the cluster snapshot.Specifies the name of the database engine.engineVersion
(String engineVersion) Provides the version of the database engine for this cluster snapshot.IfStorageEncrypted
istrue
, the KMS key identifier for the encrypted cluster snapshot.masterUsername
(String masterUsername) Provides the master user name for the cluster snapshot.percentProgress
(Integer percentProgress) Specifies the percentage of the estimated data that has been transferred.Specifies the port that the cluster was listening on at the time of the snapshot.snapshotCreateTime
(Instant snapshotCreateTime) Provides the time when the snapshot was taken, in UTC.snapshotType
(String snapshotType) Provides the type of the cluster snapshot.sourceDBClusterSnapshotArn
(String sourceDBClusterSnapshotArn) If the cluster snapshot was copied from a source cluster snapshot, the ARN for the source cluster snapshot; otherwise, a null value.Specifies the status of this cluster snapshot.storageEncrypted
(Boolean storageEncrypted) Specifies whether the cluster snapshot is encrypted.storageType
(String storageType) Storage type associated with your cluster snapshotProvides the virtual private cloud (VPC) ID that is associated with the 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 Details
-
availabilityZones
Provides the list of Amazon EC2 Availability Zones that instances in the cluster snapshot can be restored in.
- Parameters:
availabilityZones
- Provides the list of Amazon EC2 Availability Zones that instances in the cluster snapshot can be restored in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
Provides the list of Amazon EC2 Availability Zones that instances in the cluster snapshot can be restored in.
- Parameters:
availabilityZones
- Provides the list of Amazon EC2 Availability Zones that instances in the cluster snapshot can be restored in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterSnapshotIdentifier
Specifies the identifier for the cluster snapshot.
- Parameters:
dbClusterSnapshotIdentifier
- Specifies the identifier for the cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterIdentifier
Specifies the cluster identifier of the cluster that this cluster snapshot was created from.
- Parameters:
dbClusterIdentifier
- Specifies the cluster identifier of the cluster that this cluster snapshot was created from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotCreateTime
Provides the time when the snapshot was taken, in UTC.
- Parameters:
snapshotCreateTime
- Provides the time when the snapshot was taken, in UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engine
Specifies the name of the database engine.
- Parameters:
engine
- Specifies the name of the database engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Specifies the status of this cluster snapshot.
- Parameters:
status
- Specifies the status of this cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
Specifies the port that the cluster was listening on at the time of the snapshot.
- Parameters:
port
- Specifies the port that the cluster was listening on at the time of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
Provides the virtual private cloud (VPC) ID that is associated with the cluster snapshot.
- Parameters:
vpcId
- Provides the virtual private cloud (VPC) ID that is associated with the cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterCreateTime
Specifies the time when the cluster was created, in Universal Coordinated Time (UTC).
- Parameters:
clusterCreateTime
- Specifies the time when the cluster was created, in Universal Coordinated Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
masterUsername
Provides the master user name for the cluster snapshot.
- Parameters:
masterUsername
- Provides the master user name for the cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
Provides the version of the database engine for this cluster snapshot.
- Parameters:
engineVersion
- Provides the version of the database engine for this cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotType
Provides the type of the cluster snapshot.
- Parameters:
snapshotType
- Provides the type of the cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
Specifies whether the cluster snapshot is encrypted.
- Parameters:
storageEncrypted
- Specifies whether the cluster snapshot is encrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
If
StorageEncrypted
istrue
, the KMS key identifier for the encrypted cluster snapshot.- Parameters:
kmsKeyId
- IfStorageEncrypted
istrue
, the KMS key identifier for the encrypted cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterSnapshotArn
The Amazon Resource Name (ARN) for the cluster snapshot.
- Parameters:
dbClusterSnapshotArn
- The Amazon Resource Name (ARN) for the cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDBClusterSnapshotArn
If the cluster snapshot was copied from a source cluster snapshot, the ARN for the source cluster snapshot; otherwise, a null value.
- Parameters:
sourceDBClusterSnapshotArn
- If the cluster snapshot was copied from a source cluster snapshot, the ARN for the source cluster snapshot; otherwise, a null value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageType
Storage type associated with your cluster snapshot
For information on storage types for Amazon DocumentDB clusters, see Cluster storage configurations in the Amazon DocumentDB Developer Guide.
Valid values for storage type -
standard | iopt1
Default value is
standard
- Parameters:
storageType
- Storage type associated with your cluster snapshotFor information on storage types for Amazon DocumentDB clusters, see Cluster storage configurations in the Amazon DocumentDB Developer Guide.
Valid values for storage type -
standard | iopt1
Default value is
standard
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-