CopyableBuilder<CacheSecurityGroup.Builder,CacheSecurityGroup>
, SdkBuilder<CacheSecurityGroup.Builder,CacheSecurityGroup>
public static interface CacheSecurityGroup.Builder extends CopyableBuilder<CacheSecurityGroup.Builder,CacheSecurityGroup>
Modifier and Type | Method | 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(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.
|
copy
apply, build
CacheSecurityGroup.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.
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 Amazon EC2 security groups that are associated with this cache security group.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.