@Generated(value="software.amazon.awssdk:codegen") public class UserIdGroupPair extends Object implements ToCopyableBuilder<UserIdGroupPair.Builder,UserIdGroupPair>
Describes a security group and AWS account ID pair.
Modifier and Type | Class and Description |
---|---|
static interface |
UserIdGroupPair.Builder |
Modifier and Type | Method and Description |
---|---|
static UserIdGroupPair.Builder |
builder() |
String |
description()
A description for the security group rule that references this user ID group pair.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
groupId()
The ID of the security group.
|
String |
groupName()
The name of the security group.
|
int |
hashCode() |
String |
peeringStatus()
The status of a VPC peering connection, if applicable.
|
static Class<? extends UserIdGroupPair.Builder> |
serializableBuilderClass() |
UserIdGroupPair.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
userId()
The ID of an AWS account.
|
String |
vpcId()
The ID of the VPC for the referenced security group, if applicable.
|
String |
vpcPeeringConnectionId()
The ID of the VPC peering connection, if applicable.
|
copy
public 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 ._-:/()#,@[]+=;{}!$*
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*
public String groupId()
The ID of the security group.
public 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.
public String peeringStatus()
The status of a VPC peering connection, if applicable.
public 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.
[EC2-Classic] Required when adding or removing rules that reference a security group in another AWS account.
public String vpcId()
The ID of the VPC for the referenced security group, if applicable.
public String vpcPeeringConnectionId()
The ID of the VPC peering connection, if applicable.
public UserIdGroupPair.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UserIdGroupPair.Builder,UserIdGroupPair>
public static UserIdGroupPair.Builder builder()
public static Class<? extends UserIdGroupPair.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.