@Generated(value="software.amazon.awssdk:codegen") public final class AwsEc2SecurityGroupUserIdGroupPair extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEc2SecurityGroupUserIdGroupPair.Builder,AwsEc2SecurityGroupUserIdGroupPair>
A relationship between a security group and a user.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsEc2SecurityGroupUserIdGroupPair.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsEc2SecurityGroupUserIdGroupPair.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsEc2SecurityGroupUserIdGroupPair.Builder> |
serializableBuilderClass() |
AwsEc2SecurityGroupUserIdGroupPair.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userId()
The ID of an Amazon Web Services 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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String groupId()
The ID of the security group.
public final String groupName()
The name of the security group.
public final String peeringStatus()
The status of a VPC peering connection, if applicable.
public final 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 VPC.
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 VPC.
public final String vpcId()
The ID of the VPC for the referenced security group, if applicable.
public final String vpcPeeringConnectionId()
The ID of the VPC peering connection, if applicable.
public AwsEc2SecurityGroupUserIdGroupPair.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsEc2SecurityGroupUserIdGroupPair.Builder,AwsEc2SecurityGroupUserIdGroupPair>public static AwsEc2SecurityGroupUserIdGroupPair.Builder builder()
public static Class<? extends AwsEc2SecurityGroupUserIdGroupPair.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.