public static interface CacheSecurityGroup.Builder extends CopyableBuilder<CacheSecurityGroup.Builder,CacheSecurityGroup>
| Modifier and Type | Method and Description |
|---|---|
CacheSecurityGroup.Builder |
cacheSecurityGroupName(String cacheSecurityGroupName)
The name of the cache security group.
|
CacheSecurityGroup.Builder |
description(String description)
The description of the cache security group.
|
CacheSecurityGroup.Builder |
ec2SecurityGroups(Collection<EC2SecurityGroup> ec2SecurityGroups)
A list of Amazon EC2 security groups that are associated with this cache security group.
|
CacheSecurityGroup.Builder |
ec2SecurityGroups(Consumer<EC2SecurityGroup.Builder>... ec2SecurityGroups)
A list of Amazon EC2 security groups that are associated with this cache security group.
|
CacheSecurityGroup.Builder |
ec2SecurityGroups(EC2SecurityGroup... ec2SecurityGroups)
A list of Amazon EC2 security groups that are associated with this cache security group.
|
CacheSecurityGroup.Builder |
ownerId(String ownerId)
The AWS account ID of the cache security group owner.
|
copyapply, buildCacheSecurityGroup.Builder ownerId(String ownerId)
The AWS account ID of the cache security group owner.
ownerId - The AWS account ID of the cache security group owner.CacheSecurityGroup.Builder cacheSecurityGroupName(String cacheSecurityGroupName)
The name of the cache security group.
cacheSecurityGroupName - The name of the cache security group.CacheSecurityGroup.Builder description(String description)
The description of the cache security group.
description - The description of the cache security group.CacheSecurityGroup.Builder ec2SecurityGroups(Collection<EC2SecurityGroup> ec2SecurityGroups)
A list of Amazon EC2 security groups that are associated with this cache security group.
ec2SecurityGroups - A list of Amazon EC2 security groups that are associated with this cache security group.CacheSecurityGroup.Builder ec2SecurityGroups(EC2SecurityGroup... ec2SecurityGroups)
A list of Amazon EC2 security groups that are associated with this cache security group.
ec2SecurityGroups - A list of Amazon EC2 security groups that are associated with this cache security group.CacheSecurityGroup.Builder ec2SecurityGroups(Consumer<EC2SecurityGroup.Builder>... ec2SecurityGroups)
A list of Amazon EC2 security groups that are associated with this cache 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) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.