@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MemberGroup extends Object implements Serializable, Cloneable, StructuredPojo
The sub groups that belong to a group.
Constructor and Description |
---|
MemberGroup() |
Modifier and Type | Method and Description |
---|---|
MemberGroup |
clone() |
boolean |
equals(Object obj) |
String |
getGroupName()
The name of the sub group.
|
String |
getType()
The type of the sub group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGroupName(String groupName)
The name of the sub group.
|
void |
setType(String type)
The type of the sub group.
|
String |
toString()
Returns a string representation of this object.
|
MemberGroup |
withGroupName(String groupName)
The name of the sub group.
|
MemberGroup |
withType(MembershipType type)
The type of the sub group.
|
MemberGroup |
withType(String type)
The type of the sub group.
|
public void setGroupName(String groupName)
The name of the sub group.
groupName
- The name of the sub group.public String getGroupName()
The name of the sub group.
public MemberGroup withGroupName(String groupName)
The name of the sub group.
groupName
- The name of the sub group.public void setType(String type)
The type of the sub group.
type
- The type of the sub group.MembershipType
public String getType()
The type of the sub group.
MembershipType
public MemberGroup withType(String type)
The type of the sub group.
type
- The type of the sub group.MembershipType
public MemberGroup withType(MembershipType type)
The type of the sub group.
type
- The type of the sub group.MembershipType
public String toString()
toString
in class Object
Object.toString()
public MemberGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.