public class GroupNameAndArn
extends java.lang.Object
implements java.io.Serializable
The name and ARN of a group.
| Constructor and Description | 
|---|
GroupNameAndArn()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)  | 
java.lang.String | 
getGroupArn()
 The group ARN. 
 | 
java.lang.String | 
getGroupName()
 The group name. 
 | 
int | 
hashCode()  | 
void | 
setGroupArn(java.lang.String groupArn)
 The group ARN. 
 | 
void | 
setGroupName(java.lang.String groupName)
 The group name. 
 | 
java.lang.String | 
toString()
Returns a string representation of this object; useful for testing and
 debugging. 
 | 
GroupNameAndArn | 
withGroupArn(java.lang.String groupArn)
 The group ARN. 
 | 
GroupNameAndArn | 
withGroupName(java.lang.String groupName)
 The group name. 
 | 
public java.lang.String getGroupName()
The group name.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
The group name.
public void setGroupName(java.lang.String groupName)
The group name.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
groupName - The group name.
public GroupNameAndArn withGroupName(java.lang.String groupName)
The group name.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
groupName - The group name.
public java.lang.String getGroupArn()
The group ARN.
The group ARN.
public void setGroupArn(java.lang.String groupArn)
The group ARN.
groupArn - The group ARN.
public GroupNameAndArn withGroupArn(java.lang.String groupArn)
The group ARN.
Returns a reference to this object so that method calls can be chained together.
groupArn - The group ARN.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.