Class CreateComputerRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Contains the inputs for the CreateComputer operation.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.The name of the computer account.The identifier of the directory in which to create the computer account.The fully-qualified distinguished name of the organizational unit to place the computer account in.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 in which to create the computer account.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.toString()
Returns a string representation of this object; useful for testing and debugging.withComputerAttributes
(Attribute... computerAttributes) An array of Attribute objects that contain any LDAP attributes to apply to the computer account.withComputerAttributes
(Collection<Attribute> computerAttributes) An array of Attribute objects that contain any LDAP attributes to apply to the computer account.withComputerName
(String computerName) The name of the computer account.withDirectoryId
(String directoryId) The identifier of the directory in which to create the computer account.withOrganizationalUnitDistinguishedName
(String organizationalUnitDistinguishedName) The fully-qualified distinguished name of the organizational unit to place the computer account in.withPassword
(String password) A one-time password that is used to join the computer to the directory.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateComputerRequest
public CreateComputerRequest()
-
-
Method Details
-
setDirectoryId
The identifier of the directory in which to create the computer account.
- Parameters:
directoryId
- The identifier of the directory in which to create the computer account.
-
getDirectoryId
The identifier of the directory in which to create the computer account.
- Returns:
- The identifier of the directory in which to create the computer account.
-
withDirectoryId
The identifier of the directory in which to create the computer account.
- Parameters:
directoryId
- The identifier of the directory in which to create the computer account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComputerName
The name of the computer account.
- Parameters:
computerName
- The name of the computer account.
-
getComputerName
The name of the computer account.
- Returns:
- The name of the computer account.
-
withComputerName
The name of the computer account.
- Parameters:
computerName
- The name of the computer account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPassword
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.
- Parameters:
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.
-
getPassword
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.
- Returns:
- 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.
-
withPassword
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOrganizationalUnitDistinguishedName
The fully-qualified distinguished name of the organizational unit to place the computer account in.
- Parameters:
organizationalUnitDistinguishedName
- The fully-qualified distinguished name of the organizational unit to place the computer account in.
-
getOrganizationalUnitDistinguishedName
The fully-qualified distinguished name of the organizational unit to place the computer account in.
- Returns:
- The fully-qualified distinguished name of the organizational unit to place the computer account in.
-
withOrganizationalUnitDistinguishedName
public CreateComputerRequest withOrganizationalUnitDistinguishedName(String organizationalUnitDistinguishedName) The fully-qualified distinguished name of the organizational unit to place the computer account in.
- Parameters:
organizationalUnitDistinguishedName
- The fully-qualified distinguished name of the organizational unit to place the computer account in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getComputerAttributes
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
- Returns:
- An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
-
setComputerAttributes
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
- Parameters:
computerAttributes
- An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
-
withComputerAttributes
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
NOTE: This method appends the values to the existing list (if any). Use
setComputerAttributes(java.util.Collection)
orwithComputerAttributes(java.util.Collection)
if you want to override the existing values.- Parameters:
computerAttributes
- An array of Attribute objects that contain any LDAP attributes to apply to the computer account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withComputerAttributes
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
- Parameters:
computerAttributes
- An array of Attribute objects that contain any LDAP attributes to apply to the computer account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-