Interface CacheSubnetGroup.Builder

    • 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 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).

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