@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DirectoryConfig extends Object implements Serializable, Cloneable, StructuredPojo
Full directory configuration details, which are used to join domains for the AppStream 2.0 streaming instances.
Constructor and Description |
---|
DirectoryConfig() |
Modifier and Type | Method and Description |
---|---|
DirectoryConfig |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedTime()
The time stamp when the directory configuration was created within AppStream 2.0.
|
String |
getDirectoryName()
The fully qualified name of the directory, such as corp.example.com
|
List<String> |
getOrganizationalUnitDistinguishedNames()
The list of the distinguished names of organizational units in which to place computer accounts.
|
ServiceAccountCredentials |
getServiceAccountCredentials()
The AccountName and AccountPassword of the service account, to be used by the streaming instance to
connect to the directory.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedTime(Date createdTime)
The time stamp when the directory configuration was created within AppStream 2.0.
|
void |
setDirectoryName(String directoryName)
The fully qualified name of the directory, such as corp.example.com
|
void |
setOrganizationalUnitDistinguishedNames(Collection<String> organizationalUnitDistinguishedNames)
The list of the distinguished names of organizational units in which to place computer accounts.
|
void |
setServiceAccountCredentials(ServiceAccountCredentials serviceAccountCredentials)
The AccountName and AccountPassword of the service account, to be used by the streaming instance to
connect to the directory.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DirectoryConfig |
withCreatedTime(Date createdTime)
The time stamp when the directory configuration was created within AppStream 2.0.
|
DirectoryConfig |
withDirectoryName(String directoryName)
The fully qualified name of the directory, such as corp.example.com
|
DirectoryConfig |
withOrganizationalUnitDistinguishedNames(Collection<String> organizationalUnitDistinguishedNames)
The list of the distinguished names of organizational units in which to place computer accounts.
|
DirectoryConfig |
withOrganizationalUnitDistinguishedNames(String... organizationalUnitDistinguishedNames)
The list of the distinguished names of organizational units in which to place computer accounts.
|
DirectoryConfig |
withServiceAccountCredentials(ServiceAccountCredentials serviceAccountCredentials)
The AccountName and AccountPassword of the service account, to be used by the streaming instance to
connect to the directory.
|
public void setDirectoryName(String directoryName)
The fully qualified name of the directory, such as corp.example.com
directoryName
- The fully qualified name of the directory, such as corp.example.compublic String getDirectoryName()
The fully qualified name of the directory, such as corp.example.com
public DirectoryConfig withDirectoryName(String directoryName)
The fully qualified name of the directory, such as corp.example.com
directoryName
- The fully qualified name of the directory, such as corp.example.compublic List<String> getOrganizationalUnitDistinguishedNames()
The list of the distinguished names of organizational units in which to place computer accounts.
public void setOrganizationalUnitDistinguishedNames(Collection<String> organizationalUnitDistinguishedNames)
The list of the distinguished names of organizational units in which to place computer accounts.
organizationalUnitDistinguishedNames
- The list of the distinguished names of organizational units in which to place computer accounts.public DirectoryConfig withOrganizationalUnitDistinguishedNames(String... organizationalUnitDistinguishedNames)
The list of the distinguished names of organizational units in which to place computer accounts.
NOTE: This method appends the values to the existing list (if any). Use
setOrganizationalUnitDistinguishedNames(java.util.Collection)
or
withOrganizationalUnitDistinguishedNames(java.util.Collection)
if you want to override the existing
values.
organizationalUnitDistinguishedNames
- The list of the distinguished names of organizational units in which to place computer accounts.public DirectoryConfig withOrganizationalUnitDistinguishedNames(Collection<String> organizationalUnitDistinguishedNames)
The list of the distinguished names of organizational units in which to place computer accounts.
organizationalUnitDistinguishedNames
- The list of the distinguished names of organizational units in which to place computer accounts.public void setServiceAccountCredentials(ServiceAccountCredentials serviceAccountCredentials)
The AccountName and AccountPassword of the service account, to be used by the streaming instance to connect to the directory.
serviceAccountCredentials
- The AccountName and AccountPassword of the service account, to be used by the streaming
instance to connect to the directory.public ServiceAccountCredentials getServiceAccountCredentials()
The AccountName and AccountPassword of the service account, to be used by the streaming instance to connect to the directory.
public DirectoryConfig withServiceAccountCredentials(ServiceAccountCredentials serviceAccountCredentials)
The AccountName and AccountPassword of the service account, to be used by the streaming instance to connect to the directory.
serviceAccountCredentials
- The AccountName and AccountPassword of the service account, to be used by the streaming
instance to connect to the directory.public void setCreatedTime(Date createdTime)
The time stamp when the directory configuration was created within AppStream 2.0.
createdTime
- The time stamp when the directory configuration was created within AppStream 2.0.public Date getCreatedTime()
The time stamp when the directory configuration was created within AppStream 2.0.
public DirectoryConfig withCreatedTime(Date createdTime)
The time stamp when the directory configuration was created within AppStream 2.0.
createdTime
- The time stamp when the directory configuration was created within AppStream 2.0.public String toString()
toString
in class Object
Object.toString()
public DirectoryConfig 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.