@Generated(value="software.amazon.awssdk:codegen") public final class WorkspaceProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkspaceProperties.Builder,WorkspaceProperties>
Describes a WorkSpace.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WorkspaceProperties.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WorkspaceProperties.Builder |
builder() |
Compute |
computeTypeName()
The compute type.
|
String |
computeTypeNameAsString()
The compute type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasProtocols()
For responses, this returns true if the service returned a value for the Protocols property.
|
List<Protocol> |
protocols()
The protocol.
|
List<String> |
protocolsAsStrings()
The protocol.
|
Integer |
rootVolumeSizeGib()
The size of the root volume.
|
RunningMode |
runningMode()
The running mode.
|
String |
runningModeAsString()
The running mode.
|
Integer |
runningModeAutoStopTimeoutInMinutes()
The time after a user logs off when WorkSpaces are automatically stopped.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WorkspaceProperties.Builder> |
serializableBuilderClass() |
WorkspaceProperties.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
userVolumeSizeGib()
The size of the user storage.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final RunningMode runningMode()
The running mode. For more information, see Manage the WorkSpace Running Mode.
The MANUAL value is only supported by Amazon WorkSpaces Core. Contact your account team to be
allow-listed to use this value. For more information, see Amazon
WorkSpaces Core.
If the service returns an enum value that is not available in the current SDK version, runningMode will
return RunningMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
runningModeAsString().
The MANUAL value is only supported by Amazon WorkSpaces Core. Contact your account team to
be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.
RunningModepublic final String runningModeAsString()
The running mode. For more information, see Manage the WorkSpace Running Mode.
The MANUAL value is only supported by Amazon WorkSpaces Core. Contact your account team to be
allow-listed to use this value. For more information, see Amazon
WorkSpaces Core.
If the service returns an enum value that is not available in the current SDK version, runningMode will
return RunningMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
runningModeAsString().
The MANUAL value is only supported by Amazon WorkSpaces Core. Contact your account team to
be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.
RunningModepublic final Integer runningModeAutoStopTimeoutInMinutes()
The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
public final Integer rootVolumeSizeGib()
The size of the root volume. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
public final Integer userVolumeSizeGib()
The size of the user storage. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
public final Compute computeTypeName()
The compute type. For more information, see Amazon WorkSpaces Bundles.
If the service returns an enum value that is not available in the current SDK version, computeTypeName
will return Compute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
computeTypeNameAsString().
Computepublic final String computeTypeNameAsString()
The compute type. For more information, see Amazon WorkSpaces Bundles.
If the service returns an enum value that is not available in the current SDK version, computeTypeName
will return Compute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
computeTypeNameAsString().
Computepublic final List<Protocol> protocols()
The protocol. For more information, see Protocols for Amazon WorkSpaces.
Only available for WorkSpaces created with PCoIP bundles.
The Protocols property is case sensitive. Ensure you use PCOIP or WSP.
Unavailable for Windows 7 WorkSpaces and WorkSpaces using GPU-based bundles (Graphics, GraphicsPro, Graphics.g4dn, and GraphicsPro.g4dn).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasProtocols() method.
Only available for WorkSpaces created with PCoIP bundles.
The Protocols property is case sensitive. Ensure you use PCOIP or
WSP.
Unavailable for Windows 7 WorkSpaces and WorkSpaces using GPU-based bundles (Graphics, GraphicsPro, Graphics.g4dn, and GraphicsPro.g4dn).
public final boolean hasProtocols()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> protocolsAsStrings()
The protocol. For more information, see Protocols for Amazon WorkSpaces.
Only available for WorkSpaces created with PCoIP bundles.
The Protocols property is case sensitive. Ensure you use PCOIP or WSP.
Unavailable for Windows 7 WorkSpaces and WorkSpaces using GPU-based bundles (Graphics, GraphicsPro, Graphics.g4dn, and GraphicsPro.g4dn).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasProtocols() method.
Only available for WorkSpaces created with PCoIP bundles.
The Protocols property is case sensitive. Ensure you use PCOIP or
WSP.
Unavailable for Windows 7 WorkSpaces and WorkSpaces using GPU-based bundles (Graphics, GraphicsPro, Graphics.g4dn, and GraphicsPro.g4dn).
public WorkspaceProperties.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WorkspaceProperties.Builder,WorkspaceProperties>public static WorkspaceProperties.Builder builder()
public static Class<? extends WorkspaceProperties.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.