Interface CreateDbParameterGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateDbParameterGroupResponse.Builder,
,CreateDbParameterGroupResponse> RdsResponse.Builder
,SdkBuilder<CreateDbParameterGroupResponse.Builder,
,CreateDbParameterGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateDbParameterGroupResponse
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
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaDBParameterGroup.builder()
.When the
Consumer
completes,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:
-