@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkGroupSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary information for the workgroup, which includes its name, state, description, and the date and time it was created.
Constructor and Description |
---|
WorkGroupSummary() |
Modifier and Type | Method and Description |
---|---|
WorkGroupSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The workgroup creation date and time.
|
String |
getDescription()
The workgroup description.
|
String |
getName()
The name of the workgroup.
|
String |
getState()
The state of the workgroup.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
The workgroup creation date and time.
|
void |
setDescription(String description)
The workgroup description.
|
void |
setName(String name)
The name of the workgroup.
|
void |
setState(String state)
The state of the workgroup.
|
String |
toString()
Returns a string representation of this object.
|
WorkGroupSummary |
withCreationTime(Date creationTime)
The workgroup creation date and time.
|
WorkGroupSummary |
withDescription(String description)
The workgroup description.
|
WorkGroupSummary |
withName(String name)
The name of the workgroup.
|
WorkGroupSummary |
withState(String state)
The state of the workgroup.
|
WorkGroupSummary |
withState(WorkGroupState state)
The state of the workgroup.
|
public void setName(String name)
The name of the workgroup.
name
- The name of the workgroup.public String getName()
The name of the workgroup.
public WorkGroupSummary withName(String name)
The name of the workgroup.
name
- The name of the workgroup.public void setState(String state)
The state of the workgroup.
state
- The state of the workgroup.WorkGroupState
public String getState()
The state of the workgroup.
WorkGroupState
public WorkGroupSummary withState(String state)
The state of the workgroup.
state
- The state of the workgroup.WorkGroupState
public WorkGroupSummary withState(WorkGroupState state)
The state of the workgroup.
state
- The state of the workgroup.WorkGroupState
public void setDescription(String description)
The workgroup description.
description
- The workgroup description.public String getDescription()
The workgroup description.
public WorkGroupSummary withDescription(String description)
The workgroup description.
description
- The workgroup description.public void setCreationTime(Date creationTime)
The workgroup creation date and time.
creationTime
- The workgroup creation date and time.public Date getCreationTime()
The workgroup creation date and time.
public WorkGroupSummary withCreationTime(Date creationTime)
The workgroup creation date and time.
creationTime
- The workgroup creation date and time.public String toString()
toString
in class Object
Object.toString()
public WorkGroupSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.