@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DefaultWorkspaceCreationProperties extends Object implements Serializable, Cloneable, StructuredPojo
Describes the default values used to create a WorkSpace.
| Constructor and Description |
|---|
DefaultWorkspaceCreationProperties() |
| Modifier and Type | Method and Description |
|---|---|
DefaultWorkspaceCreationProperties |
clone() |
boolean |
equals(Object obj) |
String |
getCustomSecurityGroupId()
The identifier of any security groups to apply to WorkSpaces when they are created.
|
String |
getDefaultOu()
The organizational unit (OU) in the directory for the WorkSpace machine accounts.
|
Boolean |
getEnableInternetAccess()
Specifies whether to automatically assign a public IP address to WorkSpaces in this directory by default.
|
Boolean |
getEnableWorkDocs()
Specifies whether the directory is enabled for Amazon WorkDocs.
|
Boolean |
getUserEnabledAsLocalAdministrator()
Specifies whether the WorkSpace user is an administrator on the WorkSpace.
|
int |
hashCode() |
Boolean |
isEnableInternetAccess()
Specifies whether to automatically assign a public IP address to WorkSpaces in this directory by default.
|
Boolean |
isEnableWorkDocs()
Specifies whether the directory is enabled for Amazon WorkDocs.
|
Boolean |
isUserEnabledAsLocalAdministrator()
Specifies whether the WorkSpace user is an administrator on the WorkSpace.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCustomSecurityGroupId(String customSecurityGroupId)
The identifier of any security groups to apply to WorkSpaces when they are created.
|
void |
setDefaultOu(String defaultOu)
The organizational unit (OU) in the directory for the WorkSpace machine accounts.
|
void |
setEnableInternetAccess(Boolean enableInternetAccess)
Specifies whether to automatically assign a public IP address to WorkSpaces in this directory by default.
|
void |
setEnableWorkDocs(Boolean enableWorkDocs)
Specifies whether the directory is enabled for Amazon WorkDocs.
|
void |
setUserEnabledAsLocalAdministrator(Boolean userEnabledAsLocalAdministrator)
Specifies whether the WorkSpace user is an administrator on the WorkSpace.
|
String |
toString()
Returns a string representation of this object.
|
DefaultWorkspaceCreationProperties |
withCustomSecurityGroupId(String customSecurityGroupId)
The identifier of any security groups to apply to WorkSpaces when they are created.
|
DefaultWorkspaceCreationProperties |
withDefaultOu(String defaultOu)
The organizational unit (OU) in the directory for the WorkSpace machine accounts.
|
DefaultWorkspaceCreationProperties |
withEnableInternetAccess(Boolean enableInternetAccess)
Specifies whether to automatically assign a public IP address to WorkSpaces in this directory by default.
|
DefaultWorkspaceCreationProperties |
withEnableWorkDocs(Boolean enableWorkDocs)
Specifies whether the directory is enabled for Amazon WorkDocs.
|
DefaultWorkspaceCreationProperties |
withUserEnabledAsLocalAdministrator(Boolean userEnabledAsLocalAdministrator)
Specifies whether the WorkSpace user is an administrator on the WorkSpace.
|
public void setEnableWorkDocs(Boolean enableWorkDocs)
Specifies whether the directory is enabled for Amazon WorkDocs.
enableWorkDocs - Specifies whether the directory is enabled for Amazon WorkDocs.public Boolean getEnableWorkDocs()
Specifies whether the directory is enabled for Amazon WorkDocs.
public DefaultWorkspaceCreationProperties withEnableWorkDocs(Boolean enableWorkDocs)
Specifies whether the directory is enabled for Amazon WorkDocs.
enableWorkDocs - Specifies whether the directory is enabled for Amazon WorkDocs.public Boolean isEnableWorkDocs()
Specifies whether the directory is enabled for Amazon WorkDocs.
public void setEnableInternetAccess(Boolean enableInternetAccess)
Specifies whether to automatically assign a public IP address to WorkSpaces in this directory by default. If enabled, the public IP address allows outbound internet access from your WorkSpaces when you’re using an internet gateway in the Amazon VPC in which your WorkSpaces are located. If you're using a Network Address Translation (NAT) gateway for outbound internet access from your VPC, or if your WorkSpaces are in public subnets and you manually assign them Elastic IP addresses, you should disable this setting. This setting applies to new WorkSpaces that you launch or to existing WorkSpaces that you rebuild. For more information, see Configure a VPC for Amazon WorkSpaces.
enableInternetAccess - Specifies whether to automatically assign a public IP address to WorkSpaces in this directory by default.
If enabled, the public IP address allows outbound internet access from your WorkSpaces when you’re using
an internet gateway in the Amazon VPC in which your WorkSpaces are located. If you're using a Network
Address Translation (NAT) gateway for outbound internet access from your VPC, or if your WorkSpaces are in
public subnets and you manually assign them Elastic IP addresses, you should disable this setting. This
setting applies to new WorkSpaces that you launch or to existing WorkSpaces that you rebuild. For more
information, see Configure a
VPC for Amazon WorkSpaces.public Boolean getEnableInternetAccess()
Specifies whether to automatically assign a public IP address to WorkSpaces in this directory by default. If enabled, the public IP address allows outbound internet access from your WorkSpaces when you’re using an internet gateway in the Amazon VPC in which your WorkSpaces are located. If you're using a Network Address Translation (NAT) gateway for outbound internet access from your VPC, or if your WorkSpaces are in public subnets and you manually assign them Elastic IP addresses, you should disable this setting. This setting applies to new WorkSpaces that you launch or to existing WorkSpaces that you rebuild. For more information, see Configure a VPC for Amazon WorkSpaces.
public DefaultWorkspaceCreationProperties withEnableInternetAccess(Boolean enableInternetAccess)
Specifies whether to automatically assign a public IP address to WorkSpaces in this directory by default. If enabled, the public IP address allows outbound internet access from your WorkSpaces when you’re using an internet gateway in the Amazon VPC in which your WorkSpaces are located. If you're using a Network Address Translation (NAT) gateway for outbound internet access from your VPC, or if your WorkSpaces are in public subnets and you manually assign them Elastic IP addresses, you should disable this setting. This setting applies to new WorkSpaces that you launch or to existing WorkSpaces that you rebuild. For more information, see Configure a VPC for Amazon WorkSpaces.
enableInternetAccess - Specifies whether to automatically assign a public IP address to WorkSpaces in this directory by default.
If enabled, the public IP address allows outbound internet access from your WorkSpaces when you’re using
an internet gateway in the Amazon VPC in which your WorkSpaces are located. If you're using a Network
Address Translation (NAT) gateway for outbound internet access from your VPC, or if your WorkSpaces are in
public subnets and you manually assign them Elastic IP addresses, you should disable this setting. This
setting applies to new WorkSpaces that you launch or to existing WorkSpaces that you rebuild. For more
information, see Configure a
VPC for Amazon WorkSpaces.public Boolean isEnableInternetAccess()
Specifies whether to automatically assign a public IP address to WorkSpaces in this directory by default. If enabled, the public IP address allows outbound internet access from your WorkSpaces when you’re using an internet gateway in the Amazon VPC in which your WorkSpaces are located. If you're using a Network Address Translation (NAT) gateway for outbound internet access from your VPC, or if your WorkSpaces are in public subnets and you manually assign them Elastic IP addresses, you should disable this setting. This setting applies to new WorkSpaces that you launch or to existing WorkSpaces that you rebuild. For more information, see Configure a VPC for Amazon WorkSpaces.
public void setDefaultOu(String defaultOu)
The organizational unit (OU) in the directory for the WorkSpace machine accounts.
defaultOu - The organizational unit (OU) in the directory for the WorkSpace machine accounts.public String getDefaultOu()
The organizational unit (OU) in the directory for the WorkSpace machine accounts.
public DefaultWorkspaceCreationProperties withDefaultOu(String defaultOu)
The organizational unit (OU) in the directory for the WorkSpace machine accounts.
defaultOu - The organizational unit (OU) in the directory for the WorkSpace machine accounts.public void setCustomSecurityGroupId(String customSecurityGroupId)
The identifier of any security groups to apply to WorkSpaces when they are created.
customSecurityGroupId - The identifier of any security groups to apply to WorkSpaces when they are created.public String getCustomSecurityGroupId()
The identifier of any security groups to apply to WorkSpaces when they are created.
public DefaultWorkspaceCreationProperties withCustomSecurityGroupId(String customSecurityGroupId)
The identifier of any security groups to apply to WorkSpaces when they are created.
customSecurityGroupId - The identifier of any security groups to apply to WorkSpaces when they are created.public void setUserEnabledAsLocalAdministrator(Boolean userEnabledAsLocalAdministrator)
Specifies whether the WorkSpace user is an administrator on the WorkSpace.
userEnabledAsLocalAdministrator - Specifies whether the WorkSpace user is an administrator on the WorkSpace.public Boolean getUserEnabledAsLocalAdministrator()
Specifies whether the WorkSpace user is an administrator on the WorkSpace.
public DefaultWorkspaceCreationProperties withUserEnabledAsLocalAdministrator(Boolean userEnabledAsLocalAdministrator)
Specifies whether the WorkSpace user is an administrator on the WorkSpace.
userEnabledAsLocalAdministrator - Specifies whether the WorkSpace user is an administrator on the WorkSpace.public Boolean isUserEnabledAsLocalAdministrator()
Specifies whether the WorkSpace user is an administrator on the WorkSpace.
public String toString()
toString in class ObjectObject.toString()public DefaultWorkspaceCreationProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.