public class UserIdGroupPair extends Object implements Serializable
Describes a security group and AWS account ID pair for EC2-Classic.
Constructor and Description |
---|
UserIdGroupPair() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getGroupId()
The name of the security group in the specified AWS account.
|
String |
getGroupName()
The ID of the security group owned by the specified AWS account.
|
String |
getUserId()
The ID of an AWS account.
|
int |
hashCode() |
void |
setGroupId(String groupId)
The name of the security group in the specified AWS account.
|
void |
setGroupName(String groupName)
The ID of the security group owned by the specified AWS account.
|
void |
setUserId(String userId)
The ID of an AWS account.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UserIdGroupPair |
withGroupId(String groupId)
The name of the security group in the specified AWS account.
|
UserIdGroupPair |
withGroupName(String groupName)
The ID of the security group owned by the specified AWS account.
|
UserIdGroupPair |
withUserId(String userId)
The ID of an AWS account.
|
public String getUserId()
public void setUserId(String userId)
userId
- The ID of an AWS account.public UserIdGroupPair withUserId(String userId)
Returns a reference to this object so that method calls can be chained together.
userId
- The ID of an AWS account.public String getGroupName()
public void setGroupName(String groupName)
groupName
- The ID of the security group owned by the specified AWS account.public UserIdGroupPair withGroupName(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 String getGroupId()
public void setGroupId(String groupId)
groupId
- The name of the security group in the specified AWS account.public UserIdGroupPair withGroupId(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.