Interface CacheSubnetGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CacheSubnetGroup.Builder,
,CacheSubnetGroup> SdkBuilder<CacheSubnetGroup.Builder,
,CacheSubnetGroup> SdkPojo
- Enclosing class:
CacheSubnetGroup
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN (Amazon Resource Name) of the cache subnet group.cacheSubnetGroupDescription
(String cacheSubnetGroupDescription) The description of the cache subnet group.cacheSubnetGroupName
(String cacheSubnetGroupName) The name of the cache subnet group.subnets
(Collection<Subnet> subnets) A list of subnets associated with the cache subnet group.subnets
(Consumer<Subnet.Builder>... subnets) A list of subnets associated with the cache subnet group.A list of subnets associated with the cache subnet group.supportedNetworkTypes
(Collection<NetworkType> supportedNetworkTypes) Eitheripv4
|ipv6
|dual_stack
.supportedNetworkTypes
(NetworkType... supportedNetworkTypes) Eitheripv4
|ipv6
|dual_stack
.supportedNetworkTypesWithStrings
(String... supportedNetworkTypes) Eitheripv4
|ipv6
|dual_stack
.supportedNetworkTypesWithStrings
(Collection<String> supportedNetworkTypes) Eitheripv4
|ipv6
|dual_stack
.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 Details
-
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
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
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
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
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
A list of subnets associated with the cache subnet group.
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 tosubnets(List<Subnet>)
.- 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:
-
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
Either
ipv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Redis OSS 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 OSS 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
Either
ipv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Redis OSS 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 OSS 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
Either
ipv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Redis OSS 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 OSS 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
Either
ipv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Redis OSS 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 OSS 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.
-