@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkspaceDescription extends Object implements Serializable, Cloneable, StructuredPojo
Represents the properties of a workspace.
Constructor and Description |
---|
WorkspaceDescription() |
Modifier and Type | Method and Description |
---|---|
WorkspaceDescription |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
WorkspaceDescription |
clearTagsEntries()
Removes all the entries added into Tags.
|
WorkspaceDescription |
clone() |
boolean |
equals(Object obj) |
String |
getAlias()
Alias of this workspace.
|
String |
getArn()
The Amazon Resource Name (ARN) of this workspace.
|
Date |
getCreatedAt()
The time when the workspace was created.
|
String |
getPrometheusEndpoint()
Prometheus endpoint URI.
|
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 Amazon Resource Name (ARN) of this workspace.
|
void |
setCreatedAt(Date createdAt)
The time when the workspace was created.
|
void |
setPrometheusEndpoint(String prometheusEndpoint)
Prometheus endpoint URI.
|
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.
|
WorkspaceDescription |
withAlias(String alias)
Alias of this workspace.
|
WorkspaceDescription |
withArn(String arn)
The Amazon Resource Name (ARN) of this workspace.
|
WorkspaceDescription |
withCreatedAt(Date createdAt)
The time when the workspace was created.
|
WorkspaceDescription |
withPrometheusEndpoint(String prometheusEndpoint)
Prometheus endpoint URI.
|
WorkspaceDescription |
withStatus(WorkspaceStatus status)
The status of this workspace.
|
WorkspaceDescription |
withTags(Map<String,String> tags)
The tags of this workspace.
|
WorkspaceDescription |
withWorkspaceId(String workspaceId)
Unique string identifying this workspace.
|
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 WorkspaceDescription withWorkspaceId(String workspaceId)
Unique string identifying this workspace.
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 WorkspaceDescription withAlias(String alias)
Alias of this workspace.
alias
- Alias of this workspace.public void setArn(String arn)
The Amazon Resource Name (ARN) of this workspace.
arn
- The Amazon Resource Name (ARN) of this workspace.public String getArn()
The Amazon Resource Name (ARN) of this workspace.
public WorkspaceDescription withArn(String arn)
The Amazon Resource Name (ARN) of this workspace.
arn
- The Amazon Resource Name (ARN) of this workspace.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 WorkspaceDescription withStatus(WorkspaceStatus status)
The status of this workspace.
status
- The status of this workspace.public void setPrometheusEndpoint(String prometheusEndpoint)
Prometheus endpoint URI.
prometheusEndpoint
- Prometheus endpoint URI.public String getPrometheusEndpoint()
Prometheus endpoint URI.
public WorkspaceDescription withPrometheusEndpoint(String prometheusEndpoint)
Prometheus endpoint URI.
prometheusEndpoint
- Prometheus endpoint URI.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 WorkspaceDescription withCreatedAt(Date createdAt)
The time when the workspace was created.
createdAt
- The time when the workspace was created.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 WorkspaceDescription withTags(Map<String,String> tags)
The tags of this workspace.
tags
- The tags of this workspace.public WorkspaceDescription addTagsEntry(String key, String value)
public WorkspaceDescription clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public WorkspaceDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.