Interface ClusterSubnetGroup.Builder

    • Method Detail

      • clusterSubnetGroupName

        ClusterSubnetGroup.Builder clusterSubnetGroupName​(String clusterSubnetGroupName)

        The name of the cluster subnet group.

        Parameters:
        clusterSubnetGroupName - The name of the cluster subnet group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        ClusterSubnetGroup.Builder description​(String description)

        The description of the cluster subnet group.

        Parameters:
        description - The description of the cluster subnet group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcId

        ClusterSubnetGroup.Builder vpcId​(String vpcId)

        The VPC ID of the cluster subnet group.

        Parameters:
        vpcId - The VPC ID of the cluster subnet group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetGroupStatus

        ClusterSubnetGroup.Builder subnetGroupStatus​(String subnetGroupStatus)

        The status of the cluster subnet group. Possible values are Complete, Incomplete and Invalid.

        Parameters:
        subnetGroupStatus - The status of the cluster subnet group. Possible values are Complete, Incomplete and Invalid.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnets

        ClusterSubnetGroup.Builder subnets​(Subnet... subnets)

        A list of the VPC Subnet elements.

        Parameters:
        subnets - A list of the VPC Subnet elements.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ClusterSubnetGroup.Builder tags​(Collection<Tag> tags)

        The list of tags for the cluster subnet group.

        Parameters:
        tags - The list of tags for the cluster subnet group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ClusterSubnetGroup.Builder tags​(Tag... tags)

        The list of tags for the cluster subnet group.

        Parameters:
        tags - The list of tags for the cluster subnet group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ClusterSubnetGroup.Builder tags​(Consumer<Tag.Builder>... tags)

        The list of tags for the cluster subnet group.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • supportedClusterIpAddressTypes

        ClusterSubnetGroup.Builder supportedClusterIpAddressTypes​(Collection<String> supportedClusterIpAddressTypes)

        The IP address types supported by this cluster subnet group. Possible values are ipv4 and dualstack.

        Parameters:
        supportedClusterIpAddressTypes - The IP address types supported by this cluster subnet group. Possible values are ipv4 and dualstack.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedClusterIpAddressTypes

        ClusterSubnetGroup.Builder supportedClusterIpAddressTypes​(String... supportedClusterIpAddressTypes)

        The IP address types supported by this cluster subnet group. Possible values are ipv4 and dualstack.

        Parameters:
        supportedClusterIpAddressTypes - The IP address types supported by this cluster subnet group. Possible values are ipv4 and dualstack.
        Returns:
        Returns a reference to this object so that method calls can be chained together.