@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkspaceDirectory extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an AWS Directory Service directory for use with Amazon WorkSpaces.
Constructor and Description |
---|
WorkspaceDirectory() |
Modifier and Type | Method and Description |
---|---|
WorkspaceDirectory |
clone() |
boolean |
equals(Object obj) |
String |
getAlias()
The directory alias.
|
String |
getCustomerUserName()
The user name for the service account.
|
String |
getDirectoryId()
The directory identifier.
|
String |
getDirectoryName()
The name of the directory.
|
String |
getDirectoryType()
The directory type.
|
List<String> |
getDnsIpAddresses()
An array of strings that contains the IP addresses of the DNS servers for the directory.
|
String |
getIamRoleId()
The identifier of the IAM role.
|
String |
getRegistrationCode()
The registration code for the directory.
|
String |
getState()
The state of the directory's registration with Amazon WorkSpaces
|
List<String> |
getSubnetIds()
An array of strings that contains the identifiers of the subnets used with the directory.
|
DefaultWorkspaceCreationProperties |
getWorkspaceCreationProperties()
A structure that specifies the default creation properties for all WorkSpaces in the directory.
|
String |
getWorkspaceSecurityGroupId()
The identifier of the security group that is assigned to new WorkSpaces.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlias(String alias)
The directory alias.
|
void |
setCustomerUserName(String customerUserName)
The user name for the service account.
|
void |
setDirectoryId(String directoryId)
The directory identifier.
|
void |
setDirectoryName(String directoryName)
The name of the directory.
|
void |
setDirectoryType(String directoryType)
The directory type.
|
void |
setDirectoryType(WorkspaceDirectoryType directoryType)
The directory type.
|
void |
setDnsIpAddresses(Collection<String> dnsIpAddresses)
An array of strings that contains the IP addresses of the DNS servers for the directory.
|
void |
setIamRoleId(String iamRoleId)
The identifier of the IAM role.
|
void |
setRegistrationCode(String registrationCode)
The registration code for the directory.
|
void |
setState(String state)
The state of the directory's registration with Amazon WorkSpaces
|
void |
setState(WorkspaceDirectoryState state)
The state of the directory's registration with Amazon WorkSpaces
|
void |
setSubnetIds(Collection<String> subnetIds)
An array of strings that contains the identifiers of the subnets used with the directory.
|
void |
setWorkspaceCreationProperties(DefaultWorkspaceCreationProperties workspaceCreationProperties)
A structure that specifies the default creation properties for all WorkSpaces in the directory.
|
void |
setWorkspaceSecurityGroupId(String workspaceSecurityGroupId)
The identifier of the security group that is assigned to new WorkSpaces.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
WorkspaceDirectory |
withAlias(String alias)
The directory alias.
|
WorkspaceDirectory |
withCustomerUserName(String customerUserName)
The user name for the service account.
|
WorkspaceDirectory |
withDirectoryId(String directoryId)
The directory identifier.
|
WorkspaceDirectory |
withDirectoryName(String directoryName)
The name of the directory.
|
WorkspaceDirectory |
withDirectoryType(String directoryType)
The directory type.
|
WorkspaceDirectory |
withDirectoryType(WorkspaceDirectoryType directoryType)
The directory type.
|
WorkspaceDirectory |
withDnsIpAddresses(Collection<String> dnsIpAddresses)
An array of strings that contains the IP addresses of the DNS servers for the directory.
|
WorkspaceDirectory |
withDnsIpAddresses(String... dnsIpAddresses)
An array of strings that contains the IP addresses of the DNS servers for the directory.
|
WorkspaceDirectory |
withIamRoleId(String iamRoleId)
The identifier of the IAM role.
|
WorkspaceDirectory |
withRegistrationCode(String registrationCode)
The registration code for the directory.
|
WorkspaceDirectory |
withState(String state)
The state of the directory's registration with Amazon WorkSpaces
|
WorkspaceDirectory |
withState(WorkspaceDirectoryState state)
The state of the directory's registration with Amazon WorkSpaces
|
WorkspaceDirectory |
withSubnetIds(Collection<String> subnetIds)
An array of strings that contains the identifiers of the subnets used with the directory.
|
WorkspaceDirectory |
withSubnetIds(String... subnetIds)
An array of strings that contains the identifiers of the subnets used with the directory.
|
WorkspaceDirectory |
withWorkspaceCreationProperties(DefaultWorkspaceCreationProperties workspaceCreationProperties)
A structure that specifies the default creation properties for all WorkSpaces in the directory.
|
WorkspaceDirectory |
withWorkspaceSecurityGroupId(String workspaceSecurityGroupId)
The identifier of the security group that is assigned to new WorkSpaces.
|
public void setDirectoryId(String directoryId)
The directory identifier.
directoryId
- The directory identifier.public String getDirectoryId()
The directory identifier.
public WorkspaceDirectory withDirectoryId(String directoryId)
The directory identifier.
directoryId
- The directory identifier.public void setAlias(String alias)
The directory alias.
alias
- The directory alias.public String getAlias()
The directory alias.
public WorkspaceDirectory withAlias(String alias)
The directory alias.
alias
- The directory alias.public void setDirectoryName(String directoryName)
The name of the directory.
directoryName
- The name of the directory.public String getDirectoryName()
The name of the directory.
public WorkspaceDirectory withDirectoryName(String directoryName)
The name of the directory.
directoryName
- The name of the directory.public void setRegistrationCode(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.
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 String getRegistrationCode()
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 WorkspaceDirectory withRegistrationCode(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.
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> getSubnetIds()
An array of strings that contains the identifiers of the subnets used with the directory.
public void setSubnetIds(Collection<String> subnetIds)
An array of strings that contains the identifiers of the subnets used with the directory.
subnetIds
- An array of strings that contains the identifiers of the subnets used with the directory.public WorkspaceDirectory withSubnetIds(String... subnetIds)
An array of strings that contains the identifiers of the subnets used with the directory.
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
- An array of strings that contains the identifiers of the subnets used with the directory.public WorkspaceDirectory withSubnetIds(Collection<String> subnetIds)
An array of strings that contains the identifiers of the subnets used with the directory.
subnetIds
- An array of strings that contains the identifiers of the subnets used with the directory.public List<String> getDnsIpAddresses()
An array of strings that contains the IP addresses of the DNS servers for the directory.
public void setDnsIpAddresses(Collection<String> dnsIpAddresses)
An array of strings that contains the IP addresses of the DNS servers for the directory.
dnsIpAddresses
- An array of strings that contains the IP addresses of the DNS servers for the directory.public WorkspaceDirectory withDnsIpAddresses(String... dnsIpAddresses)
An array of strings that contains the IP addresses of the DNS servers for the directory.
NOTE: This method appends the values to the existing list (if any). Use
setDnsIpAddresses(java.util.Collection)
or withDnsIpAddresses(java.util.Collection)
if you want
to override the existing values.
dnsIpAddresses
- An array of strings that contains the IP addresses of the DNS servers for the directory.public WorkspaceDirectory withDnsIpAddresses(Collection<String> dnsIpAddresses)
An array of strings that contains the IP addresses of the DNS servers for the directory.
dnsIpAddresses
- An array of strings that contains the IP addresses of the DNS servers for the directory.public void setCustomerUserName(String customerUserName)
The user name for the service account.
customerUserName
- The user name for the service account.public String getCustomerUserName()
The user name for the service account.
public WorkspaceDirectory withCustomerUserName(String customerUserName)
The user name for the service account.
customerUserName
- The user name for the service account.public void setIamRoleId(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.
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 String getIamRoleId()
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 WorkspaceDirectory withIamRoleId(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.
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 void setDirectoryType(String directoryType)
The directory type.
directoryType
- The directory type.WorkspaceDirectoryType
public String getDirectoryType()
The directory type.
WorkspaceDirectoryType
public WorkspaceDirectory withDirectoryType(String directoryType)
The directory type.
directoryType
- The directory type.WorkspaceDirectoryType
public void setDirectoryType(WorkspaceDirectoryType directoryType)
The directory type.
directoryType
- The directory type.WorkspaceDirectoryType
public WorkspaceDirectory withDirectoryType(WorkspaceDirectoryType directoryType)
The directory type.
directoryType
- The directory type.WorkspaceDirectoryType
public void setWorkspaceSecurityGroupId(String workspaceSecurityGroupId)
The identifier of the security group that is assigned to new WorkSpaces.
workspaceSecurityGroupId
- The identifier of the security group that is assigned to new WorkSpaces.public String getWorkspaceSecurityGroupId()
The identifier of the security group that is assigned to new WorkSpaces.
public WorkspaceDirectory withWorkspaceSecurityGroupId(String workspaceSecurityGroupId)
The identifier of the security group that is assigned to new WorkSpaces.
workspaceSecurityGroupId
- The identifier of the security group that is assigned to new WorkSpaces.public void setState(String state)
The state of the directory's registration with Amazon WorkSpaces
state
- The state of the directory's registration with Amazon WorkSpacesWorkspaceDirectoryState
public String getState()
The state of the directory's registration with Amazon WorkSpaces
WorkspaceDirectoryState
public WorkspaceDirectory withState(String state)
The state of the directory's registration with Amazon WorkSpaces
state
- The state of the directory's registration with Amazon WorkSpacesWorkspaceDirectoryState
public void setState(WorkspaceDirectoryState state)
The state of the directory's registration with Amazon WorkSpaces
state
- The state of the directory's registration with Amazon WorkSpacesWorkspaceDirectoryState
public WorkspaceDirectory withState(WorkspaceDirectoryState state)
The state of the directory's registration with Amazon WorkSpaces
state
- The state of the directory's registration with Amazon WorkSpacesWorkspaceDirectoryState
public void setWorkspaceCreationProperties(DefaultWorkspaceCreationProperties workspaceCreationProperties)
A structure that specifies the default creation properties for all WorkSpaces in the directory.
workspaceCreationProperties
- A structure that specifies the default creation properties for all WorkSpaces in the directory.public DefaultWorkspaceCreationProperties getWorkspaceCreationProperties()
A structure that specifies the default creation properties for all WorkSpaces in the directory.
public WorkspaceDirectory withWorkspaceCreationProperties(DefaultWorkspaceCreationProperties workspaceCreationProperties)
A structure that specifies the default creation properties for all WorkSpaces in the directory.
workspaceCreationProperties
- A structure that specifies the default creation properties for all WorkSpaces in the directory.public String toString()
toString
in class Object
Object.toString()
public WorkspaceDirectory clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.