Class AwsRdsDbSnapshotDetails

    • Method Detail

      • dbSnapshotIdentifier

        public final String dbSnapshotIdentifier()

        The name or ARN of the DB snapshot that is used to restore the DB instance.

        Returns:
        The name or ARN of the DB snapshot that is used to restore the DB instance.
      • dbInstanceIdentifier

        public final String dbInstanceIdentifier()

        A name for the DB instance.

        Returns:
        A name for the DB instance.
      • snapshotCreateTime

        public final String snapshotCreateTime()

        When the snapshot was taken in Coordinated Universal Time (UTC).

        Returns:
        When the snapshot was taken in Coordinated Universal Time (UTC).
      • engine

        public final String 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:
        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

      • allocatedStorage

        public final Integer allocatedStorage()

        The amount of storage (in gigabytes) to be initially allocated for the database instance.

        Returns:
        The amount of storage (in gigabytes) to be initially allocated for the database instance.
      • status

        public final String status()

        The status of this DB snapshot.

        Returns:
        The status of this DB snapshot.
      • port

        public final Integer port()

        The port that the database engine was listening on at the time of the snapshot.

        Returns:
        The port that the database engine was listening on at the time of the snapshot.
      • availabilityZone

        public final String availabilityZone()

        Specifies the name of the Availability Zone in which the DB instance was located at the time of the DB snapshot.

        Returns:
        Specifies the name of the Availability Zone in which the DB instance was located at the time of the DB snapshot.
      • vpcId

        public final String vpcId()

        The VPC ID associated with the DB snapshot.

        Returns:
        The VPC ID associated with the DB snapshot.
      • instanceCreateTime

        public final String instanceCreateTime()

        Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.

        Returns:
        Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.
      • masterUsername

        public final String masterUsername()

        The master user name for the DB snapshot.

        Returns:
        The master user name for the DB snapshot.
      • engineVersion

        public final String engineVersion()

        The version of the database engine.

        Returns:
        The version of the database engine.
      • licenseModel

        public final String licenseModel()

        License model information for the restored DB instance.

        Returns:
        License model information for the restored DB instance.
      • snapshotType

        public final String snapshotType()

        The type of the DB snapshot.

        Returns:
        The type of the DB snapshot.
      • iops

        public final Integer iops()

        The provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.

        Returns:
        The provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
      • optionGroupName

        public final String optionGroupName()

        The option group name for the DB snapshot.

        Returns:
        The option group name for the DB snapshot.
      • percentProgress

        public final Integer percentProgress()

        The percentage of the estimated data that has been transferred.

        Returns:
        The percentage of the estimated data that has been transferred.
      • sourceRegion

        public final String sourceRegion()

        The Amazon Web Services Region that the DB snapshot was created in or copied from.

        Returns:
        The Amazon Web Services Region that the DB snapshot was created in or copied from.
      • sourceDbSnapshotIdentifier

        public final String sourceDbSnapshotIdentifier()

        The DB snapshot ARN that the DB snapshot was copied from.

        Returns:
        The DB snapshot ARN that the DB snapshot was copied from.
      • storageType

        public final String storageType()

        The storage type associated with the DB snapshot. Valid values are as follows:

        • gp2

        • io1

        • standard

        Returns:
        The storage type associated with the DB snapshot. Valid values are as follows:

        • gp2

        • io1

        • standard

      • tdeCredentialArn

        public final String tdeCredentialArn()

        The ARN from the key store with which to associate the instance for TDE encryption.

        Returns:
        The ARN from the key store with which to associate the instance for TDE encryption.
      • encrypted

        public final Boolean encrypted()

        Whether the DB snapshot is encrypted.

        Returns:
        Whether the DB snapshot is encrypted.
      • kmsKeyId

        public final String kmsKeyId()

        If Encrypted is true, the KMS key identifier for the encrypted DB snapshot.

        Returns:
        If Encrypted is true, the KMS key identifier for the encrypted DB snapshot.
      • timezone

        public final String timezone()

        The time zone of the DB snapshot.

        Returns:
        The time zone of the DB snapshot.
      • iamDatabaseAuthenticationEnabled

        public final Boolean iamDatabaseAuthenticationEnabled()

        Whether mapping of IAM accounts to database accounts is enabled.

        Returns:
        Whether mapping of IAM accounts to database accounts is enabled.
      • hasProcessorFeatures

        public final boolean hasProcessorFeatures()
        For responses, this returns true if the service returned a value for the ProcessorFeatures property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • processorFeatures

        public final List<AwsRdsDbProcessorFeature> processorFeatures()

        The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasProcessorFeatures() method.

        Returns:
        The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
      • dbiResourceId

        public final String dbiResourceId()

        The identifier for the source DB instance.

        Returns:
        The identifier for the source DB instance.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)