@Generated(value="software.amazon.awssdk:codegen") public class WorkspaceProperties extends Object implements StructuredPojo, ToCopyableBuilder<WorkspaceProperties.Builder,WorkspaceProperties>
Describes the properties of a WorkSpace.
Modifier and Type | Class and Description |
---|---|
static interface |
WorkspaceProperties.Builder |
Modifier and Type | Method and Description |
---|---|
static WorkspaceProperties.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
RunningMode |
runningMode()
The running mode of the WorkSpace.
|
String |
runningModeAsString()
The running mode of the WorkSpace.
|
Integer |
runningModeAutoStopTimeoutInMinutes()
The time after a user logs off when WorkSpaces are automatically stopped.
|
static Class<? extends WorkspaceProperties.Builder> |
serializableBuilderClass() |
WorkspaceProperties.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public RunningMode runningMode()
The running mode of the WorkSpace. AlwaysOn WorkSpaces are billed monthly. AutoStop WorkSpaces are billed by the hour and stopped when no longer being used in order to save on costs.
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()
.
RunningMode
public String runningModeAsString()
The running mode of the WorkSpace. AlwaysOn WorkSpaces are billed monthly. AutoStop WorkSpaces are billed by the hour and stopped when no longer being used in order to save on costs.
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()
.
RunningMode
public Integer runningModeAutoStopTimeoutInMinutes()
The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60 minute intervals.
public WorkspaceProperties.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<WorkspaceProperties.Builder,WorkspaceProperties>
public static WorkspaceProperties.Builder builder()
public static Class<? extends WorkspaceProperties.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.