Interface CacheSubnetGroup.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CacheSubnetGroup.Builder,CacheSubnetGroup>,SdkBuilder<CacheSubnetGroup.Builder,CacheSubnetGroup>,SdkPojo
- Enclosing class:
- CacheSubnetGroup
public static interface CacheSubnetGroup.Builder extends SdkPojo, CopyableBuilder<CacheSubnetGroup.Builder,CacheSubnetGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CacheSubnetGroup.Builderarn(String arn)The ARN (Amazon Resource Name) of the cache subnet group.CacheSubnetGroup.BuildercacheSubnetGroupDescription(String cacheSubnetGroupDescription)The description of the cache subnet group.CacheSubnetGroup.BuildercacheSubnetGroupName(String cacheSubnetGroupName)The name of the cache subnet group.CacheSubnetGroup.Buildersubnets(Collection<Subnet> subnets)A list of subnets associated with the cache subnet group.CacheSubnetGroup.Buildersubnets(Consumer<Subnet.Builder>... subnets)A list of subnets associated with the cache subnet group.CacheSubnetGroup.Buildersubnets(Subnet... subnets)A list of subnets associated with the cache subnet group.CacheSubnetGroup.BuildersupportedNetworkTypes(Collection<NetworkType> supportedNetworkTypes)Eitheripv4|ipv6|dual_stack.CacheSubnetGroup.BuildersupportedNetworkTypes(NetworkType... supportedNetworkTypes)Eitheripv4|ipv6|dual_stack.CacheSubnetGroup.BuildersupportedNetworkTypesWithStrings(String... supportedNetworkTypes)Eitheripv4|ipv6|dual_stack.CacheSubnetGroup.BuildersupportedNetworkTypesWithStrings(Collection<String> supportedNetworkTypes)Eitheripv4|ipv6|dual_stack.CacheSubnetGroup.BuildervpcId(String vpcId)The Amazon Virtual Private Cloud identifier (VPC ID) of the cache 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
-
cacheSubnetGroupName
CacheSubnetGroup.Builder cacheSubnetGroupName(String cacheSubnetGroupName)
The name of the cache subnet group.
- Parameters:
cacheSubnetGroupName- The name of the cache subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheSubnetGroupDescription
CacheSubnetGroup.Builder cacheSubnetGroupDescription(String cacheSubnetGroupDescription)
The description of the cache subnet group.
- Parameters:
cacheSubnetGroupDescription- The description of the cache subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
CacheSubnetGroup.Builder vpcId(String vpcId)
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
- Parameters:
vpcId- The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
CacheSubnetGroup.Builder subnets(Collection<Subnet> subnets)
A list of subnets associated with the cache subnet group.
- Parameters:
subnets- A list of subnets associated with the cache subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
CacheSubnetGroup.Builder subnets(Subnet... subnets)
A list of subnets associated with the cache subnet group.
- Parameters:
subnets- A list of subnets associated with the cache subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
CacheSubnetGroup.Builder subnets(Consumer<Subnet.Builder>... subnets)
A list of subnets associated with the cache subnet group.
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)
-
arn
CacheSubnetGroup.Builder arn(String arn)
The ARN (Amazon Resource Name) of the cache subnet group.
- Parameters:
arn- The ARN (Amazon Resource Name) of the cache subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedNetworkTypesWithStrings
CacheSubnetGroup.Builder supportedNetworkTypesWithStrings(Collection<String> supportedNetworkTypes)
Either
ipv4|ipv6|dual_stack. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.- Parameters:
supportedNetworkTypes- Eitheripv4|ipv6|dual_stack. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedNetworkTypesWithStrings
CacheSubnetGroup.Builder supportedNetworkTypesWithStrings(String... supportedNetworkTypes)
Either
ipv4|ipv6|dual_stack. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.- Parameters:
supportedNetworkTypes- Eitheripv4|ipv6|dual_stack. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedNetworkTypes
CacheSubnetGroup.Builder supportedNetworkTypes(Collection<NetworkType> supportedNetworkTypes)
Either
ipv4|ipv6|dual_stack. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.- Parameters:
supportedNetworkTypes- Eitheripv4|ipv6|dual_stack. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedNetworkTypes
CacheSubnetGroup.Builder supportedNetworkTypes(NetworkType... supportedNetworkTypes)
Either
ipv4|ipv6|dual_stack. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.- Parameters:
supportedNetworkTypes- Eitheripv4|ipv6|dual_stack. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-