public class GroupNameAndArn extends Object implements Serializable
The name and ARN of a group.
| Constructor and Description |
|---|
GroupNameAndArn() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getGroupArn()
The group ARN.
|
String |
getGroupName()
The group name.
|
int |
hashCode() |
void |
setGroupArn(String groupArn)
The group ARN.
|
void |
setGroupName(String groupName)
The group name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GroupNameAndArn |
withGroupArn(String groupArn)
The group ARN.
|
GroupNameAndArn |
withGroupName(String groupName)
The group name.
|
public String getGroupName()
The group name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The group name.
public void setGroupName(String groupName)
The group name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
groupName - The group name.
public GroupNameAndArn withGroupName(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 String getGroupArn()
The group ARN.
The group ARN.
public void setGroupArn(String groupArn)
The group ARN.
groupArn - The group ARN.
public GroupNameAndArn withGroupArn(String groupArn)
The group ARN.
Returns a reference to this object so that method calls can be chained together.
groupArn - The group ARN.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.