Interface AwsRdsDbSnapshotDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsRdsDbSnapshotDetails.Builder,
,AwsRdsDbSnapshotDetails> SdkBuilder<AwsRdsDbSnapshotDetails.Builder,
,AwsRdsDbSnapshotDetails> SdkPojo
- Enclosing class:
AwsRdsDbSnapshotDetails
-
Method Summary
Modifier and TypeMethodDescriptionallocatedStorage
(Integer allocatedStorage) The amount of storage (in gigabytes) to be initially allocated for the database instance.availabilityZone
(String availabilityZone) Specifies the name of the Availability Zone in which the DB instance was located at the time of the DB snapshot.dbInstanceIdentifier
(String dbInstanceIdentifier) A name for the DB instance.dbiResourceId
(String dbiResourceId) The identifier for the source DB instance.dbSnapshotIdentifier
(String dbSnapshotIdentifier) The name or ARN of the DB snapshot that is used to restore the DB instance.Whether the DB snapshot is encrypted.The name of the database engine to use for this DB instance.engineVersion
(String engineVersion) The version of the database engine.iamDatabaseAuthenticationEnabled
(Boolean iamDatabaseAuthenticationEnabled) Whether mapping of IAM accounts to database accounts is enabled.instanceCreateTime
(String instanceCreateTime) Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.The provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.IfEncrypted
istrue
, the KMS key identifier for the encrypted DB snapshot.licenseModel
(String licenseModel) License model information for the restored DB instance.masterUsername
(String masterUsername) The master user name for the DB snapshot.optionGroupName
(String optionGroupName) The option group name for the DB snapshot.percentProgress
(Integer percentProgress) The percentage of the estimated data that has been transferred.The port that the database engine was listening on at the time of the snapshot.processorFeatures
(Collection<AwsRdsDbProcessorFeature> processorFeatures) The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.processorFeatures
(Consumer<AwsRdsDbProcessorFeature.Builder>... processorFeatures) The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.processorFeatures
(AwsRdsDbProcessorFeature... processorFeatures) The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.snapshotCreateTime
(String snapshotCreateTime) When the snapshot was taken in Coordinated Universal Time (UTC).snapshotType
(String snapshotType) The type of the DB snapshot.sourceDbSnapshotIdentifier
(String sourceDbSnapshotIdentifier) The DB snapshot ARN that the DB snapshot was copied from.sourceRegion
(String sourceRegion) The Amazon Web Services Region that the DB snapshot was created in or copied from.The status of this DB snapshot.storageType
(String storageType) The storage type associated with the DB snapshot.tdeCredentialArn
(String tdeCredentialArn) The ARN from the key store with which to associate the instance for TDE encryption.The time zone of the DB snapshot.The VPC ID associated with the DB 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
-
dbSnapshotIdentifier
The name or ARN of the DB snapshot that is used to restore the DB instance.
- Parameters:
dbSnapshotIdentifier
- The name or ARN of the DB snapshot that is used to restore the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstanceIdentifier
A name for the DB instance.
- Parameters:
dbInstanceIdentifier
- A name for the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotCreateTime
When the snapshot was taken in Coordinated Universal Time (UTC).
- Parameters:
snapshotCreateTime
- When the snapshot was taken in Coordinated Universal Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engine
The name of the database engine to use for this DB instance. Valid values are as follows:
-
aurora
-
aurora-mysql
-
aurora-postgresql
-
c
-
mariadb
-
mysql
-
oracle-ee
-
oracle-se
-
oracle-se1
-
oracle-se2
-
sqlserver-ee
-
sqlserver-ex
-
sqlserver-se
-
sqlserver-web
- Parameters:
engine
- The name of the database engine to use for this DB instance. Valid values are as follows:-
aurora
-
aurora-mysql
-
aurora-postgresql
-
c
-
mariadb
-
mysql
-
oracle-ee
-
oracle-se
-
oracle-se1
-
oracle-se2
-
sqlserver-ee
-
sqlserver-ex
-
sqlserver-se
-
sqlserver-web
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
allocatedStorage
The amount of storage (in gigabytes) to be initially allocated for the database instance.
- Parameters:
allocatedStorage
- The amount of storage (in gigabytes) to be initially allocated for the database instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of this DB snapshot.
- Parameters:
status
- The status of this DB snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
The port that the database engine was listening on at the time of the snapshot.
- Parameters:
port
- The port that the database engine was listening on at the time of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
Specifies the name of the Availability Zone in which the DB instance was located at the time of the DB snapshot.
- Parameters:
availabilityZone
- Specifies the name of the Availability Zone in which the DB instance was located at the time of the DB snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The VPC ID associated with the DB snapshot.
- Parameters:
vpcId
- The VPC ID associated with the DB snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceCreateTime
Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.
- Parameters:
instanceCreateTime
- Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
masterUsername
The master user name for the DB snapshot.
- Parameters:
masterUsername
- The master user name for the DB snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
The version of the database engine.
- Parameters:
engineVersion
- The version of the database engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseModel
License model information for the restored DB instance.
- Parameters:
licenseModel
- License model information for the restored DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotType
The type of the DB snapshot.
- Parameters:
snapshotType
- The type of the DB snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iops
The provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
- Parameters:
iops
- The provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionGroupName
The option group name for the DB snapshot.
- Parameters:
optionGroupName
- The option group name for the DB snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
percentProgress
The percentage of the estimated data that has been transferred.
- Parameters:
percentProgress
- 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.
-
sourceRegion
The Amazon Web Services Region that the DB snapshot was created in or copied from.
- Parameters:
sourceRegion
- The Amazon Web Services Region that the DB snapshot was created in or copied from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDbSnapshotIdentifier
The DB snapshot ARN that the DB snapshot was copied from.
- Parameters:
sourceDbSnapshotIdentifier
- The DB snapshot ARN that the DB snapshot was copied from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageType
The storage type associated with the DB snapshot. Valid values are as follows:
-
gp2
-
io1
-
standard
- Parameters:
storageType
- The storage type associated with the DB snapshot. Valid values are as follows:-
gp2
-
io1
-
standard
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tdeCredentialArn
The ARN from the key store with which to associate the instance for TDE encryption.
- Parameters:
tdeCredentialArn
- The ARN from the key store with which to associate the instance for TDE encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encrypted
Whether the DB snapshot is encrypted.
- Parameters:
encrypted
- Whether the DB snapshot is encrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
If
Encrypted
istrue
, the KMS key identifier for the encrypted DB snapshot.- Parameters:
kmsKeyId
- IfEncrypted
istrue
, the KMS key identifier for the encrypted DB snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timezone
The time zone of the DB snapshot.
- Parameters:
timezone
- The time zone of the DB snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamDatabaseAuthenticationEnabled
AwsRdsDbSnapshotDetails.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.
-
processorFeatures
AwsRdsDbSnapshotDetails.Builder processorFeatures(Collection<AwsRdsDbProcessorFeature> processorFeatures) The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
- Parameters:
processorFeatures
- The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processorFeatures
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
- Parameters:
processorFeatures
- The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processorFeatures
AwsRdsDbSnapshotDetails.Builder processorFeatures(Consumer<AwsRdsDbProcessorFeature.Builder>... processorFeatures) The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
This is a convenience method that creates an instance of theAwsRdsDbProcessorFeature.Builder
avoiding the need to create one manually viaAwsRdsDbProcessorFeature.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprocessorFeatures(List<AwsRdsDbProcessorFeature>)
.- Parameters:
processorFeatures
- a consumer that will call methods onAwsRdsDbProcessorFeature.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dbiResourceId
The identifier for the source DB instance.
- Parameters:
dbiResourceId
- The identifier for the source DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-