Class RelatedWorkspaceProperties
- java.lang.Object
-
- software.amazon.awssdk.services.workspaces.model.RelatedWorkspaceProperties
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RelatedWorkspaceProperties.Builder,RelatedWorkspaceProperties>
@Generated("software.amazon.awssdk:codegen") public final class RelatedWorkspaceProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RelatedWorkspaceProperties.Builder,RelatedWorkspaceProperties>
Describes the related WorkSpace. The related WorkSpace could be a standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRelatedWorkspaceProperties.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RelatedWorkspaceProperties.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringregion()The Region of the related WorkSpace.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RelatedWorkspaceProperties.Builder>serializableBuilderClass()WorkspaceStatestate()Indicates the state of the WorkSpace.StringstateAsString()Indicates the state of the WorkSpace.RelatedWorkspaceProperties.BuildertoBuilder()StringtoString()Returns a string representation of this object.StandbyWorkspaceRelationshipTypetype()Indicates the type of WorkSpace.StringtypeAsString()Indicates the type of WorkSpace.StringworkspaceId()The identifier of the related 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
-
workspaceId
public final String workspaceId()
The identifier of the related WorkSpace.
- Returns:
- The identifier of the related WorkSpace.
-
region
public final String region()
The Region of the related WorkSpace.
- Returns:
- The Region of the related WorkSpace.
-
state
public final WorkspaceState state()
Indicates the state of the WorkSpace.
If the service returns an enum value that is not available in the current SDK version,
statewill returnWorkspaceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Indicates the state of the WorkSpace.
- See Also:
WorkspaceState
-
stateAsString
public final String stateAsString()
Indicates the state of the WorkSpace.
If the service returns an enum value that is not available in the current SDK version,
statewill returnWorkspaceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Indicates the state of the WorkSpace.
- See Also:
WorkspaceState
-
type
public final StandbyWorkspaceRelationshipType type()
Indicates the type of WorkSpace.
If the service returns an enum value that is not available in the current SDK version,
typewill returnStandbyWorkspaceRelationshipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Indicates the type of WorkSpace.
- See Also:
StandbyWorkspaceRelationshipType
-
typeAsString
public final String typeAsString()
Indicates the type of WorkSpace.
If the service returns an enum value that is not available in the current SDK version,
typewill returnStandbyWorkspaceRelationshipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Indicates the type of WorkSpace.
- See Also:
StandbyWorkspaceRelationshipType
-
toBuilder
public RelatedWorkspaceProperties.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RelatedWorkspaceProperties.Builder,RelatedWorkspaceProperties>
-
builder
public static RelatedWorkspaceProperties.Builder builder()
-
serializableBuilderClass
public static Class<? extends RelatedWorkspaceProperties.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-