|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.UserIdGroupPair
public class UserIdGroupPair
An AWS user ID identifiying an AWS account, and the name of a security group within that account.
Constructor Summary | |
---|---|
UserIdGroupPair()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UserIdGroupPair()
Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |