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 Details

    • 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

      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

      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

      A list of subnets associated with the cache subnet group.

      This is a convenience method that creates an instance of the Subnet.Builder avoiding the need to create one manually via Subnet.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to subnets(List<Subnet>).

      Parameters:
      subnets - a consumer that will call methods on Subnet.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

      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 - 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.
      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 - 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.
      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 - 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.
      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 - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.