public class DBSnapshot extends Object implements Serializable
| Constructor and Description |
|---|
DBSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getAllocatedStorage()
Specifies the allocated storage size in gigabytes (GB).
|
String |
getAvailabilityZone()
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
|
String |
getDbInstanceIdentifier() |
String |
getDbSnapshotArn() |
String |
getDbSnapshotIdentifier() |
boolean |
getEncrypted()
Specifies whether the DB snapshot is encrypted.
|
String |
getEngine()
Specifies the name of the database engine.
|
String |
getEngineVersion()
Specifies the version of the database engine.
|
boolean |
getIamDatabaseAuthenticationEnabled() |
LocalDateTime |
getInstanceCreateTime()
Specifies the time when the snapshot was taken, in Universal Coordinated Time (UTC).
|
Integer |
getIops()
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
|
String |
getKmsKeyId()
If
Encrypted is true, the KMS key identifier for the encrypted DB snapshot. |
String |
getLicenseModel()
License model information for the restored DB instance.
|
String |
getMasterUsername()
Provides the master username for the DB snapshot.
|
String |
getOptionGroupName()
Provides the option group name for the DB snapshot.
|
Integer |
getPercentProgress()
The percentage of the estimated data that has been transferred.
|
Integer |
getPort()
Specifies the port that the database engine was listening on at the time of the snapshot.
|
LocalDateTime |
getSnapshotCreateTime()
Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
|
String |
getSnapshotType()
Provides the type of the DB snapshot.
|
String |
getSourceDBSnapshotIdentifier()
The DB snapshot Arn that the DB snapshot was copied from.
|
String |
getSourceRegion()
The region that the DB snapshot was created in or copied from.
|
String |
getStatus()
Specifies the status of this DB snapshot.
|
String |
getStorageType()
Specifies the storage type associated with DB snapshot.
|
String |
getTdeCredentialArn()
The ARN from the key store with which to associate the instance for TDE encryption.
|
String |
getTimezone()
The time zone of the DB snapshot.
|
String |
getVpcId()
Provides the VPC ID associated with the DB snapshot.
|
int |
hashCode() |
boolean |
isEncrypted()
Specifies whether the DB snapshot is encrypted.
|
void |
setAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gigabytes (GB).
|
void |
setAvailabilityZone(String availabilityZone)
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
|
void |
setDbInstanceIdentifier(String dbInstanceIdentifier) |
void |
setDbSnapshotArn(String dbSnapshotArn) |
void |
setDbSnapshotIdentifier(String dbSnapshotIdentifier) |
void |
setEncrypted(boolean encrypted)
Specifies whether the DB snapshot is encrypted.
|
void |
setEngine(String engine)
Specifies the name of the database engine.
|
void |
setEngineVersion(String engineVersion)
Specifies the version of the database engine.
|
void |
setIamDatabaseAuthenticationEnabled(boolean iamDatabaseAuthenticationEnabled) |
void |
setInstanceCreateTime(LocalDateTime instanceCreateTime)
Specifies the time when the snapshot was taken, in Universal Coordinated Time (UTC).
|
void |
setIops(Integer iops)
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
|
void |
setKmsKeyId(String kmsKeyId)
If
Encrypted is true, the KMS key identifier for the encrypted DB snapshot. |
void |
setLicenseModel(String licenseModel)
License model information for the restored DB instance.
|
void |
setMasterUsername(String masterUsername)
Provides the master username for the DB snapshot.
|
void |
setOptionGroupName(String optionGroupName)
Provides the option group name for the DB snapshot.
|
void |
setPercentProgress(Integer percentProgress)
The percentage of the estimated data that has been transferred.
|
void |
setPort(Integer port)
Specifies the port that the database engine was listening on at the time of the snapshot.
|
void |
setSnapshotCreateTime(LocalDateTime snapshotCreateTime)
Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
|
void |
setSnapshotType(String snapshotType)
Provides the type of the DB snapshot.
|
void |
setSourceDBSnapshotIdentifier(String sourceDBSnapshotIdentifier)
The DB snapshot Arn that the DB snapshot was copied from.
|
void |
setSourceRegion(String sourceRegion)
The region that the DB snapshot was created in or copied from.
|
void |
setStatus(String status)
Specifies the status of this DB snapshot.
|
void |
setStorageType(String storageType)
Specifies the storage type associated with DB snapshot.
|
void |
setTdeCredentialArn(String tdeCredentialArn)
The ARN from the key store with which to associate the instance for TDE encryption.
|
void |
setTimezone(String timezone)
The time zone of the DB snapshot.
|
void |
setVpcId(String vpcId)
Provides the VPC ID associated with the DB snapshot.
|
String |
toString() |
DBSnapshot |
withAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gigabytes (GB).
|
DBSnapshot |
withAvailabilityZone(String availabilityZone)
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
|
DBSnapshot |
withEncrypted(boolean encrypted)
Specifies whether the DB snapshot is encrypted.
|
DBSnapshot |
withEngine(String engine)
Specifies the name of the database engine.
|
DBSnapshot |
withEngineVersion(String engineVersion)
Specifies the version of the database engine.
|
DBSnapshot |
withInstanceCreateTime(LocalDateTime instanceCreateTime)
Specifies the time when the snapshot was taken, in Universal Coordinated Time (UTC).
|
DBSnapshot |
withIops(Integer iops)
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
|
DBSnapshot |
withKmsKeyId(String kmsKeyId)
If
Encrypted is true, the KMS key identifier for the encrypted DB snapshot. |
DBSnapshot |
withLicenseModel(String licenseModel)
License model information for the restored DB instance.
|
DBSnapshot |
withMasterUsername(String masterUsername)
Provides the master username for the DB snapshot.
|
DBSnapshot |
withOptionGroupName(String optionGroupName)
Provides the option group name for the DB snapshot.
|
DBSnapshot |
withPercentProgress(Integer percentProgress)
The percentage of the estimated data that has been transferred.
|
DBSnapshot |
withPort(Integer port)
Specifies the port that the database engine was listening on at the time of the snapshot.
|
DBSnapshot |
withSnapshotCreateTime(LocalDateTime snapshotCreateTime)
Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
|
DBSnapshot |
withSnapshotType(String snapshotType)
Provides the type of the DB snapshot.
|
DBSnapshot |
withSourceDBSnapshotIdentifier(String sourceDBSnapshotIdentifier)
The DB snapshot Arn that the DB snapshot was copied from.
|
DBSnapshot |
withSourceRegion(String sourceRegion)
The region that the DB snapshot was created in or copied from.
|
DBSnapshot |
withStatus(String status)
Specifies the status of this DB snapshot.
|
DBSnapshot |
withStorageType(String storageType)
Specifies the storage type associated with DB snapshot.
|
DBSnapshot |
withTdeCredentialArn(String tdeCredentialArn)
The ARN from the key store with which to associate the instance for TDE encryption.
|
DBSnapshot |
withTimezone(String timezone)
The time zone of the DB snapshot.
|
DBSnapshot |
withVpcId(String vpcId)
Provides the VPC ID associated with the DB snapshot.
|
public LocalDateTime getSnapshotCreateTime()
Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
public void setSnapshotCreateTime(LocalDateTime snapshotCreateTime)
Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
snapshotCreateTime - Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).public DBSnapshot withSnapshotCreateTime(LocalDateTime snapshotCreateTime)
Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
snapshotCreateTime - Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).public String getEngine()
Specifies the name of the database engine.
public void setEngine(String engine)
Specifies the name of the database engine.
engine - Specifies the name of the database engine.public DBSnapshot withEngine(String engine)
Specifies the name of the database engine.
engine - Specifies the name of the database engine.public Integer getAllocatedStorage()
Specifies the allocated storage size in gigabytes (GB).
public void setAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gigabytes (GB).
allocatedStorage - Specifies the allocated storage size in gigabytes (GB).public DBSnapshot withAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gigabytes (GB).
allocatedStorage - Specifies the allocated storage size in gigabytes (GB).public String getStatus()
Specifies the status of this DB snapshot.
public void setStatus(String status)
Specifies the status of this DB snapshot.
status - Specifies the status of this DB snapshot.public DBSnapshot withStatus(String status)
Specifies the status of this DB snapshot.
status - Specifies the status of this DB snapshot.public Integer getPort()
Specifies the port that the database engine was listening on at the time of the snapshot.
public void setPort(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.public DBSnapshot withPort(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.public String getAvailabilityZone()
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
public void setAvailabilityZone(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.public DBSnapshot withAvailabilityZone(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.public String getVpcId()
Provides the VPC ID associated with the DB snapshot.
public void setVpcId(String vpcId)
Provides the VPC ID associated with the DB snapshot.
vpcId - Provides the VPC ID associated with the DB snapshot.public DBSnapshot withVpcId(String vpcId)
Provides the VPC ID associated with the DB snapshot.
vpcId - Provides the VPC ID associated with the DB snapshot.public LocalDateTime getInstanceCreateTime()
Specifies the time when the snapshot was taken, in Universal Coordinated Time (UTC).
public void setInstanceCreateTime(LocalDateTime instanceCreateTime)
Specifies the time when the snapshot was taken, in Universal Coordinated Time (UTC).
instanceCreateTime - Specifies the time when the snapshot was taken, in Universal Coordinated Time (UTC).public DBSnapshot withInstanceCreateTime(LocalDateTime instanceCreateTime)
Specifies the time when the snapshot was taken, in Universal Coordinated Time (UTC).
instanceCreateTime - Specifies the time when the snapshot was taken, in Universal Coordinated Time (UTC).public String getMasterUsername()
Provides the master username for the DB snapshot.
public void setMasterUsername(String masterUsername)
Provides the master username for the DB snapshot.
masterUsername - Provides the master username for the DB snapshot.public DBSnapshot withMasterUsername(String masterUsername)
Provides the master username for the DB snapshot.
masterUsername - Provides the master username for the DB snapshot.public String getEngineVersion()
Specifies the version of the database engine.
public void setEngineVersion(String engineVersion)
Specifies the version of the database engine.
engineVersion - Specifies the version of the database engine.public DBSnapshot withEngineVersion(String engineVersion)
Specifies the version of the database engine.
engineVersion - Specifies the version of the database engine.public String getLicenseModel()
License model information for the restored DB instance.
public void setLicenseModel(String licenseModel)
License model information for the restored DB instance.
licenseModel - License model information for the restored DB instance.public DBSnapshot withLicenseModel(String licenseModel)
License model information for the restored DB instance.
licenseModel - License model information for the restored DB instance.public String getSnapshotType()
Provides the type of the DB snapshot.
public void setSnapshotType(String snapshotType)
Provides the type of the DB snapshot.
snapshotType - Provides the type of the DB snapshot.public DBSnapshot withSnapshotType(String snapshotType)
Provides the type of the DB snapshot.
snapshotType - Provides the type of the DB snapshot.public Integer getIops()
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
public void setIops(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.public DBSnapshot withIops(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.public String getOptionGroupName()
Provides the option group name for the DB snapshot.
public void setOptionGroupName(String optionGroupName)
Provides the option group name for the DB snapshot.
optionGroupName - Provides the option group name for the DB snapshot.public DBSnapshot withOptionGroupName(String optionGroupName)
Provides the option group name for the DB snapshot.
optionGroupName - Provides the option group name for the DB snapshot.public Integer getPercentProgress()
The percentage of the estimated data that has been transferred.
public void setPercentProgress(Integer percentProgress)
The percentage of the estimated data that has been transferred.
percentProgress - The percentage of the estimated data that has been transferred.public DBSnapshot withPercentProgress(Integer percentProgress)
The percentage of the estimated data that has been transferred.
percentProgress - The percentage of the estimated data that has been transferred.public String getSourceRegion()
The region that the DB snapshot was created in or copied from.
public void setSourceRegion(String sourceRegion)
The region that the DB snapshot was created in or copied from.
sourceRegion - The region that the DB snapshot was created in or copied from.public DBSnapshot withSourceRegion(String sourceRegion)
The region that the DB snapshot was created in or copied from.
sourceRegion - The region that the DB snapshot was created in or copied from.public String getSourceDBSnapshotIdentifier()
The DB snapshot Arn that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
public void setSourceDBSnapshotIdentifier(String sourceDBSnapshotIdentifier)
The DB snapshot Arn that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
sourceDBSnapshotIdentifier - The DB snapshot Arn that the DB snapshot was copied from. It only has value in case of cross customer or
cross region copy.public DBSnapshot withSourceDBSnapshotIdentifier(String sourceDBSnapshotIdentifier)
The DB snapshot Arn that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
sourceDBSnapshotIdentifier - The DB snapshot Arn that the DB snapshot was copied from. It only has value in case of cross customer or
cross region copy.public String getStorageType()
Specifies the storage type associated with DB snapshot.
public void setStorageType(String storageType)
Specifies the storage type associated with DB snapshot.
storageType - Specifies the storage type associated with DB snapshot.public DBSnapshot withStorageType(String storageType)
Specifies the storage type associated with DB snapshot.
storageType - Specifies the storage type associated with DB snapshot.public String getTdeCredentialArn()
The ARN from the key store with which to associate the instance for TDE encryption.
public void setTdeCredentialArn(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.public DBSnapshot withTdeCredentialArn(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.public boolean getEncrypted()
Specifies whether the DB snapshot is encrypted.
public void setEncrypted(boolean encrypted)
Specifies whether the DB snapshot is encrypted.
encrypted - Specifies whether the DB snapshot is encrypted.public DBSnapshot withEncrypted(boolean encrypted)
Specifies whether the DB snapshot is encrypted.
encrypted - Specifies whether the DB snapshot is encrypted.public boolean isEncrypted()
Specifies whether the DB snapshot is encrypted.
public String getKmsKeyId()
If Encrypted is true, the KMS key identifier for the encrypted DB snapshot.
Encrypted is true, the KMS key identifier for the encrypted DB snapshot.public void setKmsKeyId(String kmsKeyId)
If Encrypted is true, the KMS key identifier for the encrypted DB snapshot.
kmsKeyId - If Encrypted is true, the KMS key identifier for the encrypted DB snapshot.public DBSnapshot withKmsKeyId(String kmsKeyId)
If Encrypted is true, the KMS key identifier for the encrypted DB snapshot.
kmsKeyId - If Encrypted is true, the KMS key identifier for the encrypted DB snapshot.public String getTimezone()
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 element is empty.
Timezone content appears only for snapshots taken from Microsoft SQL Server DB instances
that were created with a time zone specified.public void setTimezone(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.public DBSnapshot withTimezone(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.public String getDbSnapshotIdentifier()
public void setDbSnapshotIdentifier(String dbSnapshotIdentifier)
public String getDbInstanceIdentifier()
public void setDbInstanceIdentifier(String dbInstanceIdentifier)
public String getDbSnapshotArn()
public void setDbSnapshotArn(String dbSnapshotArn)
public boolean getIamDatabaseAuthenticationEnabled()
public void setIamDatabaseAuthenticationEnabled(boolean iamDatabaseAuthenticationEnabled)
Copyright © 2019 MuleSoft, Inc.. All rights reserved.