@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkspaceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a CreateWorkspace operation.
Constructor and Description |
---|
CreateWorkspaceResult() |
Modifier and Type | Method and Description |
---|---|
CreateWorkspaceResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateWorkspaceResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateWorkspaceResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the workspace that was just created.
|
WorkspaceStatus |
getStatus()
The status of the workspace that was just created (usually CREATING).
|
Map<String,String> |
getTags()
The tags of this workspace.
|
String |
getWorkspaceId()
The generated ID of the workspace that was just created.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the workspace that was just created.
|
void |
setStatus(WorkspaceStatus status)
The status of the workspace that was just created (usually CREATING).
|
void |
setTags(Map<String,String> tags)
The tags of this workspace.
|
void |
setWorkspaceId(String workspaceId)
The generated ID of the workspace that was just created.
|
String |
toString()
Returns a string representation of this object.
|
CreateWorkspaceResult |
withArn(String arn)
The ARN of the workspace that was just created.
|
CreateWorkspaceResult |
withStatus(WorkspaceStatus status)
The status of the workspace that was just created (usually CREATING).
|
CreateWorkspaceResult |
withTags(Map<String,String> tags)
The tags of this workspace.
|
CreateWorkspaceResult |
withWorkspaceId(String workspaceId)
The generated ID of the workspace that was just created.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The ARN of the workspace that was just created.
arn
- The ARN of the workspace that was just created.public String getArn()
The ARN of the workspace that was just created.
public CreateWorkspaceResult withArn(String arn)
The ARN of the workspace that was just created.
arn
- The ARN of the workspace that was just created.public void setStatus(WorkspaceStatus status)
The status of the workspace that was just created (usually CREATING).
status
- The status of the workspace that was just created (usually CREATING).public WorkspaceStatus getStatus()
The status of the workspace that was just created (usually CREATING).
public CreateWorkspaceResult withStatus(WorkspaceStatus status)
The status of the workspace that was just created (usually CREATING).
status
- The status of the workspace that was just created (usually CREATING).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 CreateWorkspaceResult withTags(Map<String,String> tags)
The tags of this workspace.
tags
- The tags of this workspace.public CreateWorkspaceResult addTagsEntry(String key, String value)
public CreateWorkspaceResult clearTagsEntries()
public void setWorkspaceId(String workspaceId)
The generated ID of the workspace that was just created.
workspaceId
- The generated ID of the workspace that was just created.public String getWorkspaceId()
The generated ID of the workspace that was just created.
public CreateWorkspaceResult withWorkspaceId(String workspaceId)
The generated ID of the workspace that was just created.
workspaceId
- The generated ID of the workspace that was just created.public String toString()
toString
in class Object
Object.toString()
public CreateWorkspaceResult clone()