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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClusterSecurityGroup.BuilderclusterSecurityGroupName(String clusterSecurityGroupName)The name of the cluster security group to which the operation was applied.ClusterSecurityGroup.Builderdescription(String description)A description of the security group.ClusterSecurityGroup.Builderec2SecurityGroups(Collection<EC2SecurityGroup> ec2SecurityGroups)A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.ClusterSecurityGroup.Builderec2SecurityGroups(Consumer<EC2SecurityGroup.Builder>... ec2SecurityGroups)A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.ClusterSecurityGroup.Builderec2SecurityGroups(EC2SecurityGroup... ec2SecurityGroups)A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.ClusterSecurityGroup.BuilderipRanges(Collection<IPRange> ipRanges)A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.ClusterSecurityGroup.BuilderipRanges(Consumer<IPRange.Builder>... ipRanges)A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.ClusterSecurityGroup.BuilderipRanges(IPRange... ipRanges)A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.ClusterSecurityGroup.Buildertags(Collection<Tag> tags)The list of tags for the cluster security group.ClusterSecurityGroup.Buildertags(Consumer<Tag.Builder>... tags)The list of tags for the cluster security group.ClusterSecurityGroup.Buildertags(Tag... tags)The list of tags for the cluster security group.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
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 theEC2SecurityGroup.Builderavoiding the need to create one manually viaEC2SecurityGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ec2SecurityGroups(List.) - Parameters:
ec2SecurityGroups- a consumer that will call methods onEC2SecurityGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#ec2SecurityGroups(java.util.Collection)
-
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 theIPRange.Builderavoiding the need to create one manually viaIPRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ipRanges(List.) - Parameters:
ipRanges- a consumer that will call methods onIPRange.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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-