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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateClusterSubnetGroupResponse.Builder
clusterSubnetGroup(Consumer<ClusterSubnetGroup.Builder> clusterSubnetGroup)
Sets the value of the ClusterSubnetGroup property for this object.CreateClusterSubnetGroupResponse.Builder
clusterSubnetGroup(ClusterSubnetGroup clusterSubnetGroup)
Sets the value of the ClusterSubnetGroup property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.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 Detail
-
clusterSubnetGroup
CreateClusterSubnetGroupResponse.Builder clusterSubnetGroup(ClusterSubnetGroup 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.Builder
avoiding the need to create one manually viaClusterSubnetGroup.builder()
.When the
Consumer
completes,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:
clusterSubnetGroup(ClusterSubnetGroup)
-
-