public static interface CacheSecurityGroup.Builder extends SdkPojo, CopyableBuilder<CacheSecurityGroup.Builder,CacheSecurityGroup>
| Modifier and Type | Method and Description |
|---|---|
CacheSecurityGroup.Builder |
arn(String arn)
The ARN of the cache security group,
|
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 Amazon account ID of the cache security group owner.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCacheSecurityGroup.Builder ownerId(String ownerId)
The Amazon account ID of the cache security group owner.
ownerId - The Amazon 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 method that creates an instance of theEC2SecurityGroup.Builder avoiding the need to
create one manually via EC2SecurityGroup.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #ec2SecurityGroups(List.
ec2SecurityGroups - a consumer that will call methods on
EC2SecurityGroup.Builder#ec2SecurityGroups(java.util.Collection) CacheSecurityGroup.Builder arn(String arn)
The ARN of the cache security group,
arn - The ARN of the cache security group,Copyright © 2023. All rights reserved.