@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGroupMembershipResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateGroupMembershipResult() |
Modifier and Type | Method and Description |
---|---|
CreateGroupMembershipResult |
clone() |
boolean |
equals(Object obj) |
GroupMember |
getGroupMember()
The group member.
|
String |
getRequestId()
The Amazon Web Services request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
int |
hashCode() |
void |
setGroupMember(GroupMember groupMember)
The group member.
|
void |
setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
String |
toString()
Returns a string representation of this object.
|
CreateGroupMembershipResult |
withGroupMember(GroupMember groupMember)
The group member.
|
CreateGroupMembershipResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
CreateGroupMembershipResult |
withStatus(Integer status)
The HTTP status of the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setGroupMember(GroupMember groupMember)
The group member.
groupMember
- The group member.public GroupMember getGroupMember()
The group member.
public CreateGroupMembershipResult withGroupMember(GroupMember groupMember)
The group member.
groupMember
- The group member.public void setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public String getRequestId()
The Amazon Web Services request ID for this operation.
public CreateGroupMembershipResult withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public void setStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public Integer getStatus()
The HTTP status of the request.
public CreateGroupMembershipResult withStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public String toString()
toString
in class Object
Object.toString()
public CreateGroupMembershipResult clone()