public class UserIdGroupPair extends Object implements Serializable
An AWS user ID identifying an AWS account, and the name of a security group within that account.
Constructor and Description |
---|
UserIdGroupPair() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getGroupId()
ID of the security group in the specified AWS account.
|
String |
getGroupName()
Name of the security group in the specified AWS account.
|
String |
getUserId()
The AWS user ID of an account.
|
int |
hashCode() |
void |
setGroupId(String groupId)
ID of the security group in the specified AWS account.
|
void |
setGroupName(String groupName)
Name of the security group in the specified AWS account.
|
void |
setUserId(String userId)
The AWS user ID of an account.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UserIdGroupPair |
withGroupId(String groupId)
ID of the security group in the specified AWS account.
|
UserIdGroupPair |
withGroupName(String groupName)
Name of the security group in the specified AWS account.
|
UserIdGroupPair |
withUserId(String userId)
The AWS user ID of an account.
|
public String getUserId()
public void setUserId(String userId)
userId
- The AWS user ID of an account.public UserIdGroupPair withUserId(String userId)
Returns a reference to this object so that method calls can be chained together.
userId
- The AWS user ID of an account.public String getGroupName()
public void setGroupName(String groupName)
groupName
- Name of the security group in the specified AWS account. Cannot be
used when specifying a CIDR IP address range.public UserIdGroupPair withGroupName(String groupName)
Returns a reference to this object so that method calls can be chained together.
groupName
- Name of the security group in the specified AWS account. Cannot be
used when specifying a CIDR IP address range.public String getGroupId()
public void setGroupId(String groupId)
groupId
- ID of the security group in the specified AWS account. Cannot be used
when specifying a CIDR IP address range.public UserIdGroupPair withGroupId(String groupId)
Returns a reference to this object so that method calls can be chained together.
groupId
- ID of the security group in the specified AWS account. Cannot be used
when specifying a CIDR IP address range.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.