@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 |
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).
|
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 |
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 |
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 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()