Interface CreateDbParameterGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateDbParameterGroupResponse.Builder,,CreateDbParameterGroupResponse> RdsResponse.Builder,SdkBuilder<CreateDbParameterGroupResponse.Builder,,CreateDbParameterGroupResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateDbParameterGroupResponse
@Mutable
@NotThreadSafe
public static interface CreateDbParameterGroupResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<CreateDbParameterGroupResponse.Builder,CreateDbParameterGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbParameterGroup(Consumer<DBParameterGroup.Builder> dbParameterGroup) Sets the value of the DBParameterGroup property for this object.dbParameterGroup(DBParameterGroup dbParameterGroup) Sets the value of the DBParameterGroup property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
dbParameterGroup
Sets the value of the DBParameterGroup property for this object.- Parameters:
dbParameterGroup- The new value for the DBParameterGroup property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbParameterGroup
default CreateDbParameterGroupResponse.Builder dbParameterGroup(Consumer<DBParameterGroup.Builder> dbParameterGroup) Sets the value of the DBParameterGroup property for this object. This is a convenience method that creates an instance of theDBParameterGroup.Builderavoiding the need to create one manually viaDBParameterGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todbParameterGroup(DBParameterGroup).- Parameters:
dbParameterGroup- a consumer that will call methods onDBParameterGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-