@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RelatedWorkspaceProperties.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RelatedWorkspaceProperties.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
region()
The Region of the related WorkSpace.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RelatedWorkspaceProperties.Builder> |
serializableBuilderClass() |
WorkspaceState |
state()
Indicates the state of the WorkSpace.
|
String |
stateAsString()
Indicates the state of the WorkSpace.
|
RelatedWorkspaceProperties.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
StandbyWorkspaceRelationshipType |
type()
Indicates the type of WorkSpace.
|
String |
typeAsString()
Indicates the type of WorkSpace.
|
String |
workspaceId()
The identifier of the related WorkSpace.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String workspaceId()
The identifier of the related WorkSpace.
public final String region()
The Region of the related WorkSpace.
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, state will return
WorkspaceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
WorkspaceStatepublic 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, state will return
WorkspaceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
WorkspaceStatepublic final StandbyWorkspaceRelationshipType type()
Indicates the type of WorkSpace.
If the service returns an enum value that is not available in the current SDK version, type will return
StandbyWorkspaceRelationshipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from typeAsString().
StandbyWorkspaceRelationshipTypepublic final String typeAsString()
Indicates the type of WorkSpace.
If the service returns an enum value that is not available in the current SDK version, type will return
StandbyWorkspaceRelationshipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from typeAsString().
StandbyWorkspaceRelationshipTypepublic RelatedWorkspaceProperties.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RelatedWorkspaceProperties.Builder,RelatedWorkspaceProperties>public static RelatedWorkspaceProperties.Builder builder()
public static Class<? extends RelatedWorkspaceProperties.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.