public static interface DBSnapshot.Builder extends SdkPojo, CopyableBuilder<DBSnapshot.Builder,DBSnapshot>
Modifier and Type | Method and Description |
---|---|
DBSnapshot.Builder |
allocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gibibytes (GiB).
|
DBSnapshot.Builder |
availabilityZone(String availabilityZone)
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
|
DBSnapshot.Builder |
dbInstanceIdentifier(String dbInstanceIdentifier)
Specifies the DB instance identifier of the DB instance this DB snapshot was created from.
|
DBSnapshot.Builder |
dbiResourceId(String dbiResourceId)
The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web
Services Region.
|
DBSnapshot.Builder |
dbSnapshotArn(String dbSnapshotArn)
The Amazon Resource Name (ARN) for the DB snapshot.
|
DBSnapshot.Builder |
dbSnapshotIdentifier(String dbSnapshotIdentifier)
Specifies the identifier for the DB snapshot.
|
DBSnapshot.Builder |
dbSystemId(String dbSystemId)
The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your
database files.
|
DBSnapshot.Builder |
encrypted(Boolean encrypted)
Specifies whether the DB snapshot is encrypted.
|
DBSnapshot.Builder |
engine(String engine)
Specifies the name of the database engine.
|
DBSnapshot.Builder |
engineVersion(String engineVersion)
Specifies the version of the database engine.
|
DBSnapshot.Builder |
iamDatabaseAuthenticationEnabled(Boolean iamDatabaseAuthenticationEnabled)
True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is
enabled, and otherwise false.
|
DBSnapshot.Builder |
instanceCreateTime(Instant instanceCreateTime)
Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was
taken, was created.
|
DBSnapshot.Builder |
iops(Integer iops)
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the
snapshot.
|
DBSnapshot.Builder |
kmsKeyId(String kmsKeyId)
If
Encrypted is true, the Amazon Web Services KMS key identifier for the encrypted DB snapshot. |
DBSnapshot.Builder |
licenseModel(String licenseModel)
License model information for the restored DB instance.
|
DBSnapshot.Builder |
masterUsername(String masterUsername)
Provides the master username for the DB snapshot.
|
DBSnapshot.Builder |
optionGroupName(String optionGroupName)
Provides the option group name for the DB snapshot.
|
DBSnapshot.Builder |
originalSnapshotCreateTime(Instant originalSnapshotCreateTime)
Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC).
|
DBSnapshot.Builder |
percentProgress(Integer percentProgress)
The percentage of the estimated data that has been transferred.
|
DBSnapshot.Builder |
port(Integer port)
Specifies the port that the database engine was listening on at the time of the snapshot.
|
DBSnapshot.Builder |
processorFeatures(Collection<ProcessorFeature> processorFeatures)
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when
the DB snapshot was created.
|
DBSnapshot.Builder |
processorFeatures(Consumer<ProcessorFeature.Builder>... processorFeatures)
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when
the DB snapshot was created.
|
DBSnapshot.Builder |
processorFeatures(ProcessorFeature... processorFeatures)
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when
the DB snapshot was created.
|
DBSnapshot.Builder |
snapshotCreateTime(Instant snapshotCreateTime)
Specifies when the snapshot was taken in Coordinated Universal Time (UTC).
|
DBSnapshot.Builder |
snapshotDatabaseTime(Instant snapshotDatabaseTime)
The timestamp of the most recent transaction applied to the database that you're backing up.
|
DBSnapshot.Builder |
snapshotTarget(String snapshotTarget)
Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
|
DBSnapshot.Builder |
snapshotType(String snapshotType)
Provides the type of the DB snapshot.
|
DBSnapshot.Builder |
sourceDBSnapshotIdentifier(String sourceDBSnapshotIdentifier)
The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied from.
|
DBSnapshot.Builder |
sourceRegion(String sourceRegion)
The Amazon Web Services Region that the DB snapshot was created in or copied from.
|
DBSnapshot.Builder |
status(String status)
Specifies the status of this DB snapshot.
|
DBSnapshot.Builder |
storageThroughput(Integer storageThroughput)
Specifies the storage throughput for the DB snapshot.
|
DBSnapshot.Builder |
storageType(String storageType)
Specifies the storage type associated with DB snapshot.
|
DBSnapshot.Builder |
tagList(Collection<Tag> tagList)
Sets the value of the TagList property for this object.
|
DBSnapshot.Builder |
tagList(Consumer<Tag.Builder>... tagList)
Sets the value of the TagList property for this object.
|
DBSnapshot.Builder |
tagList(Tag... tagList)
Sets the value of the TagList property for this object.
|
DBSnapshot.Builder |
tdeCredentialArn(String tdeCredentialArn)
The ARN from the key store with which to associate the instance for TDE encryption.
|
DBSnapshot.Builder |
timezone(String timezone)
The time zone of the DB snapshot.
|
DBSnapshot.Builder |
vpcId(String vpcId)
Provides the VPC ID associated with the DB snapshot.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
DBSnapshot.Builder dbSnapshotIdentifier(String dbSnapshotIdentifier)
Specifies the identifier for the DB snapshot.
dbSnapshotIdentifier
- Specifies the identifier for the DB snapshot.DBSnapshot.Builder dbInstanceIdentifier(String dbInstanceIdentifier)
Specifies the DB instance identifier of the DB instance this DB snapshot was created from.
dbInstanceIdentifier
- Specifies the DB instance identifier of the DB instance this DB snapshot was created from.DBSnapshot.Builder snapshotCreateTime(Instant snapshotCreateTime)
Specifies when the snapshot was taken in Coordinated Universal Time (UTC). Changes for the copy when the snapshot is copied.
snapshotCreateTime
- Specifies when the snapshot was taken in Coordinated Universal Time (UTC). Changes for the copy when
the snapshot is copied.DBSnapshot.Builder engine(String engine)
Specifies the name of the database engine.
engine
- Specifies the name of the database engine.DBSnapshot.Builder allocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gibibytes (GiB).
allocatedStorage
- Specifies the allocated storage size in gibibytes (GiB).DBSnapshot.Builder status(String status)
Specifies the status of this DB snapshot.
status
- Specifies the status of this DB snapshot.DBSnapshot.Builder port(Integer port)
Specifies the port that the database engine was listening on at the time of the snapshot.
port
- Specifies the port that the database engine was listening on at the time of the snapshot.DBSnapshot.Builder availabilityZone(String availabilityZone)
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
availabilityZone
- Specifies the name of the Availability Zone the DB instance was located in at the time of the DB
snapshot.DBSnapshot.Builder vpcId(String vpcId)
Provides the VPC ID associated with the DB snapshot.
vpcId
- Provides the VPC ID associated with the DB snapshot.DBSnapshot.Builder instanceCreateTime(Instant instanceCreateTime)
Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.
instanceCreateTime
- Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot
was taken, was created.DBSnapshot.Builder masterUsername(String masterUsername)
Provides the master username for the DB snapshot.
masterUsername
- Provides the master username for the DB snapshot.DBSnapshot.Builder engineVersion(String engineVersion)
Specifies the version of the database engine.
engineVersion
- Specifies the version of the database engine.DBSnapshot.Builder licenseModel(String licenseModel)
License model information for the restored DB instance.
licenseModel
- License model information for the restored DB instance.DBSnapshot.Builder snapshotType(String snapshotType)
Provides the type of the DB snapshot.
snapshotType
- Provides the type of the DB snapshot.DBSnapshot.Builder iops(Integer iops)
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
iops
- Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the
snapshot.DBSnapshot.Builder optionGroupName(String optionGroupName)
Provides the option group name for the DB snapshot.
optionGroupName
- Provides the option group name for the DB snapshot.DBSnapshot.Builder percentProgress(Integer percentProgress)
The percentage of the estimated data that has been transferred.
percentProgress
- The percentage of the estimated data that has been transferred.DBSnapshot.Builder sourceRegion(String sourceRegion)
The Amazon Web Services Region that the DB snapshot was created in or copied from.
sourceRegion
- The Amazon Web Services Region that the DB snapshot was created in or copied from.DBSnapshot.Builder sourceDBSnapshotIdentifier(String sourceDBSnapshotIdentifier)
The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied from. It only has a value in the case of a cross-account or cross-Region copy.
sourceDBSnapshotIdentifier
- The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied from. It only has a value
in the case of a cross-account or cross-Region copy.DBSnapshot.Builder storageType(String storageType)
Specifies the storage type associated with DB snapshot.
storageType
- Specifies the storage type associated with DB snapshot.DBSnapshot.Builder tdeCredentialArn(String tdeCredentialArn)
The ARN from the key store with which to associate the instance for TDE encryption.
tdeCredentialArn
- The ARN from the key store with which to associate the instance for TDE encryption.DBSnapshot.Builder encrypted(Boolean encrypted)
Specifies whether the DB snapshot is encrypted.
encrypted
- Specifies whether the DB snapshot is encrypted.DBSnapshot.Builder kmsKeyId(String kmsKeyId)
If Encrypted
is true, the Amazon Web Services KMS key identifier for the encrypted DB snapshot.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
kmsKeyId
- If Encrypted
is true, the Amazon Web Services KMS key identifier for the encrypted DB
snapshot.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
DBSnapshot.Builder dbSnapshotArn(String dbSnapshotArn)
The Amazon Resource Name (ARN) for the DB snapshot.
dbSnapshotArn
- The Amazon Resource Name (ARN) for the DB snapshot.DBSnapshot.Builder timezone(String timezone)
The time zone of the DB snapshot. In most cases, the Timezone
element is empty.
Timezone
content appears only for snapshots taken from Microsoft SQL Server DB instances that
were created with a time zone specified.
timezone
- The time zone of the DB snapshot. In most cases, the Timezone
element is empty.
Timezone
content appears only for snapshots taken from Microsoft SQL Server DB instances
that were created with a time zone specified.DBSnapshot.Builder iamDatabaseAuthenticationEnabled(Boolean iamDatabaseAuthenticationEnabled)
True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
iamDatabaseAuthenticationEnabled
- True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database
accounts is enabled, and otherwise false.DBSnapshot.Builder processorFeatures(Collection<ProcessorFeature> processorFeatures)
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when the DB snapshot was created.
processorFeatures
- The number of CPU cores and the number of threads per core for the DB instance class of the DB
instance when the DB snapshot was created.DBSnapshot.Builder processorFeatures(ProcessorFeature... processorFeatures)
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when the DB snapshot was created.
processorFeatures
- The number of CPU cores and the number of threads per core for the DB instance class of the DB
instance when the DB snapshot was created.DBSnapshot.Builder processorFeatures(Consumer<ProcessorFeature.Builder>... processorFeatures)
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when the DB snapshot was created.
This is a convenience method that creates an instance of theProcessorFeature.Builder
avoiding the need to create one
manually via ProcessorFeature.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #processorFeatures(List
.
processorFeatures
- a consumer that will call methods on
ProcessorFeature.Builder
#processorFeatures(java.util.Collection)
DBSnapshot.Builder dbiResourceId(String dbiResourceId)
The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region.
dbiResourceId
- The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web
Services Region.DBSnapshot.Builder tagList(Collection<Tag> tagList)
tagList
- The new value for the TagList property for this object.DBSnapshot.Builder tagList(Tag... tagList)
tagList
- The new value for the TagList property for this object.DBSnapshot.Builder tagList(Consumer<Tag.Builder>... tagList)
Tag.Builder
avoiding the need to create one manually via
Tag.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to #tagList(List
.
tagList
- a consumer that will call methods on Tag.Builder
#tagList(java.util.Collection)
DBSnapshot.Builder originalSnapshotCreateTime(Instant originalSnapshotCreateTime)
Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change when the snapshot is copied.
originalSnapshotCreateTime
- Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't
change when the snapshot is copied.DBSnapshot.Builder snapshotDatabaseTime(Instant snapshotDatabaseTime)
The timestamp of the most recent transaction applied to the database that you're backing up. Thus, if you restore a snapshot, SnapshotDatabaseTime is the most recent transaction in the restored DB instance. In contrast, originalSnapshotCreateTime specifies the system time that the snapshot completed.
If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than SnapshotDatabaseTime, then the replica lag is two hours.
snapshotDatabaseTime
- The timestamp of the most recent transaction applied to the database that you're backing up. Thus, if
you restore a snapshot, SnapshotDatabaseTime is the most recent transaction in the restored DB
instance. In contrast, originalSnapshotCreateTime specifies the system time that the snapshot
completed.
If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than SnapshotDatabaseTime, then the replica lag is two hours.
DBSnapshot.Builder snapshotTarget(String snapshotTarget)
Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
snapshotTarget
- Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services
Region.DBSnapshot.Builder storageThroughput(Integer storageThroughput)
Specifies the storage throughput for the DB snapshot.
storageThroughput
- Specifies the storage throughput for the DB snapshot.DBSnapshot.Builder dbSystemId(String dbSystemId)
The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. The Oracle SID is also the name of your CDB.
dbSystemId
- The Oracle system identifier (SID), which is the name of the Oracle database instance that manages
your database files. The Oracle SID is also the name of your CDB.Copyright © 2023. All rights reserved.