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.Builder
arn(String arn)
The ARN (Amazon Resource Name) of the cache subnet group.CacheSubnetGroup.Builder
cacheSubnetGroupDescription(String cacheSubnetGroupDescription)
The description of the cache subnet group.CacheSubnetGroup.Builder
cacheSubnetGroupName(String cacheSubnetGroupName)
The name of the cache subnet group.CacheSubnetGroup.Builder
subnets(Collection<Subnet> subnets)
A list of subnets associated with the cache subnet group.CacheSubnetGroup.Builder
subnets(Consumer<Subnet.Builder>... subnets)
A list of subnets associated with the cache subnet group.CacheSubnetGroup.Builder
subnets(Subnet... subnets)
A list of subnets associated with the cache subnet group.CacheSubnetGroup.Builder
supportedNetworkTypes(Collection<NetworkType> supportedNetworkTypes)
Eitheripv4
|ipv6
|dual_stack
.CacheSubnetGroup.Builder
supportedNetworkTypes(NetworkType... supportedNetworkTypes)
Eitheripv4
|ipv6
|dual_stack
.CacheSubnetGroup.Builder
supportedNetworkTypesWithStrings(String... supportedNetworkTypes)
Eitheripv4
|ipv6
|dual_stack
.CacheSubnetGroup.Builder
supportedNetworkTypesWithStrings(Collection<String> supportedNetworkTypes)
Eitheripv4
|ipv6
|dual_stack
.CacheSubnetGroup.Builder
vpcId(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.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
)
-
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 Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above on all instances built on the Nitro system.- Parameters:
supportedNetworkTypes
- Eitheripv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above 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 Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above on all instances built on the Nitro system.- Parameters:
supportedNetworkTypes
- Eitheripv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above 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 Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above on all instances built on the Nitro system.- Parameters:
supportedNetworkTypes
- Eitheripv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above 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 Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above on all instances built on the Nitro system.- Parameters:
supportedNetworkTypes
- Eitheripv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above on all instances built on the Nitro system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-