public class CreateComputerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateComputer operation.
Creates a computer account in the specified directory, and joins the computer to the directory.
NOOP| Constructor and Description |
|---|
CreateComputerRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateComputerRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<Attribute> |
getComputerAttributes()
An array of Attribute objects that contain any LDAP attributes
to apply to the computer account.
|
String |
getComputerName()
The name of the computer account.
|
String |
getDirectoryId()
The identifier of the directory to create the computer account in.
|
String |
getOrganizationalUnitDistinguishedName()
The fully-qualified distinguished name of the organizational unit to
place the computer account in.
|
String |
getPassword()
A one-time password that is used to join the computer to the
directory.
|
int |
hashCode() |
void |
setComputerAttributes(Collection<Attribute> computerAttributes)
An array of Attribute objects that contain any LDAP attributes
to apply to the computer account.
|
void |
setComputerName(String computerName)
The name of the computer account.
|
void |
setDirectoryId(String directoryId)
The identifier of the directory to create the computer account in.
|
void |
setOrganizationalUnitDistinguishedName(String organizationalUnitDistinguishedName)
The fully-qualified distinguished name of the organizational unit to
place the computer account in.
|
void |
setPassword(String password)
A one-time password that is used to join the computer to the
directory.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateComputerRequest |
withComputerAttributes(Attribute... computerAttributes)
An array of Attribute objects that contain any LDAP attributes
to apply to the computer account.
|
CreateComputerRequest |
withComputerAttributes(Collection<Attribute> computerAttributes)
An array of Attribute objects that contain any LDAP attributes
to apply to the computer account.
|
CreateComputerRequest |
withComputerName(String computerName)
The name of the computer account.
|
CreateComputerRequest |
withDirectoryId(String directoryId)
The identifier of the directory to create the computer account in.
|
CreateComputerRequest |
withOrganizationalUnitDistinguishedName(String organizationalUnitDistinguishedName)
The fully-qualified distinguished name of the organizational unit to
place the computer account in.
|
CreateComputerRequest |
withPassword(String password)
A one-time password that is used to join the computer to the
directory.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getDirectoryId()
Constraints:
Pattern: ^d-[0-9a-f]{10}$
public void setDirectoryId(String directoryId)
Constraints:
Pattern: ^d-[0-9a-f]{10}$
directoryId - The identifier of the directory to create the computer account in.public CreateComputerRequest withDirectoryId(String directoryId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^d-[0-9a-f]{10}$
directoryId - The identifier of the directory to create the computer account in.public String getComputerName()
Constraints:
Length: 1 - 15
public void setComputerName(String computerName)
Constraints:
Length: 1 - 15
computerName - The name of the computer account.public CreateComputerRequest withComputerName(String computerName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 15
computerName - The name of the computer account.public String getPassword()
Constraints:
Length: 8 - 64
Pattern: [\u0020-\u00FF]+
public void setPassword(String password)
Constraints:
Length: 8 - 64
Pattern: [\u0020-\u00FF]+
password - A one-time password that is used to join the computer to the
directory. You should generate a random, strong password to use for
this parameter.public CreateComputerRequest withPassword(String password)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 8 - 64
Pattern: [\u0020-\u00FF]+
password - A one-time password that is used to join the computer to the
directory. You should generate a random, strong password to use for
this parameter.public String getOrganizationalUnitDistinguishedName()
Constraints:
Length: 1 - 2000
public void setOrganizationalUnitDistinguishedName(String organizationalUnitDistinguishedName)
Constraints:
Length: 1 - 2000
organizationalUnitDistinguishedName - The fully-qualified distinguished name of the organizational unit to
place the computer account in.public CreateComputerRequest withOrganizationalUnitDistinguishedName(String organizationalUnitDistinguishedName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2000
organizationalUnitDistinguishedName - The fully-qualified distinguished name of the organizational unit to
place the computer account in.public List<Attribute> getComputerAttributes()
public void setComputerAttributes(Collection<Attribute> computerAttributes)
computerAttributes - An array of Attribute objects that contain any LDAP attributes
to apply to the computer account.public CreateComputerRequest withComputerAttributes(Attribute... computerAttributes)
NOTE: This method appends the values to the existing list (if
any). Use setComputerAttributes(java.util.Collection) or
withComputerAttributes(java.util.Collection) if you want to
override the existing values.
Returns a reference to this object so that method calls can be chained together.
computerAttributes - An array of Attribute objects that contain any LDAP attributes
to apply to the computer account.public CreateComputerRequest withComputerAttributes(Collection<Attribute> computerAttributes)
Returns a reference to this object so that method calls can be chained together.
computerAttributes - An array of Attribute objects that contain any LDAP attributes
to apply to the computer account.public String toString()
toString in class ObjectObject.toString()public CreateComputerRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.