@Generated(value="software.amazon.awssdk:codegen") public final class WorkspaceDirectory extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkspaceDirectory.Builder,WorkspaceDirectory>
Describes a directory that is used with Amazon WorkSpaces.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WorkspaceDirectory.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
alias()
The directory alias.
|
static WorkspaceDirectory.Builder |
builder() |
CertificateBasedAuthProperties |
certificateBasedAuthProperties()
The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user
identities to Active Directory for WorkSpaces login.
|
String |
customerUserName()
The user name for the service account.
|
String |
directoryId()
The directory identifier.
|
String |
directoryName()
The name of the directory.
|
WorkspaceDirectoryType |
directoryType()
The directory type.
|
String |
directoryTypeAsString()
The directory type.
|
List<String> |
dnsIpAddresses()
The IP addresses of the DNS servers for the directory.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDnsIpAddresses()
For responses, this returns true if the service returned a value for the DnsIpAddresses property.
|
int |
hashCode() |
boolean |
hasIpGroupIds()
For responses, this returns true if the service returned a value for the IpGroupIds property.
|
boolean |
hasSubnetIds()
For responses, this returns true if the service returned a value for the SubnetIds property.
|
String |
iamRoleId()
The identifier of the IAM role.
|
List<String> |
ipGroupIds()
The identifiers of the IP access control groups associated with the directory.
|
String |
registrationCode()
The registration code for the directory.
|
SamlProperties |
samlProperties()
Describes the enablement status, user access URL, and relay state parameter name that are used for configuring
federation with an SAML 2.0 identity provider.
|
List<SdkField<?>> |
sdkFields() |
SelfservicePermissions |
selfservicePermissions()
The default self-service permissions for WorkSpaces in the directory.
|
static Class<? extends WorkspaceDirectory.Builder> |
serializableBuilderClass() |
WorkspaceDirectoryState |
state()
The state of the directory's registration with Amazon WorkSpaces.
|
String |
stateAsString()
The state of the directory's registration with Amazon WorkSpaces.
|
List<String> |
subnetIds()
The identifiers of the subnets used with the directory.
|
Tenancy |
tenancy()
Specifies whether the directory is dedicated or shared.
|
String |
tenancyAsString()
Specifies whether the directory is dedicated or shared.
|
WorkspaceDirectory.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
WorkspaceAccessProperties |
workspaceAccessProperties()
The devices and operating systems that users can use to access WorkSpaces.
|
DefaultWorkspaceCreationProperties |
workspaceCreationProperties()
The default creation properties for all WorkSpaces in the directory.
|
String |
workspaceSecurityGroupId()
The identifier of the security group that is assigned to new WorkSpaces.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String directoryId()
The directory identifier.
public final String alias()
The directory alias.
public final String directoryName()
The name of the directory.
public final String registrationCode()
The registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory.
public final boolean hasSubnetIds()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> subnetIds()
The identifiers of the subnets used with the directory.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSubnetIds() method.
public final boolean hasDnsIpAddresses()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> dnsIpAddresses()
The IP addresses of the DNS servers for the directory.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDnsIpAddresses() method.
public final String customerUserName()
The user name for the service account.
public final String iamRoleId()
The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.
public final WorkspaceDirectoryType directoryType()
The directory type.
If the service returns an enum value that is not available in the current SDK version, directoryType
will return WorkspaceDirectoryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from directoryTypeAsString().
WorkspaceDirectoryTypepublic final String directoryTypeAsString()
The directory type.
If the service returns an enum value that is not available in the current SDK version, directoryType
will return WorkspaceDirectoryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from directoryTypeAsString().
WorkspaceDirectoryTypepublic final String workspaceSecurityGroupId()
The identifier of the security group that is assigned to new WorkSpaces.
public final WorkspaceDirectoryState state()
The state of the directory's registration with Amazon WorkSpaces. After a directory is deregistered, the
DEREGISTERED state is returned very briefly before the directory metadata is cleaned up, so this
state is rarely returned. To confirm that a directory is deregistered, check for the directory ID by using
DescribeWorkspaceDirectories. If the directory ID isn't returned, then the directory has been successfully
deregistered.
If the service returns an enum value that is not available in the current SDK version, state will return
WorkspaceDirectoryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
DEREGISTERED state is returned very briefly before the directory metadata is cleaned up, so
this state is rarely returned. To confirm that a directory is deregistered, check for the directory ID by
using
DescribeWorkspaceDirectories. If the directory ID isn't returned, then the directory has been
successfully deregistered.WorkspaceDirectoryStatepublic final String stateAsString()
The state of the directory's registration with Amazon WorkSpaces. After a directory is deregistered, the
DEREGISTERED state is returned very briefly before the directory metadata is cleaned up, so this
state is rarely returned. To confirm that a directory is deregistered, check for the directory ID by using
DescribeWorkspaceDirectories. If the directory ID isn't returned, then the directory has been successfully
deregistered.
If the service returns an enum value that is not available in the current SDK version, state will return
WorkspaceDirectoryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
DEREGISTERED state is returned very briefly before the directory metadata is cleaned up, so
this state is rarely returned. To confirm that a directory is deregistered, check for the directory ID by
using
DescribeWorkspaceDirectories. If the directory ID isn't returned, then the directory has been
successfully deregistered.WorkspaceDirectoryStatepublic final DefaultWorkspaceCreationProperties workspaceCreationProperties()
The default creation properties for all WorkSpaces in the directory.
public final boolean hasIpGroupIds()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> ipGroupIds()
The identifiers of the IP access control groups associated with the directory.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasIpGroupIds() method.
public final WorkspaceAccessProperties workspaceAccessProperties()
The devices and operating systems that users can use to access WorkSpaces.
public final Tenancy tenancy()
Specifies whether the directory is dedicated or shared. To use Bring Your Own License (BYOL), this value must be
set to DEDICATED. For more information, see Bring Your Own Windows
Desktop Images.
If the service returns an enum value that is not available in the current SDK version, tenancy will
return Tenancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
tenancyAsString().
DEDICATED. For more information, see Bring Your Own
Windows Desktop Images.Tenancypublic final String tenancyAsString()
Specifies whether the directory is dedicated or shared. To use Bring Your Own License (BYOL), this value must be
set to DEDICATED. For more information, see Bring Your Own Windows
Desktop Images.
If the service returns an enum value that is not available in the current SDK version, tenancy will
return Tenancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
tenancyAsString().
DEDICATED. For more information, see Bring Your Own
Windows Desktop Images.Tenancypublic final SelfservicePermissions selfservicePermissions()
The default self-service permissions for WorkSpaces in the directory.
public final SamlProperties samlProperties()
Describes the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.
public final CertificateBasedAuthProperties certificateBasedAuthProperties()
The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory for WorkSpaces login.
public WorkspaceDirectory.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WorkspaceDirectory.Builder,WorkspaceDirectory>public static WorkspaceDirectory.Builder builder()
public static Class<? extends WorkspaceDirectory.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.