Interface CreateSubnetGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateSubnetGroupResponse.Builder,,CreateSubnetGroupResponse> DaxResponse.Builder,SdkBuilder<CreateSubnetGroupResponse.Builder,,CreateSubnetGroupResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateSubnetGroupResponse
public static interface CreateSubnetGroupResponse.Builder
extends DaxResponse.Builder, SdkPojo, CopyableBuilder<CreateSubnetGroupResponse.Builder,CreateSubnetGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsubnetGroup(Consumer<SubnetGroup.Builder> subnetGroup) Represents the output of a CreateSubnetGroup operation.subnetGroup(SubnetGroup subnetGroup) Represents the output of a CreateSubnetGroup operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dax.model.DaxResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
subnetGroup
Represents the output of a CreateSubnetGroup operation.
- Parameters:
subnetGroup- Represents the output of a CreateSubnetGroup operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetGroup
Represents the output of a CreateSubnetGroup operation.
This is a convenience method that creates an instance of theSubnetGroup.Builderavoiding the need to create one manually viaSubnetGroup.builder().When the
Consumercompletes,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:
-