Interface RdsConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RdsConfiguration.Builder,RdsConfiguration>,SdkBuilder<RdsConfiguration.Builder,RdsConfiguration>,SdkPojo
- Enclosing class:
- RdsConfiguration
public static interface RdsConfiguration.Builder extends SdkPojo, CopyableBuilder<RdsConfiguration.Builder,RdsConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RdsConfiguration.BuildercredentialsSecretArn(String credentialsSecretArn)Sets the value of the CredentialsSecretArn property for this object.RdsConfiguration.BuilderdatabaseName(String databaseName)Sets the value of the DatabaseName property for this object.default RdsConfiguration.BuilderfieldMapping(Consumer<RdsFieldMapping.Builder> fieldMapping)Sets the value of the FieldMapping property for this object.RdsConfiguration.BuilderfieldMapping(RdsFieldMapping fieldMapping)Sets the value of the FieldMapping property for this object.RdsConfiguration.BuilderresourceArn(String resourceArn)Sets the value of the ResourceArn property for this object.RdsConfiguration.BuildertableName(String tableName)Sets the value of the TableName property for this object.-
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 Detail
-
resourceArn
RdsConfiguration.Builder resourceArn(String resourceArn)
Sets the value of the ResourceArn property for this object.- Parameters:
resourceArn- The new value for the ResourceArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialsSecretArn
RdsConfiguration.Builder credentialsSecretArn(String credentialsSecretArn)
Sets the value of the CredentialsSecretArn property for this object.- Parameters:
credentialsSecretArn- The new value for the CredentialsSecretArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
RdsConfiguration.Builder databaseName(String databaseName)
Sets the value of the DatabaseName property for this object.- Parameters:
databaseName- The new value for the DatabaseName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
RdsConfiguration.Builder tableName(String tableName)
Sets the value of the TableName property for this object.- Parameters:
tableName- The new value for the TableName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMapping
RdsConfiguration.Builder fieldMapping(RdsFieldMapping fieldMapping)
Sets the value of the FieldMapping property for this object.- Parameters:
fieldMapping- The new value for the FieldMapping property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMapping
default RdsConfiguration.Builder fieldMapping(Consumer<RdsFieldMapping.Builder> fieldMapping)
Sets the value of the FieldMapping property for this object. This is a convenience method that creates an instance of theRdsFieldMapping.Builderavoiding the need to create one manually viaRdsFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofieldMapping(RdsFieldMapping).- Parameters:
fieldMapping- a consumer that will call methods onRdsFieldMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fieldMapping(RdsFieldMapping)
-
-