public static interface UserIdGroupPair.Builder extends CopyableBuilder<UserIdGroupPair.Builder,UserIdGroupPair>
Modifier and Type | Method and Description |
---|---|
UserIdGroupPair.Builder |
description(String description)
A description for the security group rule that references this user ID group pair.
|
UserIdGroupPair.Builder |
groupId(String groupId)
The ID of the security group.
|
UserIdGroupPair.Builder |
groupName(String groupName)
The name of the security group.
|
UserIdGroupPair.Builder |
peeringStatus(String peeringStatus)
The status of a VPC peering connection, if applicable.
|
UserIdGroupPair.Builder |
userId(String userId)
The ID of an AWS account.
|
UserIdGroupPair.Builder |
vpcId(String vpcId)
The ID of the VPC for the referenced security group, if applicable.
|
UserIdGroupPair.Builder |
vpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection, if applicable.
|
copy
applyMutation, build
UserIdGroupPair.Builder description(String description)
A description for the security group rule that references this user ID group pair.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*
description
- A description for the security group rule that references this user ID group pair.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*
UserIdGroupPair.Builder groupId(String groupId)
The ID of the security group.
groupId
- The ID of the security group.UserIdGroupPair.Builder groupName(String groupName)
The name of the security group. In a request, use this parameter for a security group in EC2-Classic or a default VPC only. For a security group in a nondefault VPC, use the security group ID.
groupName
- The name of the security group. In a request, use this parameter for a security group in EC2-Classic
or a default VPC only. For a security group in a nondefault VPC, use the security group ID.UserIdGroupPair.Builder peeringStatus(String peeringStatus)
The status of a VPC peering connection, if applicable.
peeringStatus
- The status of a VPC peering connection, if applicable.UserIdGroupPair.Builder userId(String userId)
The ID of an AWS account. For a referenced security group in another VPC, the account ID of the referenced security group is returned.
[EC2-Classic] Required when adding or removing rules that reference a security group in another AWS account.
userId
- The ID of an AWS account. For a referenced security group in another VPC, the account ID of the
referenced security group is returned.
[EC2-Classic] Required when adding or removing rules that reference a security group in another AWS account.
UserIdGroupPair.Builder vpcId(String vpcId)
The ID of the VPC for the referenced security group, if applicable.
vpcId
- The ID of the VPC for the referenced security group, if applicable.UserIdGroupPair.Builder vpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection, if applicable.
vpcPeeringConnectionId
- The ID of the VPC peering connection, if applicable.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.