Class RestoreDBInstanceToPointInTimeRequest

    • Constructor Detail

      • RestoreDBInstanceToPointInTimeRequest

        public RestoreDBInstanceToPointInTimeRequest()
        Default constructor for RestoreDBInstanceToPointInTimeRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • RestoreDBInstanceToPointInTimeRequest

        public RestoreDBInstanceToPointInTimeRequest​(String sourceDBInstanceIdentifier,
                                                     String targetDBInstanceIdentifier)
        Constructs a new RestoreDBInstanceToPointInTimeRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        sourceDBInstanceIdentifier - The identifier of the source DB instance from which to restore.

        Constraints:

        • Must be the identifier of an existing database instance
        • Must contain from 1 to 63 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens
        targetDBInstanceIdentifier - The name of the new database instance to be created.

        Constraints:

        • Must contain from 1 to 63 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens
    • Method Detail

      • setSourceDBInstanceIdentifier

        public void setSourceDBInstanceIdentifier​(String sourceDBInstanceIdentifier)

        The identifier of the source DB instance from which to restore.

        Constraints:

        • Must be the identifier of an existing database instance
        • Must contain from 1 to 63 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens
        Parameters:
        sourceDBInstanceIdentifier - The identifier of the source DB instance from which to restore.

        Constraints:

        • Must be the identifier of an existing database instance
        • Must contain from 1 to 63 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens
      • getSourceDBInstanceIdentifier

        public String getSourceDBInstanceIdentifier()

        The identifier of the source DB instance from which to restore.

        Constraints:

        • Must be the identifier of an existing database instance
        • Must contain from 1 to 63 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens
        Returns:
        The identifier of the source DB instance from which to restore.

        Constraints:

        • Must be the identifier of an existing database instance
        • Must contain from 1 to 63 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens
      • withSourceDBInstanceIdentifier

        public RestoreDBInstanceToPointInTimeRequest withSourceDBInstanceIdentifier​(String sourceDBInstanceIdentifier)

        The identifier of the source DB instance from which to restore.

        Constraints:

        • Must be the identifier of an existing database instance
        • Must contain from 1 to 63 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens
        Parameters:
        sourceDBInstanceIdentifier - The identifier of the source DB instance from which to restore.

        Constraints:

        • Must be the identifier of an existing database instance
        • Must contain from 1 to 63 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTargetDBInstanceIdentifier

        public void setTargetDBInstanceIdentifier​(String targetDBInstanceIdentifier)

        The name of the new database instance to be created.

        Constraints:

        • Must contain from 1 to 63 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens
        Parameters:
        targetDBInstanceIdentifier - The name of the new database instance to be created.

        Constraints:

        • Must contain from 1 to 63 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens
      • getTargetDBInstanceIdentifier

        public String getTargetDBInstanceIdentifier()

        The name of the new database instance to be created.

        Constraints:

        • Must contain from 1 to 63 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens
        Returns:
        The name of the new database instance to be created.

        Constraints:

        • Must contain from 1 to 63 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens
      • withTargetDBInstanceIdentifier

        public RestoreDBInstanceToPointInTimeRequest withTargetDBInstanceIdentifier​(String targetDBInstanceIdentifier)

        The name of the new database instance to be created.

        Constraints:

        • Must contain from 1 to 63 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens
        Parameters:
        targetDBInstanceIdentifier - The name of the new database instance to be created.

        Constraints:

        • Must contain from 1 to 63 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRestoreTime

        public void setRestoreTime​(Date restoreTime)

        The date and time to restore from.

        Valid Values: Value must be a time in Universal Coordinated Time (UTC) format

        Constraints:

        • Must be before the latest restorable time for the DB instance
        • Cannot be specified if UseLatestRestorableTime parameter is true

        Example: 2009-09-07T23:45:00Z

        Parameters:
        restoreTime - The date and time to restore from.

        Valid Values: Value must be a time in Universal Coordinated Time (UTC) format

        Constraints:

        • Must be before the latest restorable time for the DB instance
        • Cannot be specified if UseLatestRestorableTime parameter is true

        Example: 2009-09-07T23:45:00Z

      • getRestoreTime

        public Date getRestoreTime()

        The date and time to restore from.

        Valid Values: Value must be a time in Universal Coordinated Time (UTC) format

        Constraints:

        • Must be before the latest restorable time for the DB instance
        • Cannot be specified if UseLatestRestorableTime parameter is true

        Example: 2009-09-07T23:45:00Z

        Returns:
        The date and time to restore from.

        Valid Values: Value must be a time in Universal Coordinated Time (UTC) format

        Constraints:

        • Must be before the latest restorable time for the DB instance
        • Cannot be specified if UseLatestRestorableTime parameter is true

        Example: 2009-09-07T23:45:00Z

      • withRestoreTime

        public RestoreDBInstanceToPointInTimeRequest withRestoreTime​(Date restoreTime)

        The date and time to restore from.

        Valid Values: Value must be a time in Universal Coordinated Time (UTC) format

        Constraints:

        • Must be before the latest restorable time for the DB instance
        • Cannot be specified if UseLatestRestorableTime parameter is true

        Example: 2009-09-07T23:45:00Z

        Parameters:
        restoreTime - The date and time to restore from.

        Valid Values: Value must be a time in Universal Coordinated Time (UTC) format

        Constraints:

        • Must be before the latest restorable time for the DB instance
        • Cannot be specified if UseLatestRestorableTime parameter is true

        Example: 2009-09-07T23:45:00Z

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUseLatestRestorableTime

        public void setUseLatestRestorableTime​(Boolean useLatestRestorableTime)

        Specifies whether (true) or not (false) the DB instance is restored from the latest backup time.

        Default: false

        Constraints: Cannot be specified if RestoreTime parameter is provided.

        Parameters:
        useLatestRestorableTime - Specifies whether (true) or not (false) the DB instance is restored from the latest backup time.

        Default: false

        Constraints: Cannot be specified if RestoreTime parameter is provided.

      • getUseLatestRestorableTime

        public Boolean getUseLatestRestorableTime()

        Specifies whether (true) or not (false) the DB instance is restored from the latest backup time.

        Default: false

        Constraints: Cannot be specified if RestoreTime parameter is provided.

        Returns:
        Specifies whether (true) or not (false) the DB instance is restored from the latest backup time.

        Default: false

        Constraints: Cannot be specified if RestoreTime parameter is provided.

      • withUseLatestRestorableTime

        public RestoreDBInstanceToPointInTimeRequest withUseLatestRestorableTime​(Boolean useLatestRestorableTime)

        Specifies whether (true) or not (false) the DB instance is restored from the latest backup time.

        Default: false

        Constraints: Cannot be specified if RestoreTime parameter is provided.

        Parameters:
        useLatestRestorableTime - Specifies whether (true) or not (false) the DB instance is restored from the latest backup time.

        Default: false

        Constraints: Cannot be specified if RestoreTime parameter is provided.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isUseLatestRestorableTime

        public Boolean isUseLatestRestorableTime()

        Specifies whether (true) or not (false) the DB instance is restored from the latest backup time.

        Default: false

        Constraints: Cannot be specified if RestoreTime parameter is provided.

        Returns:
        Specifies whether (true) or not (false) the DB instance is restored from the latest backup time.

        Default: false

        Constraints: Cannot be specified if RestoreTime parameter is provided.

      • setDBInstanceClass

        public void setDBInstanceClass​(String dBInstanceClass)

        The compute and memory capacity of the Amazon RDS DB instance.

        Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large

        Default: The same DBInstanceClass as the original DB instance.

        Parameters:
        dBInstanceClass - The compute and memory capacity of the Amazon RDS DB instance.

        Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large

        Default: The same DBInstanceClass as the original DB instance.

      • getDBInstanceClass

        public String getDBInstanceClass()

        The compute and memory capacity of the Amazon RDS DB instance.

        Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large

        Default: The same DBInstanceClass as the original DB instance.

        Returns:
        The compute and memory capacity of the Amazon RDS DB instance.

        Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large

        Default: The same DBInstanceClass as the original DB instance.

      • withDBInstanceClass

        public RestoreDBInstanceToPointInTimeRequest withDBInstanceClass​(String dBInstanceClass)

        The compute and memory capacity of the Amazon RDS DB instance.

        Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large

        Default: The same DBInstanceClass as the original DB instance.

        Parameters:
        dBInstanceClass - The compute and memory capacity of the Amazon RDS DB instance.

        Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large

        Default: The same DBInstanceClass as the original DB instance.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPort

        public void setPort​(Integer port)

        The port number on which the database accepts connections.

        Constraints: Value must be 1150-65535

        Default: The same port as the original DB instance.

        Parameters:
        port - The port number on which the database accepts connections.

        Constraints: Value must be 1150-65535

        Default: The same port as the original DB instance.

      • getPort

        public Integer getPort()

        The port number on which the database accepts connections.

        Constraints: Value must be 1150-65535

        Default: The same port as the original DB instance.

        Returns:
        The port number on which the database accepts connections.

        Constraints: Value must be 1150-65535

        Default: The same port as the original DB instance.

      • withPort

        public RestoreDBInstanceToPointInTimeRequest withPort​(Integer port)

        The port number on which the database accepts connections.

        Constraints: Value must be 1150-65535

        Default: The same port as the original DB instance.

        Parameters:
        port - The port number on which the database accepts connections.

        Constraints: Value must be 1150-65535

        Default: The same port as the original DB instance.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAvailabilityZone

        public void setAvailabilityZone​(String availabilityZone)

        The EC2 Availability Zone that the database instance will be created in.

        Default: A random, system-chosen Availability Zone.

        Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

        Example: us-east-1a

        Parameters:
        availabilityZone - The EC2 Availability Zone that the database instance will be created in.

        Default: A random, system-chosen Availability Zone.

        Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

        Example: us-east-1a

      • getAvailabilityZone

        public String getAvailabilityZone()

        The EC2 Availability Zone that the database instance will be created in.

        Default: A random, system-chosen Availability Zone.

        Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

        Example: us-east-1a

        Returns:
        The EC2 Availability Zone that the database instance will be created in.

        Default: A random, system-chosen Availability Zone.

        Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

        Example: us-east-1a

      • withAvailabilityZone

        public RestoreDBInstanceToPointInTimeRequest withAvailabilityZone​(String availabilityZone)

        The EC2 Availability Zone that the database instance will be created in.

        Default: A random, system-chosen Availability Zone.

        Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

        Example: us-east-1a

        Parameters:
        availabilityZone - The EC2 Availability Zone that the database instance will be created in.

        Default: A random, system-chosen Availability Zone.

        Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

        Example: us-east-1a

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDBSubnetGroupName

        public void setDBSubnetGroupName​(String dBSubnetGroupName)

        The DB subnet group name to use for the new instance.

        Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.

        Example: mySubnetgroup

        Parameters:
        dBSubnetGroupName - The DB subnet group name to use for the new instance.

        Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.

        Example: mySubnetgroup

      • getDBSubnetGroupName

        public String getDBSubnetGroupName()

        The DB subnet group name to use for the new instance.

        Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.

        Example: mySubnetgroup

        Returns:
        The DB subnet group name to use for the new instance.

        Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.

        Example: mySubnetgroup

      • withDBSubnetGroupName

        public RestoreDBInstanceToPointInTimeRequest withDBSubnetGroupName​(String dBSubnetGroupName)

        The DB subnet group name to use for the new instance.

        Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.

        Example: mySubnetgroup

        Parameters:
        dBSubnetGroupName - The DB subnet group name to use for the new instance.

        Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.

        Example: mySubnetgroup

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMultiAZ

        public void setMultiAZ​(Boolean multiAZ)

        Specifies if the DB instance is a Multi-AZ deployment.

        Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

        Parameters:
        multiAZ - Specifies if the DB instance is a Multi-AZ deployment.

        Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

      • getMultiAZ

        public Boolean getMultiAZ()

        Specifies if the DB instance is a Multi-AZ deployment.

        Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

        Returns:
        Specifies if the DB instance is a Multi-AZ deployment.

        Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

      • withMultiAZ

        public RestoreDBInstanceToPointInTimeRequest withMultiAZ​(Boolean multiAZ)

        Specifies if the DB instance is a Multi-AZ deployment.

        Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

        Parameters:
        multiAZ - Specifies if the DB instance is a Multi-AZ deployment.

        Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isMultiAZ

        public Boolean isMultiAZ()

        Specifies if the DB instance is a Multi-AZ deployment.

        Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

        Returns:
        Specifies if the DB instance is a Multi-AZ deployment.

        Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

      • setPubliclyAccessible

        public void setPubliclyAccessible​(Boolean publiclyAccessible)

        Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.

        Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.

        • Default VPC:true
        • VPC:false

        If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.

        Parameters:
        publiclyAccessible - Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.

        Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.

        • Default VPC:true
        • VPC:false

        If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.

      • getPubliclyAccessible

        public Boolean getPubliclyAccessible()

        Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.

        Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.

        • Default VPC:true
        • VPC:false

        If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.

        Returns:
        Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.

        Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.

        • Default VPC:true
        • VPC:false

        If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.

      • withPubliclyAccessible

        public RestoreDBInstanceToPointInTimeRequest withPubliclyAccessible​(Boolean publiclyAccessible)

        Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.

        Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.

        • Default VPC:true
        • VPC:false

        If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.

        Parameters:
        publiclyAccessible - Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.

        Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.

        • Default VPC:true
        • VPC:false

        If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isPubliclyAccessible

        public Boolean isPubliclyAccessible()

        Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.

        Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.

        • Default VPC:true
        • VPC:false

        If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.

        Returns:
        Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.

        Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.

        • Default VPC:true
        • VPC:false

        If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.

      • setAutoMinorVersionUpgrade

        public void setAutoMinorVersionUpgrade​(Boolean autoMinorVersionUpgrade)

        Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.

        Parameters:
        autoMinorVersionUpgrade - Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.
      • getAutoMinorVersionUpgrade

        public Boolean getAutoMinorVersionUpgrade()

        Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.

        Returns:
        Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.
      • withAutoMinorVersionUpgrade

        public RestoreDBInstanceToPointInTimeRequest withAutoMinorVersionUpgrade​(Boolean autoMinorVersionUpgrade)

        Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.

        Parameters:
        autoMinorVersionUpgrade - Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isAutoMinorVersionUpgrade

        public Boolean isAutoMinorVersionUpgrade()

        Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.

        Returns:
        Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.
      • setLicenseModel

        public void setLicenseModel​(String licenseModel)

        License model information for the restored DB instance.

        Default: Same as source.

        Valid values: license-included | bring-your-own-license | general-public-license

        Parameters:
        licenseModel - License model information for the restored DB instance.

        Default: Same as source.

        Valid values: license-included | bring-your-own-license | general-public-license

      • getLicenseModel

        public String getLicenseModel()

        License model information for the restored DB instance.

        Default: Same as source.

        Valid values: license-included | bring-your-own-license | general-public-license

        Returns:
        License model information for the restored DB instance.

        Default: Same as source.

        Valid values: license-included | bring-your-own-license | general-public-license

      • withLicenseModel

        public RestoreDBInstanceToPointInTimeRequest withLicenseModel​(String licenseModel)

        License model information for the restored DB instance.

        Default: Same as source.

        Valid values: license-included | bring-your-own-license | general-public-license

        Parameters:
        licenseModel - License model information for the restored DB instance.

        Default: Same as source.

        Valid values: license-included | bring-your-own-license | general-public-license

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDBName

        public void setDBName​(String dBName)

        The database name for the restored DB instance.

        This parameter is not used for the MySQL or MariaDB engines.

        Parameters:
        dBName - The database name for the restored DB instance.

        This parameter is not used for the MySQL or MariaDB engines.

      • getDBName

        public String getDBName()

        The database name for the restored DB instance.

        This parameter is not used for the MySQL or MariaDB engines.

        Returns:
        The database name for the restored DB instance.

        This parameter is not used for the MySQL or MariaDB engines.

      • withDBName

        public RestoreDBInstanceToPointInTimeRequest withDBName​(String dBName)

        The database name for the restored DB instance.

        This parameter is not used for the MySQL or MariaDB engines.

        Parameters:
        dBName - The database name for the restored DB instance.

        This parameter is not used for the MySQL or MariaDB engines.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEngine

        public void setEngine​(String engine)

        The database engine to use for the new instance.

        Default: The same as source

        Constraint: Must be compatible with the engine of the source

        Valid Values: MySQL | mariadb | oracle-se1 | oracle-se | oracle-ee | sqlserver-ee | sqlserver-se | sqlserver-ex | sqlserver-web | postgres | aurora

        Parameters:
        engine - The database engine to use for the new instance.

        Default: The same as source

        Constraint: Must be compatible with the engine of the source

        Valid Values: MySQL | mariadb | oracle-se1 | oracle-se | oracle-ee | sqlserver-ee | sqlserver-se | sqlserver-ex | sqlserver-web | postgres | aurora

      • getEngine

        public String getEngine()

        The database engine to use for the new instance.

        Default: The same as source

        Constraint: Must be compatible with the engine of the source

        Valid Values: MySQL | mariadb | oracle-se1 | oracle-se | oracle-ee | sqlserver-ee | sqlserver-se | sqlserver-ex | sqlserver-web | postgres | aurora

        Returns:
        The database engine to use for the new instance.

        Default: The same as source

        Constraint: Must be compatible with the engine of the source

        Valid Values: MySQL | mariadb | oracle-se1 | oracle-se | oracle-ee | sqlserver-ee | sqlserver-se | sqlserver-ex | sqlserver-web | postgres | aurora

      • withEngine

        public RestoreDBInstanceToPointInTimeRequest withEngine​(String engine)

        The database engine to use for the new instance.

        Default: The same as source

        Constraint: Must be compatible with the engine of the source

        Valid Values: MySQL | mariadb | oracle-se1 | oracle-se | oracle-ee | sqlserver-ee | sqlserver-se | sqlserver-ex | sqlserver-web | postgres | aurora

        Parameters:
        engine - The database engine to use for the new instance.

        Default: The same as source

        Constraint: Must be compatible with the engine of the source

        Valid Values: MySQL | mariadb | oracle-se1 | oracle-se | oracle-ee | sqlserver-ee | sqlserver-se | sqlserver-ex | sqlserver-web | postgres | aurora

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIops

        public void setIops​(Integer iops)

        The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.

        Constraints: Must be an integer greater than 1000.

        SQL Server

        Setting the IOPS value for the SQL Server database engine is not supported.

        Parameters:
        iops - The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.

        Constraints: Must be an integer greater than 1000.

        SQL Server

        Setting the IOPS value for the SQL Server database engine is not supported.

      • getIops

        public Integer getIops()

        The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.

        Constraints: Must be an integer greater than 1000.

        SQL Server

        Setting the IOPS value for the SQL Server database engine is not supported.

        Returns:
        The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.

        Constraints: Must be an integer greater than 1000.

        SQL Server

        Setting the IOPS value for the SQL Server database engine is not supported.

      • withIops

        public RestoreDBInstanceToPointInTimeRequest withIops​(Integer iops)

        The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.

        Constraints: Must be an integer greater than 1000.

        SQL Server

        Setting the IOPS value for the SQL Server database engine is not supported.

        Parameters:
        iops - The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.

        Constraints: Must be an integer greater than 1000.

        SQL Server

        Setting the IOPS value for the SQL Server database engine is not supported.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOptionGroupName

        public void setOptionGroupName​(String optionGroupName)

        The name of the option group to be used for the restored DB instance.

        Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance

        Parameters:
        optionGroupName - The name of the option group to be used for the restored DB instance.

        Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance

      • getOptionGroupName

        public String getOptionGroupName()

        The name of the option group to be used for the restored DB instance.

        Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance

        Returns:
        The name of the option group to be used for the restored DB instance.

        Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance

      • withOptionGroupName

        public RestoreDBInstanceToPointInTimeRequest withOptionGroupName​(String optionGroupName)

        The name of the option group to be used for the restored DB instance.

        Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance

        Parameters:
        optionGroupName - The name of the option group to be used for the restored DB instance.

        Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCopyTagsToSnapshot

        public void setCopyTagsToSnapshot​(Boolean copyTagsToSnapshot)

        True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.

        Parameters:
        copyTagsToSnapshot - True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.
      • getCopyTagsToSnapshot

        public Boolean getCopyTagsToSnapshot()

        True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.

        Returns:
        True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.
      • withCopyTagsToSnapshot

        public RestoreDBInstanceToPointInTimeRequest withCopyTagsToSnapshot​(Boolean copyTagsToSnapshot)

        True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.

        Parameters:
        copyTagsToSnapshot - True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isCopyTagsToSnapshot

        public Boolean isCopyTagsToSnapshot()

        True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.

        Returns:
        True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.
      • getTags

        public List<Tag> getTags()
        Returns:
      • setTags

        public void setTags​(Collection<Tag> tags)
        Parameters:
        tags -
      • setStorageType

        public void setStorageType​(String storageType)

        Specifies the storage type to be associated with the DB instance.

        Valid values: standard | gp2 | io1

        If you specify io1, you must also include a value for the Iops parameter.

        Default: io1 if the Iops parameter is specified; otherwise standard

        Parameters:
        storageType - Specifies the storage type to be associated with the DB instance.

        Valid values: standard | gp2 | io1

        If you specify io1, you must also include a value for the Iops parameter.

        Default: io1 if the Iops parameter is specified; otherwise standard

      • getStorageType

        public String getStorageType()

        Specifies the storage type to be associated with the DB instance.

        Valid values: standard | gp2 | io1

        If you specify io1, you must also include a value for the Iops parameter.

        Default: io1 if the Iops parameter is specified; otherwise standard

        Returns:
        Specifies the storage type to be associated with the DB instance.

        Valid values: standard | gp2 | io1

        If you specify io1, you must also include a value for the Iops parameter.

        Default: io1 if the Iops parameter is specified; otherwise standard

      • withStorageType

        public RestoreDBInstanceToPointInTimeRequest withStorageType​(String storageType)

        Specifies the storage type to be associated with the DB instance.

        Valid values: standard | gp2 | io1

        If you specify io1, you must also include a value for the Iops parameter.

        Default: io1 if the Iops parameter is specified; otherwise standard

        Parameters:
        storageType - Specifies the storage type to be associated with the DB instance.

        Valid values: standard | gp2 | io1

        If you specify io1, you must also include a value for the Iops parameter.

        Default: io1 if the Iops parameter is specified; otherwise standard

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTdeCredentialArn

        public void setTdeCredentialArn​(String 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.
      • getTdeCredentialArn

        public String getTdeCredentialArn()

        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.
      • withTdeCredentialArn

        public RestoreDBInstanceToPointInTimeRequest withTdeCredentialArn​(String 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.
      • setTdeCredentialPassword

        public void setTdeCredentialPassword​(String tdeCredentialPassword)

        The password for the given ARN from the Key Store in order to access the device.

        Parameters:
        tdeCredentialPassword - The password for the given ARN from the Key Store in order to access the device.
      • getTdeCredentialPassword

        public String getTdeCredentialPassword()

        The password for the given ARN from the Key Store in order to access the device.

        Returns:
        The password for the given ARN from the Key Store in order to access the device.
      • withTdeCredentialPassword

        public RestoreDBInstanceToPointInTimeRequest withTdeCredentialPassword​(String tdeCredentialPassword)

        The password for the given ARN from the Key Store in order to access the device.

        Parameters:
        tdeCredentialPassword - The password for the given ARN from the Key Store in order to access the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDomain

        public void setDomain​(String domain)

        Specify the Active Directory Domain to restore the instance in.

        Parameters:
        domain - Specify the Active Directory Domain to restore the instance in.
      • getDomain

        public String getDomain()

        Specify the Active Directory Domain to restore the instance in.

        Returns:
        Specify the Active Directory Domain to restore the instance in.
      • withDomain

        public RestoreDBInstanceToPointInTimeRequest withDomain​(String domain)

        Specify the Active Directory Domain to restore the instance in.

        Parameters:
        domain - Specify the Active Directory Domain to restore the instance in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDomainIAMRoleName

        public void setDomainIAMRoleName​(String domainIAMRoleName)

        Specify the name of the IAM role to be used when making API calls to the Directory Service.

        Parameters:
        domainIAMRoleName - Specify the name of the IAM role to be used when making API calls to the Directory Service.
      • getDomainIAMRoleName

        public String getDomainIAMRoleName()

        Specify the name of the IAM role to be used when making API calls to the Directory Service.

        Returns:
        Specify the name of the IAM role to be used when making API calls to the Directory Service.
      • withDomainIAMRoleName

        public RestoreDBInstanceToPointInTimeRequest withDomainIAMRoleName​(String domainIAMRoleName)

        Specify the name of the IAM role to be used when making API calls to the Directory Service.

        Parameters:
        domainIAMRoleName - Specify the name of the IAM role to be used when making API calls to the Directory Service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object