Interface ClusterSecurityGroup.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ClusterSecurityGroup.Builder,ClusterSecurityGroup>, SdkBuilder<ClusterSecurityGroup.Builder,ClusterSecurityGroup>, SdkPojo
Enclosing class:
ClusterSecurityGroup

public static interface ClusterSecurityGroup.Builder extends SdkPojo, CopyableBuilder<ClusterSecurityGroup.Builder,ClusterSecurityGroup>
  • Method Details

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

      ClusterSecurityGroup.Builder ec2SecurityGroups(Consumer<EC2SecurityGroup.Builder>... ec2SecurityGroups)

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

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

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

      Parameters:
      ec2SecurityGroups - a consumer that will call methods on EC2SecurityGroup.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

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

      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:
    • 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

      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

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

      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: