Class WorkspaceCreationProperties

java.lang.Object
software.amazon.awssdk.services.workspaces.model.WorkspaceCreationProperties
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<WorkspaceCreationProperties.Builder,WorkspaceCreationProperties>

@Generated("software.amazon.awssdk:codegen") public final class WorkspaceCreationProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkspaceCreationProperties.Builder,WorkspaceCreationProperties>

Describes the default properties that are used for creating WorkSpaces. For more information, see Update Directory Details for Your WorkSpaces.

See Also:
  • Method Details

    • enableWorkDocs

      public final Boolean enableWorkDocs()

      Indicates whether Amazon WorkDocs is enabled for your WorkSpaces.

      If WorkDocs is already enabled for a WorkSpaces directory and you disable it, new WorkSpaces launched in the directory will not have WorkDocs enabled. However, WorkDocs remains enabled for any existing WorkSpaces, unless you either disable users' access to WorkDocs or you delete the WorkDocs site. To disable users' access to WorkDocs, see Disabling Users in the Amazon WorkDocs Administration Guide. To delete a WorkDocs site, see Deleting a Site in the Amazon WorkDocs Administration Guide.

      If you enable WorkDocs on a directory that already has existing WorkSpaces, the existing WorkSpaces and any new WorkSpaces that are launched in the directory will have WorkDocs enabled.

      Returns:
      Indicates whether Amazon WorkDocs is enabled for your WorkSpaces.

      If WorkDocs is already enabled for a WorkSpaces directory and you disable it, new WorkSpaces launched in the directory will not have WorkDocs enabled. However, WorkDocs remains enabled for any existing WorkSpaces, unless you either disable users' access to WorkDocs or you delete the WorkDocs site. To disable users' access to WorkDocs, see Disabling Users in the Amazon WorkDocs Administration Guide. To delete a WorkDocs site, see Deleting a Site in the Amazon WorkDocs Administration Guide.

      If you enable WorkDocs on a directory that already has existing WorkSpaces, the existing WorkSpaces and any new WorkSpaces that are launched in the directory will have WorkDocs enabled.

    • enableInternetAccess

      public final Boolean enableInternetAccess()

      Indicates whether internet access is enabled for your WorkSpaces.

      Returns:
      Indicates whether internet access is enabled for your WorkSpaces.
    • defaultOu

      public final String defaultOu()

      The default organizational unit (OU) for your WorkSpaces directories. This string must be the full Lightweight Directory Access Protocol (LDAP) distinguished name for the target domain and OU. It must be in the form "OU=value,DC=value,DC=value", where value is any string of characters, and the number of domain components (DCs) is two or more. For example, OU=WorkSpaces_machines,DC=machines,DC=example,DC=com.

      • To avoid errors, certain characters in the distinguished name must be escaped. For more information, see Distinguished Names in the Microsoft documentation.

      • The API doesn't validate whether the OU exists.

      Returns:
      The default organizational unit (OU) for your WorkSpaces directories. This string must be the full Lightweight Directory Access Protocol (LDAP) distinguished name for the target domain and OU. It must be in the form "OU=value,DC=value,DC=value", where value is any string of characters, and the number of domain components (DCs) is two or more. For example, OU=WorkSpaces_machines,DC=machines,DC=example,DC=com.

      • To avoid errors, certain characters in the distinguished name must be escaped. For more information, see Distinguished Names in the Microsoft documentation.

      • The API doesn't validate whether the OU exists.

    • customSecurityGroupId

      public final String customSecurityGroupId()

      The identifier of your custom security group.

      Returns:
      The identifier of your custom security group.
    • userEnabledAsLocalAdministrator

      public final Boolean userEnabledAsLocalAdministrator()

      Indicates whether users are local administrators of their WorkSpaces.

      Returns:
      Indicates whether users are local administrators of their WorkSpaces.
    • enableMaintenanceMode

      public final Boolean enableMaintenanceMode()

      Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see WorkSpace Maintenance.

      Returns:
      Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see WorkSpace Maintenance.
    • instanceIamRoleArn

      public final String instanceIamRoleArn()

      Indicates the IAM role ARN of the instance.

      Returns:
      Indicates the IAM role ARN of the instance.
    • toBuilder

      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<WorkspaceCreationProperties.Builder,WorkspaceCreationProperties>
      Returns:
      a builder for type T
    • builder

      public static WorkspaceCreationProperties.Builder builder()
    • serializableBuilderClass

      public static Class<? extends WorkspaceCreationProperties.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.