@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkspaceSummary extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains information about a workspace.
Constructor and Description |
---|
WorkspaceSummary() |
Modifier and Type | Method and Description |
---|---|
WorkspaceSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the workspace.
|
Date |
getCreationDateTime()
The date and time when the workspace was created.
|
String |
getDescription()
The description of the workspace.
|
List<String> |
getLinkedServices()
A list of services that are linked to the workspace.
|
Date |
getUpdateDateTime()
The date and time when the workspace was last updated.
|
String |
getWorkspaceId()
The ID of the workspace.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the workspace.
|
void |
setCreationDateTime(Date creationDateTime)
The date and time when the workspace was created.
|
void |
setDescription(String description)
The description of the workspace.
|
void |
setLinkedServices(Collection<String> linkedServices)
A list of services that are linked to the workspace.
|
void |
setUpdateDateTime(Date updateDateTime)
The date and time when the workspace was last updated.
|
void |
setWorkspaceId(String workspaceId)
The ID of the workspace.
|
String |
toString()
Returns a string representation of this object.
|
WorkspaceSummary |
withArn(String arn)
The ARN of the workspace.
|
WorkspaceSummary |
withCreationDateTime(Date creationDateTime)
The date and time when the workspace was created.
|
WorkspaceSummary |
withDescription(String description)
The description of the workspace.
|
WorkspaceSummary |
withLinkedServices(Collection<String> linkedServices)
A list of services that are linked to the workspace.
|
WorkspaceSummary |
withLinkedServices(String... linkedServices)
A list of services that are linked to the workspace.
|
WorkspaceSummary |
withUpdateDateTime(Date updateDateTime)
The date and time when the workspace was last updated.
|
WorkspaceSummary |
withWorkspaceId(String workspaceId)
The ID of the workspace.
|
public void setWorkspaceId(String workspaceId)
The ID of the workspace.
workspaceId
- The ID of the workspace.public String getWorkspaceId()
The ID of the workspace.
public WorkspaceSummary withWorkspaceId(String workspaceId)
The ID of the workspace.
workspaceId
- The ID of the workspace.public void setArn(String arn)
The ARN of the workspace.
arn
- The ARN of the workspace.public String getArn()
The ARN of the workspace.
public WorkspaceSummary withArn(String arn)
The ARN of the workspace.
arn
- The ARN of the workspace.public void setDescription(String description)
The description of the workspace.
description
- The description of the workspace.public String getDescription()
The description of the workspace.
public WorkspaceSummary withDescription(String description)
The description of the workspace.
description
- The description of the workspace.public List<String> getLinkedServices()
A list of services that are linked to the workspace.
public void setLinkedServices(Collection<String> linkedServices)
A list of services that are linked to the workspace.
linkedServices
- A list of services that are linked to the workspace.public WorkspaceSummary withLinkedServices(String... linkedServices)
A list of services that are linked to the workspace.
NOTE: This method appends the values to the existing list (if any). Use
setLinkedServices(java.util.Collection)
or withLinkedServices(java.util.Collection)
if you want
to override the existing values.
linkedServices
- A list of services that are linked to the workspace.public WorkspaceSummary withLinkedServices(Collection<String> linkedServices)
A list of services that are linked to the workspace.
linkedServices
- A list of services that are linked to the workspace.public void setCreationDateTime(Date creationDateTime)
The date and time when the workspace was created.
creationDateTime
- The date and time when the workspace was created.public Date getCreationDateTime()
The date and time when the workspace was created.
public WorkspaceSummary withCreationDateTime(Date creationDateTime)
The date and time when the workspace was created.
creationDateTime
- The date and time when the workspace was created.public void setUpdateDateTime(Date updateDateTime)
The date and time when the workspace was last updated.
updateDateTime
- The date and time when the workspace was last updated.public Date getUpdateDateTime()
The date and time when the workspace was last updated.
public WorkspaceSummary withUpdateDateTime(Date updateDateTime)
The date and time when the workspace was last updated.
updateDateTime
- The date and time when the workspace was last updated.public String toString()
toString
in class Object
Object.toString()
public WorkspaceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.