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.BuilderclusterSubnetGroupName(String clusterSubnetGroupName)The name of the cluster subnet group.ClusterSubnetGroup.Builderdescription(String description)The description of the cluster subnet group.ClusterSubnetGroup.BuildersubnetGroupStatus(String subnetGroupStatus)The status of the cluster subnet group.ClusterSubnetGroup.Buildersubnets(Collection<Subnet> subnets)A list of the VPC Subnet elements.ClusterSubnetGroup.Buildersubnets(Consumer<Subnet.Builder>... subnets)A list of the VPC Subnet elements.ClusterSubnetGroup.Buildersubnets(Subnet... subnets)A list of the VPC Subnet elements.ClusterSubnetGroup.BuildersupportedClusterIpAddressTypes(String... supportedClusterIpAddressTypes)The IP address types supported by this cluster subnet group.ClusterSubnetGroup.BuildersupportedClusterIpAddressTypes(Collection<String> supportedClusterIpAddressTypes)The IP address types supported by this cluster subnet group.ClusterSubnetGroup.Buildertags(Collection<Tag> tags)The list of tags for the cluster subnet group.ClusterSubnetGroup.Buildertags(Consumer<Tag.Builder>... tags)The list of tags for the cluster subnet group.ClusterSubnetGroup.Buildertags(Tag... tags)The list of tags for the cluster subnet group.ClusterSubnetGroup.BuildervpcId(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, 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,IncompleteandInvalid.- Parameters:
subnetGroupStatus- The status of the cluster subnet group. Possible values areComplete,IncompleteandInvalid.- 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.Builderavoiding the need to create one manually viaSubnet.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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
ipv4anddualstack.- Parameters:
supportedClusterIpAddressTypes- The IP address types supported by this cluster subnet group. Possible values areipv4anddualstack.- 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
ipv4anddualstack.- Parameters:
supportedClusterIpAddressTypes- The IP address types supported by this cluster subnet group. Possible values areipv4anddualstack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-