public class UserIdGroupPair
extends java.lang.Object
implements java.io.Serializable
An AWS user ID identifying an AWS account, and the name of a security group within that account.
| コンストラクタと説明 |
|---|
UserIdGroupPair() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
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 クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object