public static interface ClusterSecurityGroup.Builder extends CopyableBuilder<ClusterSecurityGroup.Builder,ClusterSecurityGroup>
Modifier and Type | Method and Description |
---|---|
ClusterSecurityGroup.Builder |
clusterSecurityGroupName(String clusterSecurityGroupName)
The name of the cluster security group to which the operation was applied.
|
ClusterSecurityGroup.Builder |
description(String description)
A description of the security group.
|
ClusterSecurityGroup.Builder |
ec2SecurityGroups(Collection<EC2SecurityGroup> ec2SecurityGroups)
A list of EC2 security groups that are permitted to access clusters associated with this cluster security
group.
|
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.
|
ClusterSecurityGroup.Builder |
ec2SecurityGroups(EC2SecurityGroup... ec2SecurityGroups)
A list of EC2 security groups that are permitted to access clusters associated with this cluster security
group.
|
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.
|
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.
|
ClusterSecurityGroup.Builder |
ipRanges(IPRange... ipRanges)
A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security
group.
|
ClusterSecurityGroup.Builder |
tags(Collection<Tag> tags)
The list of tags for the cluster security group.
|
ClusterSecurityGroup.Builder |
tags(Consumer<Tag.Builder>... tags)
The list of tags for the cluster security group.
|
ClusterSecurityGroup.Builder |
tags(Tag... tags)
The list of tags for the cluster security group.
|
copy
applyMutation, build
ClusterSecurityGroup.Builder clusterSecurityGroupName(String clusterSecurityGroupName)
The name of the cluster security group to which the operation was applied.
clusterSecurityGroupName
- The name of the cluster security group to which the operation was applied.ClusterSecurityGroup.Builder description(String description)
A description of the security group.
description
- A description of the security group.ClusterSecurityGroup.Builder ec2SecurityGroups(Collection<EC2SecurityGroup> ec2SecurityGroups)
A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
ec2SecurityGroups
- A list of EC2 security groups that are permitted to access clusters associated with this cluster
security group.ClusterSecurityGroup.Builder ec2SecurityGroups(EC2SecurityGroup... ec2SecurityGroups)
A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
ec2SecurityGroups
- A list of EC2 security groups that are permitted to access clusters associated with this cluster
security group.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 that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #ec2SecurityGroups(List)
.ec2SecurityGroups
- a consumer that will call methods on List.Builder
#ec2SecurityGroups(List)
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.
ipRanges
- A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster
security group.ClusterSecurityGroup.Builder ipRanges(IPRange... ipRanges)
A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.
ipRanges
- A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster
security group.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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #ipRanges(List)
.ipRanges
- a consumer that will call methods on List.Builder
#ipRanges(List)
ClusterSecurityGroup.Builder tags(Collection<Tag> tags)
The list of tags for the cluster security group.
tags
- The list of tags for the cluster security group.ClusterSecurityGroup.Builder tags(Tag... tags)
The list of tags for the cluster security group.
tags
- The list of tags for the cluster security group.ClusterSecurityGroup.Builder tags(Consumer<Tag.Builder>... tags)
The list of tags for the cluster security group.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.