@Generated(value="software.amazon.awssdk:codegen") public final class WorkspaceRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkspaceRequest.Builder,WorkspaceRequest>
Describes the information used to create a WorkSpace.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WorkspaceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WorkspaceRequest.Builder |
builder() |
String |
bundleId()
The identifier of the bundle for the WorkSpace.
|
String |
directoryId()
The identifier of the Directory Service directory for the WorkSpace.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
Boolean |
rootVolumeEncryptionEnabled()
Indicates whether the data stored on the root volume is encrypted.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WorkspaceRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
The tags for the WorkSpace.
|
WorkspaceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
The user name of the user for the WorkSpace.
|
Boolean |
userVolumeEncryptionEnabled()
Indicates whether the data stored on the user volume is encrypted.
|
String |
volumeEncryptionKey()
The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace.
|
WorkspaceProperties |
workspaceProperties()
The WorkSpace properties.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String directoryId()
The identifier of the Directory Service directory for the WorkSpace. You can use DescribeWorkspaceDirectories to list the available directories.
public final String userName()
The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.
public final String bundleId()
The identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles to list the available bundles.
public final String volumeEncryptionKey()
The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
public final Boolean userVolumeEncryptionEnabled()
Indicates whether the data stored on the user volume is encrypted.
public final Boolean rootVolumeEncryptionEnabled()
Indicates whether the data stored on the root volume is encrypted.
public final WorkspaceProperties workspaceProperties()
The WorkSpace properties.
public final boolean hasTags()
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<Tag> tags()
The tags for the WorkSpace.
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 hasTags() method.
public WorkspaceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WorkspaceRequest.Builder,WorkspaceRequest>public static WorkspaceRequest.Builder builder()
public static Class<? extends WorkspaceRequest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.