Interface ClusterSecurityGroup.Builder

    • Method Detail

      • clusterSecurityGroupName

        ClusterSecurityGroup.Builder clusterSecurityGroupName​(String clusterSecurityGroupName)

        The name of the cluster security group to which the operation was applied.

        Parameters:
        clusterSecurityGroupName - The name of the cluster security group to which the operation was applied.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        ClusterSecurityGroup.Builder description​(String description)

        A description of the security group.

        Parameters:
        description - A description of the security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ec2SecurityGroups

        ClusterSecurityGroup.Builder ec2SecurityGroups​(Collection<EC2SecurityGroup> ec2SecurityGroups)

        A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.

        Parameters:
        ec2SecurityGroups - A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ec2SecurityGroups

        ClusterSecurityGroup.Builder ec2SecurityGroups​(EC2SecurityGroup... ec2SecurityGroups)

        A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.

        Parameters:
        ec2SecurityGroups - A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipRanges

        ClusterSecurityGroup.Builder ipRanges​(Collection<IPRange> ipRanges)

        A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.

        Parameters:
        ipRanges - A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipRanges

        ClusterSecurityGroup.Builder ipRanges​(IPRange... ipRanges)

        A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.

        Parameters:
        ipRanges - A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipRanges

        ClusterSecurityGroup.Builder ipRanges​(Consumer<IPRange.Builder>... ipRanges)

        A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.

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

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

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

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

        The list of tags for the cluster security group.

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

        ClusterSecurityGroup.Builder tags​(Tag... tags)

        The list of tags for the cluster security group.

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

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

        The list of tags for the cluster security 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)