@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The response object for this operation.
Constructor and Description |
---|
CreateGroupResult() |
Modifier and Type | Method and Description |
---|---|
CreateGroupResult |
clone() |
boolean |
equals(Object obj) |
Group |
getGroup()
The name of the group.
|
String |
getRequestId()
The Amazon Web Services request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
int |
hashCode() |
void |
setGroup(Group group)
The name of the group.
|
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.
|
CreateGroupResult |
withGroup(Group group)
The name of the group.
|
CreateGroupResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
CreateGroupResult |
withStatus(Integer status)
The HTTP status of the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setGroup(Group group)
The name of the group.
group
- The name of the group.public Group getGroup()
The name of the group.
public CreateGroupResult withGroup(Group group)
The name of the group.
group
- The name of the group.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 CreateGroupResult 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 CreateGroupResult 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 CreateGroupResult clone()