@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterWorkspaceDirectoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RegisterWorkspaceDirectoryRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterWorkspaceDirectoryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDirectoryId()
The identifier of the directory.
|
Boolean |
getEnableSelfService()
Indicates whether self-service capabilities are enabled or disabled.
|
Boolean |
getEnableWorkDocs()
Indicates whether Amazon WorkDocs is enabled or disabled.
|
List<String> |
getSubnetIds()
The identifiers of the subnets for your virtual private cloud (VPC).
|
List<Tag> |
getTags()
The tags associated with the directory.
|
String |
getTenancy()
Indicates whether your WorkSpace directory is dedicated or shared.
|
int |
hashCode() |
Boolean |
isEnableSelfService()
Indicates whether self-service capabilities are enabled or disabled.
|
Boolean |
isEnableWorkDocs()
Indicates whether Amazon WorkDocs is enabled or disabled.
|
void |
setDirectoryId(String directoryId)
The identifier of the directory.
|
void |
setEnableSelfService(Boolean enableSelfService)
Indicates whether self-service capabilities are enabled or disabled.
|
void |
setEnableWorkDocs(Boolean enableWorkDocs)
Indicates whether Amazon WorkDocs is enabled or disabled.
|
void |
setSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets for your virtual private cloud (VPC).
|
void |
setTags(Collection<Tag> tags)
The tags associated with the directory.
|
void |
setTenancy(String tenancy)
Indicates whether your WorkSpace directory is dedicated or shared.
|
String |
toString()
Returns a string representation of this object.
|
RegisterWorkspaceDirectoryRequest |
withDirectoryId(String directoryId)
The identifier of the directory.
|
RegisterWorkspaceDirectoryRequest |
withEnableSelfService(Boolean enableSelfService)
Indicates whether self-service capabilities are enabled or disabled.
|
RegisterWorkspaceDirectoryRequest |
withEnableWorkDocs(Boolean enableWorkDocs)
Indicates whether Amazon WorkDocs is enabled or disabled.
|
RegisterWorkspaceDirectoryRequest |
withSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets for your virtual private cloud (VPC).
|
RegisterWorkspaceDirectoryRequest |
withSubnetIds(String... subnetIds)
The identifiers of the subnets for your virtual private cloud (VPC).
|
RegisterWorkspaceDirectoryRequest |
withTags(Collection<Tag> tags)
The tags associated with the directory.
|
RegisterWorkspaceDirectoryRequest |
withTags(Tag... tags)
The tags associated with the directory.
|
RegisterWorkspaceDirectoryRequest |
withTenancy(String tenancy)
Indicates whether your WorkSpace directory is dedicated or shared.
|
RegisterWorkspaceDirectoryRequest |
withTenancy(Tenancy tenancy)
Indicates whether your WorkSpace directory is dedicated or shared.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDirectoryId(String directoryId)
The identifier of the directory. You cannot register a directory if it does not have a status of Active. If the directory does not have a status of Active, you will receive an InvalidResourceStateException error. If you have already registered the maximum number of directories that you can register with Amazon WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister directories that you are not using for WorkSpaces, and try again.
directoryId
- The identifier of the directory. You cannot register a directory if it does not have a status of Active.
If the directory does not have a status of Active, you will receive an InvalidResourceStateException
error. If you have already registered the maximum number of directories that you can register with Amazon
WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister directories that you are
not using for WorkSpaces, and try again.public String getDirectoryId()
The identifier of the directory. You cannot register a directory if it does not have a status of Active. If the directory does not have a status of Active, you will receive an InvalidResourceStateException error. If you have already registered the maximum number of directories that you can register with Amazon WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister directories that you are not using for WorkSpaces, and try again.
public RegisterWorkspaceDirectoryRequest withDirectoryId(String directoryId)
The identifier of the directory. You cannot register a directory if it does not have a status of Active. If the directory does not have a status of Active, you will receive an InvalidResourceStateException error. If you have already registered the maximum number of directories that you can register with Amazon WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister directories that you are not using for WorkSpaces, and try again.
directoryId
- The identifier of the directory. You cannot register a directory if it does not have a status of Active.
If the directory does not have a status of Active, you will receive an InvalidResourceStateException
error. If you have already registered the maximum number of directories that you can register with Amazon
WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister directories that you are
not using for WorkSpaces, and try again.public List<String> getSubnetIds()
The identifiers of the subnets for your virtual private cloud (VPC). Make sure that the subnets are in supported Availability Zones. The subnets must also be in separate Availability Zones. If these conditions are not met, you will receive an OperationNotSupportedException error.
public void setSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets for your virtual private cloud (VPC). Make sure that the subnets are in supported Availability Zones. The subnets must also be in separate Availability Zones. If these conditions are not met, you will receive an OperationNotSupportedException error.
subnetIds
- The identifiers of the subnets for your virtual private cloud (VPC). Make sure that the subnets are in
supported Availability Zones. The subnets must also be in separate Availability Zones. If these conditions
are not met, you will receive an OperationNotSupportedException error.public RegisterWorkspaceDirectoryRequest withSubnetIds(String... subnetIds)
The identifiers of the subnets for your virtual private cloud (VPC). Make sure that the subnets are in supported Availability Zones. The subnets must also be in separate Availability Zones. If these conditions are not met, you will receive an OperationNotSupportedException error.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- The identifiers of the subnets for your virtual private cloud (VPC). Make sure that the subnets are in
supported Availability Zones. The subnets must also be in separate Availability Zones. If these conditions
are not met, you will receive an OperationNotSupportedException error.public RegisterWorkspaceDirectoryRequest withSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets for your virtual private cloud (VPC). Make sure that the subnets are in supported Availability Zones. The subnets must also be in separate Availability Zones. If these conditions are not met, you will receive an OperationNotSupportedException error.
subnetIds
- The identifiers of the subnets for your virtual private cloud (VPC). Make sure that the subnets are in
supported Availability Zones. The subnets must also be in separate Availability Zones. If these conditions
are not met, you will receive an OperationNotSupportedException error.public void setEnableWorkDocs(Boolean enableWorkDocs)
Indicates whether Amazon WorkDocs is enabled or disabled. If you have enabled this parameter and WorkDocs is not
available in the Region, you will receive an OperationNotSupportedException error. Set
EnableWorkDocs
to disabled, and try again.
enableWorkDocs
- Indicates whether Amazon WorkDocs is enabled or disabled. If you have enabled this parameter and WorkDocs
is not available in the Region, you will receive an OperationNotSupportedException error. Set
EnableWorkDocs
to disabled, and try again.public Boolean getEnableWorkDocs()
Indicates whether Amazon WorkDocs is enabled or disabled. If you have enabled this parameter and WorkDocs is not
available in the Region, you will receive an OperationNotSupportedException error. Set
EnableWorkDocs
to disabled, and try again.
EnableWorkDocs
to disabled, and try again.public RegisterWorkspaceDirectoryRequest withEnableWorkDocs(Boolean enableWorkDocs)
Indicates whether Amazon WorkDocs is enabled or disabled. If you have enabled this parameter and WorkDocs is not
available in the Region, you will receive an OperationNotSupportedException error. Set
EnableWorkDocs
to disabled, and try again.
enableWorkDocs
- Indicates whether Amazon WorkDocs is enabled or disabled. If you have enabled this parameter and WorkDocs
is not available in the Region, you will receive an OperationNotSupportedException error. Set
EnableWorkDocs
to disabled, and try again.public Boolean isEnableWorkDocs()
Indicates whether Amazon WorkDocs is enabled or disabled. If you have enabled this parameter and WorkDocs is not
available in the Region, you will receive an OperationNotSupportedException error. Set
EnableWorkDocs
to disabled, and try again.
EnableWorkDocs
to disabled, and try again.public void setEnableSelfService(Boolean enableSelfService)
Indicates whether self-service capabilities are enabled or disabled.
enableSelfService
- Indicates whether self-service capabilities are enabled or disabled.public Boolean getEnableSelfService()
Indicates whether self-service capabilities are enabled or disabled.
public RegisterWorkspaceDirectoryRequest withEnableSelfService(Boolean enableSelfService)
Indicates whether self-service capabilities are enabled or disabled.
enableSelfService
- Indicates whether self-service capabilities are enabled or disabled.public Boolean isEnableSelfService()
Indicates whether self-service capabilities are enabled or disabled.
public void setTenancy(String tenancy)
Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own License (BYOL) images,
this value must be set to DEDICATED
and your Amazon Web Services account must be enabled for BYOL.
If your account has not been enabled for BYOL, you will receive an InvalidParameterValuesException error. For
more information about BYOL images, see Bring Your Own Windows
Desktop Images.
tenancy
- Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own License (BYOL)
images, this value must be set to DEDICATED
and your Amazon Web Services account must be
enabled for BYOL. If your account has not been enabled for BYOL, you will receive an
InvalidParameterValuesException error. For more information about BYOL images, see Bring Your Own
Windows Desktop Images.Tenancy
public String getTenancy()
Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own License (BYOL) images,
this value must be set to DEDICATED
and your Amazon Web Services account must be enabled for BYOL.
If your account has not been enabled for BYOL, you will receive an InvalidParameterValuesException error. For
more information about BYOL images, see Bring Your Own Windows
Desktop Images.
DEDICATED
and your Amazon Web Services account must be
enabled for BYOL. If your account has not been enabled for BYOL, you will receive an
InvalidParameterValuesException error. For more information about BYOL images, see Bring Your Own
Windows Desktop Images.Tenancy
public RegisterWorkspaceDirectoryRequest withTenancy(String tenancy)
Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own License (BYOL) images,
this value must be set to DEDICATED
and your Amazon Web Services account must be enabled for BYOL.
If your account has not been enabled for BYOL, you will receive an InvalidParameterValuesException error. For
more information about BYOL images, see Bring Your Own Windows
Desktop Images.
tenancy
- Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own License (BYOL)
images, this value must be set to DEDICATED
and your Amazon Web Services account must be
enabled for BYOL. If your account has not been enabled for BYOL, you will receive an
InvalidParameterValuesException error. For more information about BYOL images, see Bring Your Own
Windows Desktop Images.Tenancy
public RegisterWorkspaceDirectoryRequest withTenancy(Tenancy tenancy)
Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own License (BYOL) images,
this value must be set to DEDICATED
and your Amazon Web Services account must be enabled for BYOL.
If your account has not been enabled for BYOL, you will receive an InvalidParameterValuesException error. For
more information about BYOL images, see Bring Your Own Windows
Desktop Images.
tenancy
- Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own License (BYOL)
images, this value must be set to DEDICATED
and your Amazon Web Services account must be
enabled for BYOL. If your account has not been enabled for BYOL, you will receive an
InvalidParameterValuesException error. For more information about BYOL images, see Bring Your Own
Windows Desktop Images.Tenancy
public List<Tag> getTags()
The tags associated with the directory.
public void setTags(Collection<Tag> tags)
The tags associated with the directory.
tags
- The tags associated with the directory.public RegisterWorkspaceDirectoryRequest withTags(Tag... tags)
The tags associated with the directory.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags associated with the directory.public RegisterWorkspaceDirectoryRequest withTags(Collection<Tag> tags)
The tags associated with the directory.
tags
- The tags associated with the directory.public String toString()
toString
in class Object
Object.toString()
public RegisterWorkspaceDirectoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()