Interface ModifyClusterSubnetGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ModifyClusterSubnetGroupResponse.Builder,
,ModifyClusterSubnetGroupResponse> RedshiftResponse.Builder
,SdkBuilder<ModifyClusterSubnetGroupResponse.Builder,
,ModifyClusterSubnetGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ModifyClusterSubnetGroupResponse
public static interface ModifyClusterSubnetGroupResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<ModifyClusterSubnetGroupResponse.Builder,ModifyClusterSubnetGroupResponse>
-
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
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 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 ModifyClusterSubnetGroupResponse.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:
-