Interface ClusterSecurityGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClusterSecurityGroup.Builder,
,ClusterSecurityGroup> SdkBuilder<ClusterSecurityGroup.Builder,
,ClusterSecurityGroup> SdkPojo
- Enclosing class:
ClusterSecurityGroup
-
Method Summary
Modifier and TypeMethodDescriptionclusterSecurityGroupName
(String clusterSecurityGroupName) The name of the cluster security group to which the operation was applied.description
(String description) A description of the security group.ec2SecurityGroups
(Collection<EC2SecurityGroup> ec2SecurityGroups) A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.ec2SecurityGroups
(Consumer<EC2SecurityGroup.Builder>... ec2SecurityGroups) A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.ec2SecurityGroups
(EC2SecurityGroup... ec2SecurityGroups) A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.ipRanges
(Collection<IPRange> ipRanges) A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.ipRanges
(Consumer<IPRange.Builder>... ipRanges) A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.tags
(Collection<Tag> tags) The list of tags for the cluster security group.tags
(Consumer<Tag.Builder>... tags) The list of tags for the cluster security group.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 Details
-
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
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
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
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.Builder
avoiding the need to create one manually viaEC2SecurityGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toec2SecurityGroups(List<EC2SecurityGroup>)
.- 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:
-
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.
- 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 theIPRange.Builder
avoiding the need to create one manually viaIPRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toipRanges(List<IPRange>)
.- 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:
-
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 theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-