Interface CreateClusterSubnetGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateClusterSubnetGroupResponse.Builder,,CreateClusterSubnetGroupResponse> RedshiftResponse.Builder,SdkBuilder<CreateClusterSubnetGroupResponse.Builder,,CreateClusterSubnetGroupResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateClusterSubnetGroupResponse
public static interface CreateClusterSubnetGroupResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<CreateClusterSubnetGroupResponse.Builder,CreateClusterSubnetGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclusterSubnetGroup(Consumer<ClusterSubnetGroup.Builder> clusterSubnetGroup) Sets the value of the ClusterSubnetGroup property for this object.clusterSubnetGroup(ClusterSubnetGroup clusterSubnetGroup) Sets the value of the ClusterSubnetGroup property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.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
-
clusterSubnetGroup
Sets the value of the ClusterSubnetGroup property for this object.- Parameters:
clusterSubnetGroup- The new value for the ClusterSubnetGroup property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterSubnetGroup
default CreateClusterSubnetGroupResponse.Builder clusterSubnetGroup(Consumer<ClusterSubnetGroup.Builder> clusterSubnetGroup) Sets the value of the ClusterSubnetGroup property for this object. This is a convenience method that creates an instance of theClusterSubnetGroup.Builderavoiding the need to create one manually viaClusterSubnetGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclusterSubnetGroup(ClusterSubnetGroup).- Parameters:
clusterSubnetGroup- a consumer that will call methods onClusterSubnetGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-