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 Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description DBInstance.BuilderallocatedStorage(Integer allocatedStorage)Not supported by Neptune.DBInstance.BuilderautoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)Indicates that minor version patches are applied automatically.DBInstance.BuilderavailabilityZone(String availabilityZone)Specifies the name of the Availability Zone the DB instance is located in.DBInstance.BuilderbackupRetentionPeriod(Integer backupRetentionPeriod)Specifies the number of days for which automatic DB snapshots are retained.DBInstance.BuildercaCertificateIdentifier(String caCertificateIdentifier)The identifier of the CA certificate for this DB instance.DBInstance.BuildercharacterSetName(String characterSetName)(Not supported by Neptune)DBInstance.BuildercopyTagsToSnapshot(Boolean copyTagsToSnapshot)Specifies whether tags are copied from the DB instance to snapshots of the DB instance.DBInstance.BuilderdbClusterIdentifier(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.DBInstance.BuilderdbInstanceArn(String dbInstanceArn)The Amazon Resource Name (ARN) for the DB instance.DBInstance.BuilderdbInstanceClass(String dbInstanceClass)Contains the name of the compute and memory capacity class of the DB instance.DBInstance.BuilderdbInstanceIdentifier(String dbInstanceIdentifier)Contains a user-supplied database identifier.DBInstance.BuilderdbInstancePort(Integer dbInstancePort)Specifies the port that the DB instance listens on.DBInstance.BuilderdbInstanceStatus(String dbInstanceStatus)Specifies the current state of this database.DBInstance.BuilderdbiResourceId(String dbiResourceId)The Amazon Region-unique, immutable identifier for the DB instance.DBInstance.BuilderdbName(String dbName)The database name.DBInstance.BuilderdbParameterGroups(Collection<DBParameterGroupStatus> dbParameterGroups)Provides the list of DB parameter groups applied to this DB instance.DBInstance.BuilderdbParameterGroups(Consumer<DBParameterGroupStatus.Builder>... dbParameterGroups)Provides the list of DB parameter groups applied to this DB instance.DBInstance.BuilderdbParameterGroups(DBParameterGroupStatus... dbParameterGroups)Provides the list of DB parameter groups applied to this DB instance.DBInstance.BuilderdbSecurityGroups(Collection<DBSecurityGroupMembership> dbSecurityGroups)Provides List of DB security group elements containing onlyDBSecurityGroup.NameandDBSecurityGroup.Statussubelements.DBInstance.BuilderdbSecurityGroups(Consumer<DBSecurityGroupMembership.Builder>... dbSecurityGroups)Provides List of DB security group elements containing onlyDBSecurityGroup.NameandDBSecurityGroup.Statussubelements.DBInstance.BuilderdbSecurityGroups(DBSecurityGroupMembership... dbSecurityGroups)Provides List of DB security group elements containing onlyDBSecurityGroup.NameandDBSecurityGroup.Statussubelements.default DBInstance.BuilderdbSubnetGroup(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.DBInstance.BuilderdbSubnetGroup(DBSubnetGroup dbSubnetGroup)Specifies information on the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group.DBInstance.BuilderdeletionProtection(Boolean deletionProtection)Indicates whether or not the DB instance has deletion protection enabled.DBInstance.BuilderdomainMemberships(Collection<DomainMembership> domainMemberships)Not supportedDBInstance.BuilderdomainMemberships(Consumer<DomainMembership.Builder>... domainMemberships)Not supportedDBInstance.BuilderdomainMemberships(DomainMembership... domainMemberships)Not supportedDBInstance.BuilderenabledCloudwatchLogsExports(String... enabledCloudwatchLogsExports)A list of log types that this DB instance is configured to export to CloudWatch Logs.DBInstance.BuilderenabledCloudwatchLogsExports(Collection<String> enabledCloudwatchLogsExports)A list of log types that this DB instance is configured to export to CloudWatch Logs.default DBInstance.Builderendpoint(Consumer<Endpoint.Builder> endpoint)Specifies the connection endpoint.DBInstance.Builderendpoint(Endpoint endpoint)Specifies the connection endpoint.DBInstance.Builderengine(String engine)Provides the name of the database engine to be used for this DB instance.DBInstance.BuilderengineVersion(String engineVersion)Indicates the database engine version.DBInstance.BuilderenhancedMonitoringResourceArn(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.DBInstance.BuilderiamDatabaseAuthenticationEnabled(Boolean iamDatabaseAuthenticationEnabled)True if Amazon Identity and Access Management (IAM) authentication is enabled, and otherwise false.DBInstance.BuilderinstanceCreateTime(Instant instanceCreateTime)Provides the date and time the DB instance was created.DBInstance.Builderiops(Integer iops)Specifies the Provisioned IOPS (I/O operations per second) value.DBInstance.BuilderkmsKeyId(String kmsKeyId)Not supported: The encryption for DB instances is managed by the DB cluster.DBInstance.BuilderlatestRestorableTime(Instant latestRestorableTime)Specifies the latest time to which a database can be restored with point-in-time restore.DBInstance.BuilderlicenseModel(String licenseModel)License model information for this DB instance.DBInstance.BuildermasterUsername(String masterUsername)Not supported by Neptune.DBInstance.BuildermonitoringInterval(Integer monitoringInterval)The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.DBInstance.BuildermonitoringRoleArn(String monitoringRoleArn)The ARN for the IAM role that permits Neptune to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.DBInstance.BuildermultiAZ(Boolean multiAZ)Specifies if the DB instance is a Multi-AZ deployment.DBInstance.BuilderoptionGroupMemberships(Collection<OptionGroupMembership> optionGroupMemberships)(Not supported by Neptune)DBInstance.BuilderoptionGroupMemberships(Consumer<OptionGroupMembership.Builder>... optionGroupMemberships)(Not supported by Neptune)DBInstance.BuilderoptionGroupMemberships(OptionGroupMembership... optionGroupMemberships)(Not supported by Neptune)default DBInstance.BuilderpendingModifiedValues(Consumer<PendingModifiedValues.Builder> pendingModifiedValues)Specifies that changes to the DB instance are pending.DBInstance.BuilderpendingModifiedValues(PendingModifiedValues pendingModifiedValues)Specifies that changes to the DB instance are pending.DBInstance.BuilderperformanceInsightsEnabled(Boolean performanceInsightsEnabled)(Not supported by Neptune)DBInstance.BuilderperformanceInsightsKMSKeyId(String performanceInsightsKMSKeyId)(Not supported by Neptune)DBInstance.BuilderpreferredBackupWindow(String preferredBackupWindow)Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by theBackupRetentionPeriod.DBInstance.BuilderpreferredMaintenanceWindow(String preferredMaintenanceWindow)Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).DBInstance.BuilderpromotionTier(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.DBInstance.BuilderpubliclyAccessible(Boolean publiclyAccessible)Deprecated.DBInstance.BuilderreadReplicaDBClusterIdentifiers(String... readReplicaDBClusterIdentifiers)Contains one or more identifiers of DB clusters that are Read Replicas of this DB instance.DBInstance.BuilderreadReplicaDBClusterIdentifiers(Collection<String> readReplicaDBClusterIdentifiers)Contains one or more identifiers of DB clusters that are Read Replicas of this DB instance.DBInstance.BuilderreadReplicaDBInstanceIdentifiers(String... readReplicaDBInstanceIdentifiers)Contains one or more identifiers of the Read Replicas associated with this DB instance.DBInstance.BuilderreadReplicaDBInstanceIdentifiers(Collection<String> readReplicaDBInstanceIdentifiers)Contains one or more identifiers of the Read Replicas associated with this DB instance.DBInstance.BuilderreadReplicaSourceDBInstanceIdentifier(String readReplicaSourceDBInstanceIdentifier)Contains the identifier of the source DB instance if this DB instance is a Read Replica.DBInstance.BuildersecondaryAvailabilityZone(String secondaryAvailabilityZone)If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support.DBInstance.BuilderstatusInfos(Collection<DBInstanceStatusInfo> statusInfos)The status of a Read Replica.DBInstance.BuilderstatusInfos(Consumer<DBInstanceStatusInfo.Builder>... statusInfos)The status of a Read Replica.DBInstance.BuilderstatusInfos(DBInstanceStatusInfo... statusInfos)The status of a Read Replica.DBInstance.BuilderstorageEncrypted(Boolean storageEncrypted)Not supported: The encryption for DB instances is managed by the DB cluster.DBInstance.BuilderstorageType(String storageType)Specifies the storage type associated with DB instance.DBInstance.BuildertdeCredentialArn(String tdeCredentialArn)The ARN from the key store with which the instance is associated for TDE encryption.DBInstance.Buildertimezone(String timezone)Not supported.DBInstance.BuildervpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)Provides a list of VPC security group elements that the DB instance belongs to.DBInstance.BuildervpcSecurityGroups(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups)Provides a list of VPC security group elements that the DB instance belongs to.DBInstance.BuildervpcSecurityGroups(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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 theEndpoint.Builderavoiding the need to create one manually viaEndpoint.builder().When the
Consumercompletes,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:
endpoint(Endpoint)
-
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 theBackupRetentionPeriod.- 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.NameandDBSecurityGroup.Statussubelements.- Parameters:
dbSecurityGroups- Provides List of DB security group elements containing onlyDBSecurityGroup.NameandDBSecurityGroup.Statussubelements.- 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.NameandDBSecurityGroup.Statussubelements.- Parameters:
dbSecurityGroups- Provides List of DB security group elements containing onlyDBSecurityGroup.NameandDBSecurityGroup.Statussubelements.- 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.NameandDBSecurityGroup.Statussubelements.DBSecurityGroupMembership.Builderavoiding the need to create one manually viaDBSecurityGroupMembership.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dbSecurityGroups(List.) - 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:
#dbSecurityGroups(java.util.Collection)
-
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 theVpcSecurityGroupMembership.Builderavoiding the need to create one manually viaVpcSecurityGroupMembership.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#vpcSecurityGroups(List.) - 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:
#vpcSecurityGroups(java.util.Collection)
-
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 theDBParameterGroupStatus.Builderavoiding the need to create one manually viaDBParameterGroupStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dbParameterGroups(List.) - 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:
#dbParameterGroups(java.util.Collection)
-
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 theDBSubnetGroup.Builderavoiding the need to create one manually viaDBSubnetGroup.builder().When the
Consumercompletes,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:
dbSubnetGroup(DBSubnetGroup)
-
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 thePendingModifiedValues.Builderavoiding the need to create one manually viaPendingModifiedValues.builder().When the
Consumercompletes,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:
pendingModifiedValues(PendingModifiedValues)
-
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
DBInstance.Builder iops(Integer 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 theOptionGroupMembership.Builderavoiding the need to create one manually viaOptionGroupMembership.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#optionGroupMemberships(List.) - 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:
#optionGroupMemberships(java.util.Collection)
-
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
DBInstance.Builder statusInfos(Collection<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
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
DBInstance.Builder statusInfos(Consumer<DBInstanceStatusInfo.Builder>... 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.Builderavoiding the need to create one manually viaDBInstanceStatusInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#statusInfos(List.) - 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:
#statusInfos(java.util.Collection)
-
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 theDomainMembership.Builderavoiding the need to create one manually viaDomainMembership.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#domainMemberships(List.) - 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:
#domainMemberships(java.util.Collection)
-
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.
-
-