@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkspaceSummary extends Object implements Serializable, Cloneable, StructuredPojo
Represents a summary of the properties of a workspace.
Constructor and Description |
---|
WorkspaceSummary() |
Modifier and Type | Method and Description |
---|---|
WorkspaceSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
WorkspaceSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
WorkspaceSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAlias()
Alias of this workspace.
|
String |
getArn()
The AmazonResourceName of this workspace.
|
Date |
getCreatedAt()
The time when the workspace was created.
|
WorkspaceStatus |
getStatus()
The status of this workspace.
|
Map<String,String> |
getTags()
The tags of this workspace.
|
String |
getWorkspaceId()
Unique string identifying this workspace.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlias(String alias)
Alias of this workspace.
|
void |
setArn(String arn)
The AmazonResourceName of this workspace.
|
void |
setCreatedAt(Date createdAt)
The time when the workspace was created.
|
void |
setStatus(WorkspaceStatus status)
The status of this workspace.
|
void |
setTags(Map<String,String> tags)
The tags of this workspace.
|
void |
setWorkspaceId(String workspaceId)
Unique string identifying this workspace.
|
String |
toString()
Returns a string representation of this object.
|
WorkspaceSummary |
withAlias(String alias)
Alias of this workspace.
|
WorkspaceSummary |
withArn(String arn)
The AmazonResourceName of this workspace.
|
WorkspaceSummary |
withCreatedAt(Date createdAt)
The time when the workspace was created.
|
WorkspaceSummary |
withStatus(WorkspaceStatus status)
The status of this workspace.
|
WorkspaceSummary |
withTags(Map<String,String> tags)
The tags of this workspace.
|
WorkspaceSummary |
withWorkspaceId(String workspaceId)
Unique string identifying this workspace.
|
public void setAlias(String alias)
Alias of this workspace.
alias
- Alias of this workspace.public String getAlias()
Alias of this workspace.
public WorkspaceSummary withAlias(String alias)
Alias of this workspace.
alias
- Alias of this workspace.public void setArn(String arn)
The AmazonResourceName of this workspace.
arn
- The AmazonResourceName of this workspace.public String getArn()
The AmazonResourceName of this workspace.
public WorkspaceSummary withArn(String arn)
The AmazonResourceName of this workspace.
arn
- The AmazonResourceName of this workspace.public void setCreatedAt(Date createdAt)
The time when the workspace was created.
createdAt
- The time when the workspace was created.public Date getCreatedAt()
The time when the workspace was created.
public WorkspaceSummary withCreatedAt(Date createdAt)
The time when the workspace was created.
createdAt
- The time when the workspace was created.public void setStatus(WorkspaceStatus status)
The status of this workspace.
status
- The status of this workspace.public WorkspaceStatus getStatus()
The status of this workspace.
public WorkspaceSummary withStatus(WorkspaceStatus status)
The status of this workspace.
status
- The status of this workspace.public Map<String,String> getTags()
The tags of this workspace.
public void setTags(Map<String,String> tags)
The tags of this workspace.
tags
- The tags of this workspace.public WorkspaceSummary withTags(Map<String,String> tags)
The tags of this workspace.
tags
- The tags of this workspace.public WorkspaceSummary addTagsEntry(String key, String value)
public WorkspaceSummary clearTagsEntries()
public void setWorkspaceId(String workspaceId)
Unique string identifying this workspace.
workspaceId
- Unique string identifying this workspace.public String getWorkspaceId()
Unique string identifying this workspace.
public WorkspaceSummary withWorkspaceId(String workspaceId)
Unique string identifying this workspace.
workspaceId
- Unique string identifying this workspace.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.