@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RelatedWorkspaceProperties extends Object implements Serializable, Cloneable, StructuredPojo
Describes the related WorkSpace. The related WorkSpace could be a standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
| Constructor and Description |
|---|
RelatedWorkspaceProperties() |
| Modifier and Type | Method and Description |
|---|---|
RelatedWorkspaceProperties |
clone() |
boolean |
equals(Object obj) |
String |
getRegion()
The Region of the related WorkSpace.
|
String |
getState()
Indicates the state of the WorkSpace.
|
String |
getType()
Indicates the type of WorkSpace.
|
String |
getWorkspaceId()
The identifier of the related WorkSpace.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRegion(String region)
The Region of the related WorkSpace.
|
void |
setState(String state)
Indicates the state of the WorkSpace.
|
void |
setType(String type)
Indicates the type of WorkSpace.
|
void |
setWorkspaceId(String workspaceId)
The identifier of the related WorkSpace.
|
String |
toString()
Returns a string representation of this object.
|
RelatedWorkspaceProperties |
withRegion(String region)
The Region of the related WorkSpace.
|
RelatedWorkspaceProperties |
withState(String state)
Indicates the state of the WorkSpace.
|
RelatedWorkspaceProperties |
withState(WorkspaceState state)
Indicates the state of the WorkSpace.
|
RelatedWorkspaceProperties |
withType(StandbyWorkspaceRelationshipType type)
Indicates the type of WorkSpace.
|
RelatedWorkspaceProperties |
withType(String type)
Indicates the type of WorkSpace.
|
RelatedWorkspaceProperties |
withWorkspaceId(String workspaceId)
The identifier of the related WorkSpace.
|
public void setWorkspaceId(String workspaceId)
The identifier of the related WorkSpace.
workspaceId - The identifier of the related WorkSpace.public String getWorkspaceId()
The identifier of the related WorkSpace.
public RelatedWorkspaceProperties withWorkspaceId(String workspaceId)
The identifier of the related WorkSpace.
workspaceId - The identifier of the related WorkSpace.public void setRegion(String region)
The Region of the related WorkSpace.
region - The Region of the related WorkSpace.public String getRegion()
The Region of the related WorkSpace.
public RelatedWorkspaceProperties withRegion(String region)
The Region of the related WorkSpace.
region - The Region of the related WorkSpace.public void setState(String state)
Indicates the state of the WorkSpace.
state - Indicates the state of the WorkSpace.WorkspaceStatepublic String getState()
Indicates the state of the WorkSpace.
WorkspaceStatepublic RelatedWorkspaceProperties withState(String state)
Indicates the state of the WorkSpace.
state - Indicates the state of the WorkSpace.WorkspaceStatepublic RelatedWorkspaceProperties withState(WorkspaceState state)
Indicates the state of the WorkSpace.
state - Indicates the state of the WorkSpace.WorkspaceStatepublic void setType(String type)
Indicates the type of WorkSpace.
type - Indicates the type of WorkSpace.StandbyWorkspaceRelationshipTypepublic String getType()
Indicates the type of WorkSpace.
StandbyWorkspaceRelationshipTypepublic RelatedWorkspaceProperties withType(String type)
Indicates the type of WorkSpace.
type - Indicates the type of WorkSpace.StandbyWorkspaceRelationshipTypepublic RelatedWorkspaceProperties withType(StandbyWorkspaceRelationshipType type)
Indicates the type of WorkSpace.
type - Indicates the type of WorkSpace.StandbyWorkspaceRelationshipTypepublic String toString()
toString in class ObjectObject.toString()public RelatedWorkspaceProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.