Interface ClusterSubnetGroup.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ClusterSubnetGroup.Builder,ClusterSubnetGroup>
,SdkBuilder<ClusterSubnetGroup.Builder,ClusterSubnetGroup>
,SdkPojo
- Enclosing class:
- ClusterSubnetGroup
public static interface ClusterSubnetGroup.Builder extends SdkPojo, CopyableBuilder<ClusterSubnetGroup.Builder,ClusterSubnetGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClusterSubnetGroup.Builder
clusterSubnetGroupName(String clusterSubnetGroupName)
The name of the cluster subnet group.ClusterSubnetGroup.Builder
description(String description)
The description of the cluster subnet group.ClusterSubnetGroup.Builder
subnetGroupStatus(String subnetGroupStatus)
The status of the cluster subnet group.ClusterSubnetGroup.Builder
subnets(Collection<Subnet> subnets)
A list of the VPC Subnet elements.ClusterSubnetGroup.Builder
subnets(Consumer<Subnet.Builder>... subnets)
A list of the VPC Subnet elements.ClusterSubnetGroup.Builder
subnets(Subnet... subnets)
A list of the VPC Subnet elements.ClusterSubnetGroup.Builder
supportedClusterIpAddressTypes(String... supportedClusterIpAddressTypes)
The IP address types supported by this cluster subnet group.ClusterSubnetGroup.Builder
supportedClusterIpAddressTypes(Collection<String> supportedClusterIpAddressTypes)
The IP address types supported by this cluster subnet group.ClusterSubnetGroup.Builder
tags(Collection<Tag> tags)
The list of tags for the cluster subnet group.ClusterSubnetGroup.Builder
tags(Consumer<Tag.Builder>... tags)
The list of tags for the cluster subnet group.ClusterSubnetGroup.Builder
tags(Tag... tags)
The list of tags for the cluster subnet group.ClusterSubnetGroup.Builder
vpcId(String vpcId)
The VPC ID of the cluster subnet group.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
clusterSubnetGroupName
ClusterSubnetGroup.Builder clusterSubnetGroupName(String clusterSubnetGroupName)
The name of the cluster subnet group.
- Parameters:
clusterSubnetGroupName
- The name of the cluster subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
ClusterSubnetGroup.Builder description(String description)
The description of the cluster subnet group.
- Parameters:
description
- The description of the cluster subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
ClusterSubnetGroup.Builder vpcId(String vpcId)
The VPC ID of the cluster subnet group.
- Parameters:
vpcId
- The VPC ID of the cluster subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetGroupStatus
ClusterSubnetGroup.Builder subnetGroupStatus(String subnetGroupStatus)
The status of the cluster subnet group. Possible values are
Complete
,Incomplete
andInvalid
.- Parameters:
subnetGroupStatus
- The status of the cluster subnet group. Possible values areComplete
,Incomplete
andInvalid
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
ClusterSubnetGroup.Builder subnets(Collection<Subnet> subnets)
A list of the VPC Subnet elements.
- Parameters:
subnets
- A list of the VPC Subnet elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
ClusterSubnetGroup.Builder subnets(Subnet... subnets)
A list of the VPC Subnet elements.
- Parameters:
subnets
- A list of the VPC Subnet elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
ClusterSubnetGroup.Builder subnets(Consumer<Subnet.Builder>... subnets)
A list of the VPC Subnet elements.
This is a convenience method that creates an instance of theSubnet.Builder
avoiding the need to create one manually viaSubnet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#subnets(List
.) - Parameters:
subnets
- a consumer that will call methods onSubnet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#subnets(java.util.Collection
)
-
tags
ClusterSubnetGroup.Builder tags(Collection<Tag> tags)
The list of tags for the cluster subnet group.
- Parameters:
tags
- The list of tags for the cluster subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ClusterSubnetGroup.Builder tags(Tag... tags)
The list of tags for the cluster subnet group.
- Parameters:
tags
- The list of tags for the cluster subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ClusterSubnetGroup.Builder tags(Consumer<Tag.Builder>... tags)
The list of tags for the cluster subnet group.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
supportedClusterIpAddressTypes
ClusterSubnetGroup.Builder supportedClusterIpAddressTypes(Collection<String> supportedClusterIpAddressTypes)
The IP address types supported by this cluster subnet group. Possible values are
ipv4
anddualstack
.- Parameters:
supportedClusterIpAddressTypes
- The IP address types supported by this cluster subnet group. Possible values areipv4
anddualstack
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedClusterIpAddressTypes
ClusterSubnetGroup.Builder supportedClusterIpAddressTypes(String... supportedClusterIpAddressTypes)
The IP address types supported by this cluster subnet group. Possible values are
ipv4
anddualstack
.- Parameters:
supportedClusterIpAddressTypes
- The IP address types supported by this cluster subnet group. Possible values areipv4
anddualstack
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-