Class WorkspaceResourceAssociation
- java.lang.Object
-
- software.amazon.awssdk.services.workspaces.model.WorkspaceResourceAssociation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WorkspaceResourceAssociation.Builder,WorkspaceResourceAssociation>
@Generated("software.amazon.awssdk:codegen") public final class WorkspaceResourceAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkspaceResourceAssociation.Builder,WorkspaceResourceAssociation>
Describes the association between an application and a WorkSpace resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWorkspaceResourceAssociation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassociatedResourceId()The identifier of the associated resource.WorkSpaceAssociatedResourceTypeassociatedResourceType()The resource types of the associated resource.StringassociatedResourceTypeAsString()The resource types of the associated resource.static WorkspaceResourceAssociation.Builderbuilder()Instantcreated()The time the association is created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedTime()The time the association status was last updated.List<SdkField<?>>sdkFields()static Class<? extends WorkspaceResourceAssociation.Builder>serializableBuilderClass()AssociationStatestate()The status of the WorkSpace resource association.StringstateAsString()The status of the WorkSpace resource association.AssociationStateReasonstateReason()The reason the association deployment failed.WorkspaceResourceAssociation.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkspaceId()The identifier of the WorkSpace.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
associatedResourceId
public final String associatedResourceId()
The identifier of the associated resource.
- Returns:
- The identifier of the associated resource.
-
associatedResourceType
public final WorkSpaceAssociatedResourceType associatedResourceType()
The resource types of the associated resource.
If the service returns an enum value that is not available in the current SDK version,
associatedResourceTypewill returnWorkSpaceAssociatedResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociatedResourceTypeAsString().- Returns:
- The resource types of the associated resource.
- See Also:
WorkSpaceAssociatedResourceType
-
associatedResourceTypeAsString
public final String associatedResourceTypeAsString()
The resource types of the associated resource.
If the service returns an enum value that is not available in the current SDK version,
associatedResourceTypewill returnWorkSpaceAssociatedResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociatedResourceTypeAsString().- Returns:
- The resource types of the associated resource.
- See Also:
WorkSpaceAssociatedResourceType
-
created
public final Instant created()
The time the association is created.
- Returns:
- The time the association is created.
-
lastUpdatedTime
public final Instant lastUpdatedTime()
The time the association status was last updated.
- Returns:
- The time the association status was last updated.
-
state
public final AssociationState state()
The status of the WorkSpace resource association.
If the service returns an enum value that is not available in the current SDK version,
statewill returnAssociationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The status of the WorkSpace resource association.
- See Also:
AssociationState
-
stateAsString
public final String stateAsString()
The status of the WorkSpace resource association.
If the service returns an enum value that is not available in the current SDK version,
statewill returnAssociationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The status of the WorkSpace resource association.
- See Also:
AssociationState
-
stateReason
public final AssociationStateReason stateReason()
The reason the association deployment failed.
- Returns:
- The reason the association deployment failed.
-
workspaceId
public final String workspaceId()
The identifier of the WorkSpace.
- Returns:
- The identifier of the WorkSpace.
-
toBuilder
public WorkspaceResourceAssociation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WorkspaceResourceAssociation.Builder,WorkspaceResourceAssociation>
-
builder
public static WorkspaceResourceAssociation.Builder builder()
-
serializableBuilderClass
public static Class<? extends WorkspaceResourceAssociation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-