@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkspaceResourceAssociation extends Object implements Serializable, Cloneable, StructuredPojo
Describes the association between an application and a WorkSpace resource.
Constructor and Description |
---|
WorkspaceResourceAssociation() |
Modifier and Type | Method and Description |
---|---|
WorkspaceResourceAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getAssociatedResourceId()
The identifier of the associated resource.
|
String |
getAssociatedResourceType()
The resource types of the associated resource.
|
Date |
getCreated()
The time the association is created.
|
Date |
getLastUpdatedTime()
The time the association status was last updated.
|
String |
getState()
The status of the WorkSpace resource association.
|
AssociationStateReason |
getStateReason()
The reason the association deployment failed.
|
String |
getWorkspaceId()
The identifier of the WorkSpace.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociatedResourceId(String associatedResourceId)
The identifier of the associated resource.
|
void |
setAssociatedResourceType(String associatedResourceType)
The resource types of the associated resource.
|
void |
setCreated(Date created)
The time the association is created.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The time the association status was last updated.
|
void |
setState(String state)
The status of the WorkSpace resource association.
|
void |
setStateReason(AssociationStateReason stateReason)
The reason the association deployment failed.
|
void |
setWorkspaceId(String workspaceId)
The identifier of the WorkSpace.
|
String |
toString()
Returns a string representation of this object.
|
WorkspaceResourceAssociation |
withAssociatedResourceId(String associatedResourceId)
The identifier of the associated resource.
|
WorkspaceResourceAssociation |
withAssociatedResourceType(String associatedResourceType)
The resource types of the associated resource.
|
WorkspaceResourceAssociation |
withAssociatedResourceType(WorkSpaceAssociatedResourceType associatedResourceType)
The resource types of the associated resource.
|
WorkspaceResourceAssociation |
withCreated(Date created)
The time the association is created.
|
WorkspaceResourceAssociation |
withLastUpdatedTime(Date lastUpdatedTime)
The time the association status was last updated.
|
WorkspaceResourceAssociation |
withState(AssociationState state)
The status of the WorkSpace resource association.
|
WorkspaceResourceAssociation |
withState(String state)
The status of the WorkSpace resource association.
|
WorkspaceResourceAssociation |
withStateReason(AssociationStateReason stateReason)
The reason the association deployment failed.
|
WorkspaceResourceAssociation |
withWorkspaceId(String workspaceId)
The identifier of the WorkSpace.
|
public void setAssociatedResourceId(String associatedResourceId)
The identifier of the associated resource.
associatedResourceId
- The identifier of the associated resource.public String getAssociatedResourceId()
The identifier of the associated resource.
public WorkspaceResourceAssociation withAssociatedResourceId(String associatedResourceId)
The identifier of the associated resource.
associatedResourceId
- The identifier of the associated resource.public void setAssociatedResourceType(String associatedResourceType)
The resource types of the associated resource.
associatedResourceType
- The resource types of the associated resource.WorkSpaceAssociatedResourceType
public String getAssociatedResourceType()
The resource types of the associated resource.
WorkSpaceAssociatedResourceType
public WorkspaceResourceAssociation withAssociatedResourceType(String associatedResourceType)
The resource types of the associated resource.
associatedResourceType
- The resource types of the associated resource.WorkSpaceAssociatedResourceType
public WorkspaceResourceAssociation withAssociatedResourceType(WorkSpaceAssociatedResourceType associatedResourceType)
The resource types of the associated resource.
associatedResourceType
- The resource types of the associated resource.WorkSpaceAssociatedResourceType
public void setCreated(Date created)
The time the association is created.
created
- The time the association is created.public Date getCreated()
The time the association is created.
public WorkspaceResourceAssociation withCreated(Date created)
The time the association is created.
created
- The time the association is created.public void setLastUpdatedTime(Date lastUpdatedTime)
The time the association status was last updated.
lastUpdatedTime
- The time the association status was last updated.public Date getLastUpdatedTime()
The time the association status was last updated.
public WorkspaceResourceAssociation withLastUpdatedTime(Date lastUpdatedTime)
The time the association status was last updated.
lastUpdatedTime
- The time the association status was last updated.public void setState(String state)
The status of the WorkSpace resource association.
state
- The status of the WorkSpace resource association.AssociationState
public String getState()
The status of the WorkSpace resource association.
AssociationState
public WorkspaceResourceAssociation withState(String state)
The status of the WorkSpace resource association.
state
- The status of the WorkSpace resource association.AssociationState
public WorkspaceResourceAssociation withState(AssociationState state)
The status of the WorkSpace resource association.
state
- The status of the WorkSpace resource association.AssociationState
public void setStateReason(AssociationStateReason stateReason)
The reason the association deployment failed.
stateReason
- The reason the association deployment failed.public AssociationStateReason getStateReason()
The reason the association deployment failed.
public WorkspaceResourceAssociation withStateReason(AssociationStateReason stateReason)
The reason the association deployment failed.
stateReason
- The reason the association deployment failed.public void setWorkspaceId(String workspaceId)
The identifier of the WorkSpace.
workspaceId
- The identifier of the WorkSpace.public String getWorkspaceId()
The identifier of the WorkSpace.
public WorkspaceResourceAssociation withWorkspaceId(String workspaceId)
The identifier of the WorkSpace.
workspaceId
- The identifier of the WorkSpace.public String toString()
toString
in class Object
Object.toString()
public WorkspaceResourceAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.