@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkspaceCreationProperties extends Object implements Serializable, Cloneable, StructuredPojo
Describes the default properties that are used for creating WorkSpaces. For more information, see Update Directory Details for Your WorkSpaces.
Constructor and Description |
---|
WorkspaceCreationProperties() |
Modifier and Type | Method and Description |
---|---|
WorkspaceCreationProperties |
clone() |
boolean |
equals(Object obj) |
String |
getCustomSecurityGroupId()
The identifier of your custom security group.
|
String |
getDefaultOu()
The default organizational unit (OU) for your WorkSpaces directories.
|
Boolean |
getEnableInternetAccess()
Indicates whether internet access is enabled for your WorkSpaces.
|
Boolean |
getEnableMaintenanceMode()
Indicates whether maintenance mode is enabled for your WorkSpaces.
|
Boolean |
getEnableWorkDocs()
Indicates whether Amazon WorkDocs is enabled for your WorkSpaces.
|
String |
getInstanceIamRoleArn()
Indicates the IAM role ARN of the instance.
|
Boolean |
getUserEnabledAsLocalAdministrator()
Indicates whether users are local administrators of their WorkSpaces.
|
int |
hashCode() |
Boolean |
isEnableInternetAccess()
Indicates whether internet access is enabled for your WorkSpaces.
|
Boolean |
isEnableMaintenanceMode()
Indicates whether maintenance mode is enabled for your WorkSpaces.
|
Boolean |
isEnableWorkDocs()
Indicates whether Amazon WorkDocs is enabled for your WorkSpaces.
|
Boolean |
isUserEnabledAsLocalAdministrator()
Indicates whether users are local administrators of their WorkSpaces.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomSecurityGroupId(String customSecurityGroupId)
The identifier of your custom security group.
|
void |
setDefaultOu(String defaultOu)
The default organizational unit (OU) for your WorkSpaces directories.
|
void |
setEnableInternetAccess(Boolean enableInternetAccess)
Indicates whether internet access is enabled for your WorkSpaces.
|
void |
setEnableMaintenanceMode(Boolean enableMaintenanceMode)
Indicates whether maintenance mode is enabled for your WorkSpaces.
|
void |
setEnableWorkDocs(Boolean enableWorkDocs)
Indicates whether Amazon WorkDocs is enabled for your WorkSpaces.
|
void |
setInstanceIamRoleArn(String instanceIamRoleArn)
Indicates the IAM role ARN of the instance.
|
void |
setUserEnabledAsLocalAdministrator(Boolean userEnabledAsLocalAdministrator)
Indicates whether users are local administrators of their WorkSpaces.
|
String |
toString()
Returns a string representation of this object.
|
WorkspaceCreationProperties |
withCustomSecurityGroupId(String customSecurityGroupId)
The identifier of your custom security group.
|
WorkspaceCreationProperties |
withDefaultOu(String defaultOu)
The default organizational unit (OU) for your WorkSpaces directories.
|
WorkspaceCreationProperties |
withEnableInternetAccess(Boolean enableInternetAccess)
Indicates whether internet access is enabled for your WorkSpaces.
|
WorkspaceCreationProperties |
withEnableMaintenanceMode(Boolean enableMaintenanceMode)
Indicates whether maintenance mode is enabled for your WorkSpaces.
|
WorkspaceCreationProperties |
withEnableWorkDocs(Boolean enableWorkDocs)
Indicates whether Amazon WorkDocs is enabled for your WorkSpaces.
|
WorkspaceCreationProperties |
withInstanceIamRoleArn(String instanceIamRoleArn)
Indicates the IAM role ARN of the instance.
|
WorkspaceCreationProperties |
withUserEnabledAsLocalAdministrator(Boolean userEnabledAsLocalAdministrator)
Indicates whether users are local administrators of their WorkSpaces.
|
public void setEnableWorkDocs(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.
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.
public Boolean getEnableWorkDocs()
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.
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.
public WorkspaceCreationProperties withEnableWorkDocs(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.
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.
public Boolean isEnableWorkDocs()
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.
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.
public void setEnableInternetAccess(Boolean enableInternetAccess)
Indicates whether internet access is enabled for your WorkSpaces.
enableInternetAccess
- Indicates whether internet access is enabled for your WorkSpaces.public Boolean getEnableInternetAccess()
Indicates whether internet access is enabled for your WorkSpaces.
public WorkspaceCreationProperties withEnableInternetAccess(Boolean enableInternetAccess)
Indicates whether internet access is enabled for your WorkSpaces.
enableInternetAccess
- Indicates whether internet access is enabled for your WorkSpaces.public Boolean isEnableInternetAccess()
Indicates whether internet access is enabled for your WorkSpaces.
public void setDefaultOu(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.
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.
public String getDefaultOu()
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.
"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.
public WorkspaceCreationProperties withDefaultOu(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.
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.
public void setCustomSecurityGroupId(String customSecurityGroupId)
The identifier of your custom security group.
customSecurityGroupId
- The identifier of your custom security group.public String getCustomSecurityGroupId()
The identifier of your custom security group.
public WorkspaceCreationProperties withCustomSecurityGroupId(String customSecurityGroupId)
The identifier of your custom security group.
customSecurityGroupId
- The identifier of your custom security group.public void setUserEnabledAsLocalAdministrator(Boolean userEnabledAsLocalAdministrator)
Indicates whether users are local administrators of their WorkSpaces.
userEnabledAsLocalAdministrator
- Indicates whether users are local administrators of their WorkSpaces.public Boolean getUserEnabledAsLocalAdministrator()
Indicates whether users are local administrators of their WorkSpaces.
public WorkspaceCreationProperties withUserEnabledAsLocalAdministrator(Boolean userEnabledAsLocalAdministrator)
Indicates whether users are local administrators of their WorkSpaces.
userEnabledAsLocalAdministrator
- Indicates whether users are local administrators of their WorkSpaces.public Boolean isUserEnabledAsLocalAdministrator()
Indicates whether users are local administrators of their WorkSpaces.
public void setEnableMaintenanceMode(Boolean enableMaintenanceMode)
Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see WorkSpace Maintenance.
enableMaintenanceMode
- Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see WorkSpace
Maintenance.public Boolean getEnableMaintenanceMode()
Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see WorkSpace Maintenance.
public WorkspaceCreationProperties withEnableMaintenanceMode(Boolean enableMaintenanceMode)
Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see WorkSpace Maintenance.
enableMaintenanceMode
- Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see WorkSpace
Maintenance.public Boolean isEnableMaintenanceMode()
Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see WorkSpace Maintenance.
public void setInstanceIamRoleArn(String instanceIamRoleArn)
Indicates the IAM role ARN of the instance.
instanceIamRoleArn
- Indicates the IAM role ARN of the instance.public String getInstanceIamRoleArn()
Indicates the IAM role ARN of the instance.
public WorkspaceCreationProperties withInstanceIamRoleArn(String instanceIamRoleArn)
Indicates the IAM role ARN of the instance.
instanceIamRoleArn
- Indicates the IAM role ARN of the instance.public String toString()
toString
in class Object
Object.toString()
public WorkspaceCreationProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.