|
Did this page help you?Yes No Tell us about it... |
||||||
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 identifying an AWS account, and the name of a security group within that account.
Constructor Summary | |
---|---|
UserIdGroupPair()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getGroupId()
ID of the security group in the specified AWS account. |
java.lang.String |
getGroupName()
Name of the security group in the specified AWS account. |
java.lang.String |
getUserId()
The AWS user ID of an account. |
int |
hashCode()
|
void |
setGroupId(java.lang.String groupId)
ID of the security group in the specified AWS account. |
void |
setGroupName(java.lang.String groupName)
Name of the security group in the specified AWS account. |
void |
setUserId(java.lang.String userId)
The AWS user ID of an account. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
UserIdGroupPair |
withGroupId(java.lang.String groupId)
ID of the security group in the specified AWS account. |
UserIdGroupPair |
withGroupName(java.lang.String groupName)
Name of the security group in the specified AWS account. |
UserIdGroupPair |
withUserId(java.lang.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 java.lang.String getUserId()
public void setUserId(java.lang.String userId)
userId
- The AWS user ID of an account.public UserIdGroupPair withUserId(java.lang.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 java.lang.String getGroupName()
public void setGroupName(java.lang.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(java.lang.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 java.lang.String getGroupId()
public void setGroupId(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |