@Generated(value="software.amazon.awssdk:codegen") public class WorkspaceDirectory extends Object implements StructuredPojo, ToCopyableBuilder<WorkspaceDirectory.Builder,WorkspaceDirectory>
Contains information about an AWS Directory Service directory for use 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 |
directoryTypeString()
The directory type.
|
List<String> |
dnsIpAddresses()
An array of strings that contains 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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
registrationCode()
The registration code for the directory.
|
static Class<? extends WorkspaceDirectory.Builder> |
serializableBuilderClass() |
WorkspaceDirectoryState |
state()
The state of the directory's registration with Amazon WorkSpaces
|
String |
stateString()
The state of the directory's registration with Amazon WorkSpaces
|
List<String> |
subnetIds()
An array of strings that contains 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()
A structure that specifies 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()
An array of strings that contains 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()
An array of strings that contains 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 directoryTypeString()
.
WorkspaceDirectoryType
public String directoryTypeString()
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 directoryTypeString()
.
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
stateString()
.
WorkspaceDirectoryState
public String stateString()
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
stateString()
.
WorkspaceDirectoryState
public DefaultWorkspaceCreationProperties workspaceCreationProperties()
A structure that specifies the default creation properties for all WorkSpaces in the directory.
public WorkspaceDirectory.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<WorkspaceDirectory.Builder,WorkspaceDirectory>
public static WorkspaceDirectory.Builder builder()
public static Class<? extends WorkspaceDirectory.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.