public class UserIdGroupPair extends Object implements Serializable
Constructor and Description |
---|
UserIdGroupPair() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getGroupId()
The ID of the security group.
|
String |
getGroupName()
The name of the security group.
|
String |
getPeeringStatus()
The status of a VPC peering connection, if applicable.
|
String |
getUserId()
The ID of an AWS account.
|
String |
getVpcId()
The ID of the VPC for the referenced security group, if applicable.
|
String |
getVpcPeeringConnectionId()
The ID of the VPC peering connection, if applicable.
|
int |
hashCode() |
void |
setGroupId(String groupId)
The ID of the security group.
|
void |
setGroupName(String groupName)
The name of the security group.
|
void |
setPeeringStatus(String peeringStatus)
The status of a VPC peering connection, if applicable.
|
void |
setUserId(String userId)
The ID of an AWS account.
|
void |
setVpcId(String vpcId)
The ID of the VPC for the referenced security group, if applicable.
|
void |
setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection, if applicable.
|
String |
toString() |
public void setUserId(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.public String getUserId()
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.
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.public void setGroupName(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.public String getGroupName()
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 void setGroupId(String groupId)
The ID of the security group.
groupId
- The ID of the security group.public String getGroupId()
The ID of the security group.
public void setVpcId(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.public String getVpcId()
The ID of the VPC for the referenced security group, if applicable.
public void setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection, if applicable.
vpcPeeringConnectionId
- The ID of the VPC peering connection, if applicable.public String getVpcPeeringConnectionId()
The ID of the VPC peering connection, if applicable.
public void setPeeringStatus(String peeringStatus)
The status of a VPC peering connection, if applicable.
peeringStatus
- The status of a VPC peering connection, if applicable.public String getPeeringStatus()
The status of a VPC peering connection, if applicable.
Copyright © 2010–2020. All rights reserved.