public static interface UserIdGroupPair.Builder extends SdkPojo, 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 Amazon Web Services 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.
|
equalsBySdkFields, sdkFields
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.
For a referenced security group in another VPC, this value is not returned if the referenced security group is deleted.
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.
For a referenced security group in another VPC, this value is not returned if the referenced security group is deleted.
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 Amazon Web Services account.
For a referenced security group in another VPC, the account ID of the referenced security group is returned in the response. If the referenced security group is deleted, this value is not returned.
[EC2-Classic] Required when adding or removing rules that reference a security group in another Amazon Web Services account.
userId
- The ID of an Amazon Web Services account.
For a referenced security group in another VPC, the account ID of the referenced security group is returned in the response. If the referenced security group is deleted, this value is not returned.
[EC2-Classic] Required when adding or removing rules that reference a security group in another Amazon Web Services 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 © 2022. All rights reserved.