Interface UpdateSubnetGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateSubnetGroupResponse.Builder,
,UpdateSubnetGroupResponse> DaxResponse.Builder
,SdkBuilder<UpdateSubnetGroupResponse.Builder,
,UpdateSubnetGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateSubnetGroupResponse
public static interface UpdateSubnetGroupResponse.Builder
extends DaxResponse.Builder, SdkPojo, CopyableBuilder<UpdateSubnetGroupResponse.Builder,UpdateSubnetGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsubnetGroup
(Consumer<SubnetGroup.Builder> subnetGroup) The subnet group that has been modified.subnetGroup
(SubnetGroup subnetGroup) The subnet group that has been modified.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.dax.model.DaxResponse.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
-
subnetGroup
The subnet group that has been modified.
- Parameters:
subnetGroup
- The subnet group that has been modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetGroup
The subnet group that has been modified.
This is a convenience method that creates an instance of theSubnetGroup.Builder
avoiding the need to create one manually viaSubnetGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubnetGroup(SubnetGroup)
.- Parameters:
subnetGroup
- a consumer that will call methods onSubnetGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-