|
|||||||
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
Describes a security group and AWS account ID pair for EC2-Classic.
Constructor Summary | |
---|---|
UserIdGroupPair()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getGroupId()
The name of the security group in the specified AWS account. |
java.lang.String |
getGroupName()
The ID of the security group owned by the specified AWS account. |
java.lang.String |
getUserId()
The ID of an AWS account. |
int |
hashCode()
|
void |
setGroupId(java.lang.String groupId)
The name of the security group in the specified AWS account. |
void |
setGroupName(java.lang.String groupName)
The ID of the security group owned by the specified AWS account. |
void |
setUserId(java.lang.String userId)
The ID of an AWS account. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
UserIdGroupPair |
withGroupId(java.lang.String groupId)
The name of the security group in the specified AWS account. |
UserIdGroupPair |
withGroupName(java.lang.String groupName)
The ID of the security group owned by the specified AWS account. |
UserIdGroupPair |
withUserId(java.lang.String userId)
The ID of an AWS 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 ID of an AWS account.public UserIdGroupPair withUserId(java.lang.String userId)
Returns a reference to this object so that method calls can be chained together.
userId
- The ID of an AWS account.
public java.lang.String getGroupName()
public void setGroupName(java.lang.String groupName)
groupName
- The ID of the security group owned by the specified AWS account.public UserIdGroupPair withGroupName(java.lang.String groupName)
Returns a reference to this object so that method calls can be chained together.
groupName
- The ID of the security group owned by the specified AWS account.
public java.lang.String getGroupId()
public void setGroupId(java.lang.String groupId)
groupId
- The name of the security group in the specified AWS account.public UserIdGroupPair withGroupId(java.lang.String groupId)
Returns a reference to this object so that method calls can be chained together.
groupId
- The name of the security group in the specified AWS account.
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 |