Interface DBInstance.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DBInstance.Builder,DBInstance>, SdkBuilder<DBInstance.Builder,DBInstance>, SdkPojo
Enclosing class:
DBInstance

public static interface DBInstance.Builder extends SdkPojo, CopyableBuilder<DBInstance.Builder,DBInstance>
  • Method Details

    • dbInstanceIdentifier

      DBInstance.Builder dbInstanceIdentifier(String dbInstanceIdentifier)

      Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance.

      Parameters:
      dbInstanceIdentifier - Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbInstanceClass

      DBInstance.Builder dbInstanceClass(String dbInstanceClass)

      Contains the name of the compute and memory capacity class of the DB instance.

      Parameters:
      dbInstanceClass - Contains the name of the compute and memory capacity class of the DB instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engine

      DBInstance.Builder engine(String engine)

      Provides the name of the database engine to be used for this DB instance.

      Parameters:
      engine - Provides the name of the database engine to be used for this DB instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbInstanceStatus

      DBInstance.Builder dbInstanceStatus(String dbInstanceStatus)

      Specifies the current state of this database.

      Parameters:
      dbInstanceStatus - Specifies the current state of this database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • masterUsername

      DBInstance.Builder masterUsername(String masterUsername)

      Not supported by Neptune.

      Parameters:
      masterUsername - Not supported by Neptune.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbName

      DBInstance.Builder dbName(String dbName)

      The database name.

      Parameters:
      dbName - The database name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoint

      DBInstance.Builder endpoint(Endpoint endpoint)

      Specifies the connection endpoint.

      Parameters:
      endpoint - Specifies the connection endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoint

      default DBInstance.Builder endpoint(Consumer<Endpoint.Builder> endpoint)

      Specifies the connection endpoint.

      This is a convenience method that creates an instance of the Endpoint.Builder avoiding the need to create one manually via Endpoint.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to endpoint(Endpoint).

      Parameters:
      endpoint - a consumer that will call methods on Endpoint.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • allocatedStorage

      DBInstance.Builder allocatedStorage(Integer allocatedStorage)

      Not supported by Neptune.

      Parameters:
      allocatedStorage - Not supported by Neptune.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceCreateTime

      DBInstance.Builder instanceCreateTime(Instant instanceCreateTime)

      Provides the date and time the DB instance was created.

      Parameters:
      instanceCreateTime - Provides the date and time the DB instance was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • preferredBackupWindow

      DBInstance.Builder preferredBackupWindow(String preferredBackupWindow)

      Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.

      Parameters:
      preferredBackupWindow - Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupRetentionPeriod

      DBInstance.Builder backupRetentionPeriod(Integer backupRetentionPeriod)

      Specifies the number of days for which automatic DB snapshots are retained.

      Parameters:
      backupRetentionPeriod - Specifies the number of days for which automatic DB snapshots are retained.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbSecurityGroups

      DBInstance.Builder dbSecurityGroups(Collection<DBSecurityGroupMembership> dbSecurityGroups)

      Provides List of DB security group elements containing only DBSecurityGroup.Name and DBSecurityGroup.Status subelements.

      Parameters:
      dbSecurityGroups - Provides List of DB security group elements containing only DBSecurityGroup.Name and DBSecurityGroup.Status subelements.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbSecurityGroups

      DBInstance.Builder dbSecurityGroups(DBSecurityGroupMembership... dbSecurityGroups)

      Provides List of DB security group elements containing only DBSecurityGroup.Name and DBSecurityGroup.Status subelements.

      Parameters:
      dbSecurityGroups - Provides List of DB security group elements containing only DBSecurityGroup.Name and DBSecurityGroup.Status subelements.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbSecurityGroups

      DBInstance.Builder dbSecurityGroups(Consumer<DBSecurityGroupMembership.Builder>... dbSecurityGroups)

      Provides List of DB security group elements containing only DBSecurityGroup.Name and DBSecurityGroup.Status subelements.

      This is a convenience method that creates an instance of the DBSecurityGroupMembership.Builder avoiding the need to create one manually via DBSecurityGroupMembership.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dbSecurityGroups(List<DBSecurityGroupMembership>).

      Parameters:
      dbSecurityGroups - a consumer that will call methods on DBSecurityGroupMembership.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • vpcSecurityGroups

      DBInstance.Builder vpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)

      Provides a list of VPC security group elements that the DB instance belongs to.

      Parameters:
      vpcSecurityGroups - Provides a list of VPC security group elements that the DB instance belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcSecurityGroups

      DBInstance.Builder vpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups)

      Provides a list of VPC security group elements that the DB instance belongs to.

      Parameters:
      vpcSecurityGroups - Provides a list of VPC security group elements that the DB instance belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcSecurityGroups

      DBInstance.Builder vpcSecurityGroups(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups)

      Provides a list of VPC security group elements that the DB instance belongs to.

      This is a convenience method that creates an instance of the VpcSecurityGroupMembership.Builder avoiding the need to create one manually via VpcSecurityGroupMembership.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vpcSecurityGroups(List<VpcSecurityGroupMembership>).

      Parameters:
      vpcSecurityGroups - a consumer that will call methods on VpcSecurityGroupMembership.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dbParameterGroups

      DBInstance.Builder dbParameterGroups(Collection<DBParameterGroupStatus> dbParameterGroups)

      Provides the list of DB parameter groups applied to this DB instance.

      Parameters:
      dbParameterGroups - Provides the list of DB parameter groups applied to this DB instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbParameterGroups

      DBInstance.Builder dbParameterGroups(DBParameterGroupStatus... dbParameterGroups)

      Provides the list of DB parameter groups applied to this DB instance.

      Parameters:
      dbParameterGroups - Provides the list of DB parameter groups applied to this DB instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbParameterGroups

      DBInstance.Builder dbParameterGroups(Consumer<DBParameterGroupStatus.Builder>... dbParameterGroups)

      Provides the list of DB parameter groups applied to this DB instance.

      This is a convenience method that creates an instance of the DBParameterGroupStatus.Builder avoiding the need to create one manually via DBParameterGroupStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dbParameterGroups(List<DBParameterGroupStatus>).

      Parameters:
      dbParameterGroups - a consumer that will call methods on DBParameterGroupStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • availabilityZone

      DBInstance.Builder availabilityZone(String availabilityZone)

      Specifies the name of the Availability Zone the DB instance is located in.

      Parameters:
      availabilityZone - Specifies the name of the Availability Zone the DB instance is located in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbSubnetGroup

      DBInstance.Builder dbSubnetGroup(DBSubnetGroup dbSubnetGroup)

      Specifies information on the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group.

      Parameters:
      dbSubnetGroup - Specifies information on the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbSubnetGroup

      default DBInstance.Builder dbSubnetGroup(Consumer<DBSubnetGroup.Builder> dbSubnetGroup)

      Specifies information on the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group.

      This is a convenience method that creates an instance of the DBSubnetGroup.Builder avoiding the need to create one manually via DBSubnetGroup.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dbSubnetGroup(DBSubnetGroup).

      Parameters:
      dbSubnetGroup - a consumer that will call methods on DBSubnetGroup.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • preferredMaintenanceWindow

      DBInstance.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)

      Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

      Parameters:
      preferredMaintenanceWindow - Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pendingModifiedValues

      DBInstance.Builder pendingModifiedValues(PendingModifiedValues pendingModifiedValues)

      Specifies that changes to the DB instance are pending. This element is only included when changes are pending. Specific changes are identified by subelements.

      Parameters:
      pendingModifiedValues - Specifies that changes to the DB instance are pending. This element is only included when changes are pending. Specific changes are identified by subelements.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pendingModifiedValues

      default DBInstance.Builder pendingModifiedValues(Consumer<PendingModifiedValues.Builder> pendingModifiedValues)

      Specifies that changes to the DB instance are pending. This element is only included when changes are pending. Specific changes are identified by subelements.

      This is a convenience method that creates an instance of the PendingModifiedValues.Builder avoiding the need to create one manually via PendingModifiedValues.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pendingModifiedValues(PendingModifiedValues).

      Parameters:
      pendingModifiedValues - a consumer that will call methods on PendingModifiedValues.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • latestRestorableTime

      DBInstance.Builder latestRestorableTime(Instant latestRestorableTime)

      Specifies the latest time to which a database can be restored with point-in-time restore.

      Parameters:
      latestRestorableTime - Specifies the latest time to which a database can be restored with point-in-time restore.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • multiAZ

      DBInstance.Builder multiAZ(Boolean multiAZ)

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

      Parameters:
      multiAZ - Specifies if the DB instance is a Multi-AZ deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engineVersion

      DBInstance.Builder engineVersion(String engineVersion)

      Indicates the database engine version.

      Parameters:
      engineVersion - Indicates the database engine version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoMinorVersionUpgrade

      DBInstance.Builder autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)

      Indicates that minor version patches are applied automatically.

      Parameters:
      autoMinorVersionUpgrade - Indicates that minor version patches are applied automatically.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • readReplicaSourceDBInstanceIdentifier

      DBInstance.Builder readReplicaSourceDBInstanceIdentifier(String readReplicaSourceDBInstanceIdentifier)

      Contains the identifier of the source DB instance if this DB instance is a Read Replica.

      Parameters:
      readReplicaSourceDBInstanceIdentifier - Contains the identifier of the source DB instance if this DB instance is a Read Replica.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • readReplicaDBInstanceIdentifiers

      DBInstance.Builder readReplicaDBInstanceIdentifiers(Collection<String> readReplicaDBInstanceIdentifiers)

      Contains one or more identifiers of the Read Replicas associated with this DB instance.

      Parameters:
      readReplicaDBInstanceIdentifiers - Contains one or more identifiers of the Read Replicas associated with this DB instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • readReplicaDBInstanceIdentifiers

      DBInstance.Builder readReplicaDBInstanceIdentifiers(String... readReplicaDBInstanceIdentifiers)

      Contains one or more identifiers of the Read Replicas associated with this DB instance.

      Parameters:
      readReplicaDBInstanceIdentifiers - Contains one or more identifiers of the Read Replicas associated with this DB instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • readReplicaDBClusterIdentifiers

      DBInstance.Builder readReplicaDBClusterIdentifiers(Collection<String> readReplicaDBClusterIdentifiers)

      Contains one or more identifiers of DB clusters that are Read Replicas of this DB instance.

      Parameters:
      readReplicaDBClusterIdentifiers - Contains one or more identifiers of DB clusters that are Read Replicas of this DB instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • readReplicaDBClusterIdentifiers

      DBInstance.Builder readReplicaDBClusterIdentifiers(String... readReplicaDBClusterIdentifiers)

      Contains one or more identifiers of DB clusters that are Read Replicas of this DB instance.

      Parameters:
      readReplicaDBClusterIdentifiers - Contains one or more identifiers of DB clusters that are Read Replicas of this DB instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • licenseModel

      DBInstance.Builder licenseModel(String licenseModel)

      License model information for this DB instance.

      Parameters:
      licenseModel - License model information for this DB instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iops

      Specifies the Provisioned IOPS (I/O operations per second) value.

      Parameters:
      iops - Specifies the Provisioned IOPS (I/O operations per second) value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • optionGroupMemberships

      DBInstance.Builder optionGroupMemberships(Collection<OptionGroupMembership> optionGroupMemberships)

      (Not supported by Neptune)

      Parameters:
      optionGroupMemberships - (Not supported by Neptune)
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • optionGroupMemberships

      DBInstance.Builder optionGroupMemberships(OptionGroupMembership... optionGroupMemberships)

      (Not supported by Neptune)

      Parameters:
      optionGroupMemberships - (Not supported by Neptune)
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • optionGroupMemberships

      DBInstance.Builder optionGroupMemberships(Consumer<OptionGroupMembership.Builder>... optionGroupMemberships)

      (Not supported by Neptune)

      This is a convenience method that creates an instance of the OptionGroupMembership.Builder avoiding the need to create one manually via OptionGroupMembership.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to optionGroupMemberships(List<OptionGroupMembership>).

      Parameters:
      optionGroupMemberships - a consumer that will call methods on OptionGroupMembership.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • characterSetName

      DBInstance.Builder characterSetName(String characterSetName)

      (Not supported by Neptune)

      Parameters:
      characterSetName - (Not supported by Neptune)
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • secondaryAvailabilityZone

      DBInstance.Builder secondaryAvailabilityZone(String secondaryAvailabilityZone)

      If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support.

      Parameters:
      secondaryAvailabilityZone - If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publiclyAccessible

      @Deprecated DBInstance.Builder publiclyAccessible(Boolean publiclyAccessible)
      Deprecated.

      This flag should no longer be used.

      Parameters:
      publiclyAccessible - This flag should no longer be used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusInfos

      The status of a Read Replica. If the instance is not a Read Replica, this is blank.

      Parameters:
      statusInfos - The status of a Read Replica. If the instance is not a Read Replica, this is blank.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusInfos

      DBInstance.Builder statusInfos(DBInstanceStatusInfo... statusInfos)

      The status of a Read Replica. If the instance is not a Read Replica, this is blank.

      Parameters:
      statusInfos - The status of a Read Replica. If the instance is not a Read Replica, this is blank.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusInfos

      The status of a Read Replica. If the instance is not a Read Replica, this is blank.

      This is a convenience method that creates an instance of the DBInstanceStatusInfo.Builder avoiding the need to create one manually via DBInstanceStatusInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to statusInfos(List<DBInstanceStatusInfo>).

      Parameters:
      statusInfos - a consumer that will call methods on DBInstanceStatusInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • storageType

      DBInstance.Builder storageType(String storageType)

      Specifies the storage type associated with DB instance.

      Parameters:
      storageType - Specifies the storage type associated with DB instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tdeCredentialArn

      DBInstance.Builder tdeCredentialArn(String tdeCredentialArn)

      The ARN from the key store with which the instance is associated for TDE encryption.

      Parameters:
      tdeCredentialArn - The ARN from the key store with which the instance is associated for TDE encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbInstancePort

      DBInstance.Builder dbInstancePort(Integer dbInstancePort)

      Specifies the port that the DB instance listens on. If the DB instance is part of a DB cluster, this can be a different port than the DB cluster port.

      Parameters:
      dbInstancePort - Specifies the port that the DB instance listens on. If the DB instance is part of a DB cluster, this can be a different port than the DB cluster port.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbClusterIdentifier

      DBInstance.Builder dbClusterIdentifier(String dbClusterIdentifier)

      If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.

      Parameters:
      dbClusterIdentifier - If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageEncrypted

      DBInstance.Builder storageEncrypted(Boolean storageEncrypted)

      Not supported: The encryption for DB instances is managed by the DB cluster.

      Parameters:
      storageEncrypted - Not supported: The encryption for DB instances is managed by the DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyId

      DBInstance.Builder kmsKeyId(String kmsKeyId)

      Not supported: The encryption for DB instances is managed by the DB cluster.

      Parameters:
      kmsKeyId - Not supported: The encryption for DB instances is managed by the DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbiResourceId

      DBInstance.Builder dbiResourceId(String dbiResourceId)

      The Amazon Region-unique, immutable identifier for the DB instance. This identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key for the DB instance is accessed.

      Parameters:
      dbiResourceId - The Amazon Region-unique, immutable identifier for the DB instance. This identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key for the DB instance is accessed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • caCertificateIdentifier

      DBInstance.Builder caCertificateIdentifier(String caCertificateIdentifier)

      The identifier of the CA certificate for this DB instance.

      Parameters:
      caCertificateIdentifier - The identifier of the CA certificate for this DB instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainMemberships

      DBInstance.Builder domainMemberships(Collection<DomainMembership> domainMemberships)

      Not supported

      Parameters:
      domainMemberships - Not supported
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainMemberships

      DBInstance.Builder domainMemberships(DomainMembership... domainMemberships)

      Not supported

      Parameters:
      domainMemberships - Not supported
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainMemberships

      DBInstance.Builder domainMemberships(Consumer<DomainMembership.Builder>... domainMemberships)

      Not supported

      This is a convenience method that creates an instance of the DomainMembership.Builder avoiding the need to create one manually via DomainMembership.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to domainMemberships(List<DomainMembership>).

      Parameters:
      domainMemberships - a consumer that will call methods on DomainMembership.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • copyTagsToSnapshot

      DBInstance.Builder copyTagsToSnapshot(Boolean copyTagsToSnapshot)

      Specifies whether tags are copied from the DB instance to snapshots of the DB instance.

      Parameters:
      copyTagsToSnapshot - Specifies whether tags are copied from the DB instance to snapshots of the DB instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • monitoringInterval

      DBInstance.Builder monitoringInterval(Integer monitoringInterval)

      The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.

      Parameters:
      monitoringInterval - The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enhancedMonitoringResourceArn

      DBInstance.Builder enhancedMonitoringResourceArn(String enhancedMonitoringResourceArn)

      The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that receives the Enhanced Monitoring metrics data for the DB instance.

      Parameters:
      enhancedMonitoringResourceArn - The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that receives the Enhanced Monitoring metrics data for the DB instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • monitoringRoleArn

      DBInstance.Builder monitoringRoleArn(String monitoringRoleArn)

      The ARN for the IAM role that permits Neptune to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.

      Parameters:
      monitoringRoleArn - The ARN for the IAM role that permits Neptune to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • promotionTier

      DBInstance.Builder promotionTier(Integer promotionTier)

      A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of the existing primary instance.

      Parameters:
      promotionTier - A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of the existing primary instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbInstanceArn

      DBInstance.Builder dbInstanceArn(String dbInstanceArn)

      The Amazon Resource Name (ARN) for the DB instance.

      Parameters:
      dbInstanceArn - The Amazon Resource Name (ARN) for the DB instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timezone

      DBInstance.Builder timezone(String timezone)

      Not supported.

      Parameters:
      timezone - Not supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iamDatabaseAuthenticationEnabled

      DBInstance.Builder iamDatabaseAuthenticationEnabled(Boolean iamDatabaseAuthenticationEnabled)

      True if Amazon Identity and Access Management (IAM) authentication is enabled, and otherwise false.

      Parameters:
      iamDatabaseAuthenticationEnabled - True if Amazon Identity and Access Management (IAM) authentication is enabled, and otherwise false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • performanceInsightsEnabled

      DBInstance.Builder performanceInsightsEnabled(Boolean performanceInsightsEnabled)

      (Not supported by Neptune)

      Parameters:
      performanceInsightsEnabled - (Not supported by Neptune)
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • performanceInsightsKMSKeyId

      DBInstance.Builder performanceInsightsKMSKeyId(String performanceInsightsKMSKeyId)

      (Not supported by Neptune)

      Parameters:
      performanceInsightsKMSKeyId - (Not supported by Neptune)
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabledCloudwatchLogsExports

      DBInstance.Builder enabledCloudwatchLogsExports(Collection<String> enabledCloudwatchLogsExports)

      A list of log types that this DB instance is configured to export to CloudWatch Logs.

      Parameters:
      enabledCloudwatchLogsExports - A list of log types that this DB instance is configured to export to CloudWatch Logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabledCloudwatchLogsExports

      DBInstance.Builder enabledCloudwatchLogsExports(String... enabledCloudwatchLogsExports)

      A list of log types that this DB instance is configured to export to CloudWatch Logs.

      Parameters:
      enabledCloudwatchLogsExports - A list of log types that this DB instance is configured to export to CloudWatch Logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deletionProtection

      DBInstance.Builder deletionProtection(Boolean deletionProtection)

      Indicates whether or not the DB instance has deletion protection enabled. The instance can't be deleted when deletion protection is enabled. See Deleting a DB Instance.

      Parameters:
      deletionProtection - Indicates whether or not the DB instance has deletion protection enabled. The instance can't be deleted when deletion protection is enabled. See Deleting a DB Instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.