CopyableBuilder<ClusterSecurityGroup.Builder,ClusterSecurityGroup>
, SdkBuilder<ClusterSecurityGroup.Builder,ClusterSecurityGroup>
public static interface ClusterSecurityGroup.Builder extends CopyableBuilder<ClusterSecurityGroup.Builder,ClusterSecurityGroup>
Modifier and Type | Method | 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(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(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(Tag... tags) |
The list of tags for the cluster security group.
|
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setEC2SecurityGroups(java.util.Collection)
or #withEC2SecurityGroups(java.util.Collection)
if you want to override the existing values.
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.
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.
NOTE: This method appends the values to the existing list (if any). Use
#setIPRanges(java.util.Collection)
or #withIPRanges(java.util.Collection)
if you want to
override the existing values.
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.
tags
- The list of tags for the cluster security group.ClusterSecurityGroup.Builder tags(Tag... tags)
The list of tags for the cluster security group.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The list of tags for the cluster security group.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.