Interface DBInstance.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DBInstance.Builder,
,DBInstance> SdkBuilder<DBInstance.Builder,
,DBInstance> SdkPojo
- Enclosing class:
DBInstance
-
Method Summary
Modifier and TypeMethodDescriptionallocatedStorage
(Integer allocatedStorage) Not supported by Neptune.autoMinorVersionUpgrade
(Boolean autoMinorVersionUpgrade) Indicates that minor version patches are applied automatically.availabilityZone
(String availabilityZone) Specifies the name of the Availability Zone the DB instance is located in.backupRetentionPeriod
(Integer backupRetentionPeriod) Specifies the number of days for which automatic DB snapshots are retained.caCertificateIdentifier
(String caCertificateIdentifier) The identifier of the CA certificate for this DB instance.characterSetName
(String characterSetName) (Not supported by Neptune)copyTagsToSnapshot
(Boolean copyTagsToSnapshot) Specifies whether tags are copied from the DB instance to snapshots of the DB instance.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.dbInstanceArn
(String dbInstanceArn) The Amazon Resource Name (ARN) for the DB instance.dbInstanceClass
(String dbInstanceClass) Contains the name of the compute and memory capacity class of the DB instance.dbInstanceIdentifier
(String dbInstanceIdentifier) Contains a user-supplied database identifier.dbInstancePort
(Integer dbInstancePort) Specifies the port that the DB instance listens on.dbInstanceStatus
(String dbInstanceStatus) Specifies the current state of this database.dbiResourceId
(String dbiResourceId) The Amazon Region-unique, immutable identifier for the DB instance.The database name.dbParameterGroups
(Collection<DBParameterGroupStatus> dbParameterGroups) Provides the list of DB parameter groups applied to this DB instance.dbParameterGroups
(Consumer<DBParameterGroupStatus.Builder>... dbParameterGroups) Provides the list of DB parameter groups applied to this DB instance.dbParameterGroups
(DBParameterGroupStatus... dbParameterGroups) Provides the list of DB parameter groups applied to this DB instance.dbSecurityGroups
(Collection<DBSecurityGroupMembership> dbSecurityGroups) Provides List of DB security group elements containing onlyDBSecurityGroup.Name
andDBSecurityGroup.Status
subelements.dbSecurityGroups
(Consumer<DBSecurityGroupMembership.Builder>... dbSecurityGroups) Provides List of DB security group elements containing onlyDBSecurityGroup.Name
andDBSecurityGroup.Status
subelements.dbSecurityGroups
(DBSecurityGroupMembership... dbSecurityGroups) Provides List of DB security group elements containing onlyDBSecurityGroup.Name
andDBSecurityGroup.Status
subelements.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.dbSubnetGroup
(DBSubnetGroup dbSubnetGroup) Specifies information on the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group.deletionProtection
(Boolean deletionProtection) Indicates whether or not the DB instance has deletion protection enabled.domainMemberships
(Collection<DomainMembership> domainMemberships) Not supporteddomainMemberships
(Consumer<DomainMembership.Builder>... domainMemberships) Not supporteddomainMemberships
(DomainMembership... domainMemberships) Not supportedenabledCloudwatchLogsExports
(String... enabledCloudwatchLogsExports) A list of log types that this DB instance is configured to export to CloudWatch Logs.enabledCloudwatchLogsExports
(Collection<String> enabledCloudwatchLogsExports) A list of log types that this DB instance is configured to export to CloudWatch Logs.default DBInstance.Builder
endpoint
(Consumer<Endpoint.Builder> endpoint) Specifies the connection endpoint.Specifies the connection endpoint.Provides the name of the database engine to be used for this DB instance.engineVersion
(String engineVersion) Indicates the database engine version.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.iamDatabaseAuthenticationEnabled
(Boolean iamDatabaseAuthenticationEnabled) True if Amazon Identity and Access Management (IAM) authentication is enabled, and otherwise false.instanceCreateTime
(Instant instanceCreateTime) Provides the date and time the DB instance was created.Specifies the Provisioned IOPS (I/O operations per second) value.Not supported: The encryption for DB instances is managed by the DB cluster.latestRestorableTime
(Instant latestRestorableTime) Specifies the latest time to which a database can be restored with point-in-time restore.licenseModel
(String licenseModel) License model information for this DB instance.masterUsername
(String masterUsername) Not supported by Neptune.monitoringInterval
(Integer monitoringInterval) The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.monitoringRoleArn
(String monitoringRoleArn) The ARN for the IAM role that permits Neptune to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.Specifies if the DB instance is a Multi-AZ deployment.optionGroupMemberships
(Collection<OptionGroupMembership> optionGroupMemberships) (Not supported by Neptune)optionGroupMemberships
(Consumer<OptionGroupMembership.Builder>... optionGroupMemberships) (Not supported by Neptune)optionGroupMemberships
(OptionGroupMembership... optionGroupMemberships) (Not supported by Neptune)default DBInstance.Builder
pendingModifiedValues
(Consumer<PendingModifiedValues.Builder> pendingModifiedValues) Specifies that changes to the DB instance are pending.pendingModifiedValues
(PendingModifiedValues pendingModifiedValues) Specifies that changes to the DB instance are pending.performanceInsightsEnabled
(Boolean performanceInsightsEnabled) (Not supported by Neptune)performanceInsightsKMSKeyId
(String performanceInsightsKMSKeyId) (Not supported by Neptune)preferredBackupWindow
(String preferredBackupWindow) Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by theBackupRetentionPeriod
.preferredMaintenanceWindow
(String preferredMaintenanceWindow) Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).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.publiclyAccessible
(Boolean publiclyAccessible) Deprecated.readReplicaDBClusterIdentifiers
(String... readReplicaDBClusterIdentifiers) Contains one or more identifiers of DB clusters that are Read Replicas of this DB instance.readReplicaDBClusterIdentifiers
(Collection<String> readReplicaDBClusterIdentifiers) Contains one or more identifiers of DB clusters that are Read Replicas of this DB instance.readReplicaDBInstanceIdentifiers
(String... readReplicaDBInstanceIdentifiers) Contains one or more identifiers of the Read Replicas associated with this DB instance.readReplicaDBInstanceIdentifiers
(Collection<String> readReplicaDBInstanceIdentifiers) Contains one or more identifiers of the Read Replicas associated with this DB instance.readReplicaSourceDBInstanceIdentifier
(String readReplicaSourceDBInstanceIdentifier) Contains the identifier of the source DB instance if this DB instance is a Read Replica.secondaryAvailabilityZone
(String secondaryAvailabilityZone) If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support.statusInfos
(Collection<DBInstanceStatusInfo> statusInfos) The status of a Read Replica.statusInfos
(Consumer<DBInstanceStatusInfo.Builder>... statusInfos) The status of a Read Replica.statusInfos
(DBInstanceStatusInfo... statusInfos) The status of a Read Replica.storageEncrypted
(Boolean storageEncrypted) Not supported: The encryption for DB instances is managed by the DB cluster.storageType
(String storageType) Specifies the storage type associated with DB instance.tdeCredentialArn
(String tdeCredentialArn) The ARN from the key store with which the instance is associated for TDE encryption.Not supported.vpcSecurityGroups
(Collection<VpcSecurityGroupMembership> vpcSecurityGroups) Provides a list of VPC security group elements that the DB instance belongs to.vpcSecurityGroups
(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups) Provides a list of VPC security group elements that the DB instance belongs to.vpcSecurityGroups
(VpcSecurityGroupMembership... vpcSecurityGroups) Provides a list of VPC security group elements that the DB instance belongs to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
The database name.
- Parameters:
dbName
- The database name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
Specifies the connection endpoint.
This is a convenience method that creates an instance of theEndpoint.Builder
avoiding the need to create one manually viaEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpoint(Endpoint)
.- Parameters:
endpoint
- a consumer that will call methods onEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 theBackupRetentionPeriod
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
Provides List of DB security group elements containing only
DBSecurityGroup.Name
andDBSecurityGroup.Status
subelements.- Parameters:
dbSecurityGroups
- Provides List of DB security group elements containing onlyDBSecurityGroup.Name
andDBSecurityGroup.Status
subelements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSecurityGroups
Provides List of DB security group elements containing only
DBSecurityGroup.Name
andDBSecurityGroup.Status
subelements.- Parameters:
dbSecurityGroups
- Provides List of DB security group elements containing onlyDBSecurityGroup.Name
andDBSecurityGroup.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
This is a convenience method that creates an instance of theDBSecurityGroup.Name
andDBSecurityGroup.Status
subelements.DBSecurityGroupMembership.Builder
avoiding the need to create one manually viaDBSecurityGroupMembership.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbSecurityGroups(List<DBSecurityGroupMembership>)
.- Parameters:
dbSecurityGroups
- a consumer that will call methods onDBSecurityGroupMembership.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 theVpcSecurityGroupMembership.Builder
avoiding the need to create one manually viaVpcSecurityGroupMembership.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcSecurityGroups(List<VpcSecurityGroupMembership>)
.- Parameters:
vpcSecurityGroups
- a consumer that will call methods onVpcSecurityGroupMembership.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
Provides the list of DB parameter groups applied to this DB instance.
This is a convenience method that creates an instance of theDBParameterGroupStatus.Builder
avoiding the need to create one manually viaDBParameterGroupStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbParameterGroups(List<DBParameterGroupStatus>)
.- Parameters:
dbParameterGroups
- a consumer that will call methods onDBParameterGroupStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 theDBSubnetGroup.Builder
avoiding the need to create one manually viaDBSubnetGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbSubnetGroup(DBSubnetGroup)
.- Parameters:
dbSubnetGroup
- a consumer that will call methods onDBSubnetGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 thePendingModifiedValues.Builder
avoiding the need to create one manually viaPendingModifiedValues.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topendingModifiedValues(PendingModifiedValues)
.- Parameters:
pendingModifiedValues
- a consumer that will call methods onPendingModifiedValues.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
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
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
(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
(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 theOptionGroupMembership.Builder
avoiding the need to create one manually viaOptionGroupMembership.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptionGroupMemberships(List<OptionGroupMembership>)
.- Parameters:
optionGroupMemberships
- a consumer that will call methods onOptionGroupMembership.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.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
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 theDBInstanceStatusInfo.Builder
avoiding the need to create one manually viaDBInstanceStatusInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatusInfos(List<DBInstanceStatusInfo>)
.- Parameters:
statusInfos
- a consumer that will call methods onDBInstanceStatusInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
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
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
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
Not supported
- Parameters:
domainMemberships
- Not supported- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainMemberships
Not supported
- Parameters:
domainMemberships
- Not supported- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainMemberships
Not supported
This is a convenience method that creates an instance of theDomainMembership.Builder
avoiding the need to create one manually viaDomainMembership.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todomainMemberships(List<DomainMembership>)
.- Parameters:
domainMemberships
- a consumer that will call methods onDomainMembership.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
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
Not supported.
- Parameters:
timezone
- Not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
(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
(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
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
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
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.
-