@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 AWS 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()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
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 symmetric AWS KMS customer master key (CMK) 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 AWS 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 AWS 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 symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
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()
public final List<Tag> tags()
The tags for the WorkSpace.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
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 © 2021. All rights reserved.