Class WorkspaceCreationProperties
- All Implemented Interfaces:
Serializable
,SdkPojo
,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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final String
The identifier of your custom security group.final String
The default organizational unit (OU) for your WorkSpaces directories.final Boolean
Indicates whether internet access is enabled for your WorkSpaces.final Boolean
Indicates whether maintenance mode is enabled for your WorkSpaces.final Boolean
Indicates whether Amazon WorkDocs is enabled for your WorkSpaces.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
Indicates the IAM role ARN of the instance.static Class
<? extends WorkspaceCreationProperties.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Boolean
Indicates whether users are local administrators of their WorkSpaces.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
Indicates whether internet access is enabled for your WorkSpaces.
- Returns:
- Indicates whether internet access is enabled for your WorkSpaces.
-
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
The identifier of your custom security group.
- Returns:
- The identifier of your custom security group.
-
userEnabledAsLocalAdministrator
Indicates whether users are local administrators of their WorkSpaces.
- Returns:
- Indicates whether users are local administrators of their WorkSpaces.
-
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
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 interfaceToCopyableBuilder<WorkspaceCreationProperties.Builder,
WorkspaceCreationProperties> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
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 anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-