CopyableBuilder<UserIdGroupPair.Builder,UserIdGroupPair>, SdkBuilder<UserIdGroupPair.Builder,UserIdGroupPair>public static interface UserIdGroupPair.Builder extends CopyableBuilder<UserIdGroupPair.Builder,UserIdGroupPair>
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
copyapply, buildUserIdGroupPair.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.