@Generated(value="software.amazon.awssdk:codegen") public final class WorkspaceDirectory extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkspaceDirectory.Builder,WorkspaceDirectory>
Describes an AWS Directory Service 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() |
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
List<SdkField<?>> |
sdkFields() |
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.
|
WorkspaceDirectory.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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.
|
copy
public String directoryId()
The directory identifier.
public String alias()
The directory alias.
public String directoryName()
The name of the directory.
public 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 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.
public 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.
public String customerUserName()
The user name for the service account.
public 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 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()
.
WorkspaceDirectoryType
public 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()
.
WorkspaceDirectoryType
public String workspaceSecurityGroupId()
The identifier of the security group that is assigned to new WorkSpaces.
public WorkspaceDirectoryState state()
The state of the directory's registration with Amazon WorkSpaces
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()
.
WorkspaceDirectoryState
public String stateAsString()
The state of the directory's registration with Amazon WorkSpaces
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()
.
WorkspaceDirectoryState
public DefaultWorkspaceCreationProperties workspaceCreationProperties()
The default creation properties for all WorkSpaces in the directory.
public 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.
public WorkspaceDirectory.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<WorkspaceDirectory.Builder,WorkspaceDirectory>
public static WorkspaceDirectory.Builder builder()
public static Class<? extends WorkspaceDirectory.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.