@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateComputerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the CreateComputer operation.
NOOP
Constructor and Description |
---|
CreateComputerRequest() |
Modifier and Type | Method and Description |
---|---|
CreateComputerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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 in which to create the computer account.
|
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 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.
|
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 in which to create the computer account.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDirectoryId(String directoryId)
The identifier of the directory in which to create the computer account.
directoryId
- The identifier of the directory in which to create the computer account.public String getDirectoryId()
The identifier of the directory in which to create the computer account.
public CreateComputerRequest withDirectoryId(String directoryId)
The identifier of the directory in which to create the computer account.
directoryId
- The identifier of the directory in which to create the computer account.public void setComputerName(String computerName)
The name of the computer account.
computerName
- The name of the computer account.public String getComputerName()
The name of the computer account.
public CreateComputerRequest withComputerName(String computerName)
The name of the computer account.
computerName
- The name of the computer account.public void setPassword(String 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.
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 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.
public CreateComputerRequest withPassword(String 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.
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 void setOrganizationalUnitDistinguishedName(String organizationalUnitDistinguishedName)
The fully-qualified distinguished name of the organizational unit to place the computer account in.
organizationalUnitDistinguishedName
- The fully-qualified distinguished name of the organizational unit to place the computer account in.public String getOrganizationalUnitDistinguishedName()
The fully-qualified distinguished name of the organizational unit to place the computer account in.
public CreateComputerRequest withOrganizationalUnitDistinguishedName(String organizationalUnitDistinguishedName)
The fully-qualified distinguished name of the organizational unit to place the computer account in.
organizationalUnitDistinguishedName
- The fully-qualified distinguished name of the organizational unit to place the computer account in.public List<Attribute> getComputerAttributes()
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
public void setComputerAttributes(Collection<Attribute> computerAttributes)
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
computerAttributes
- An array of Attribute objects that contain any LDAP attributes to apply to the computer account.public CreateComputerRequest withComputerAttributes(Attribute... computerAttributes)
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)
or withComputerAttributes(java.util.Collection)
if
you want to override the existing values.
computerAttributes
- An array of Attribute objects that contain any LDAP attributes to apply to the computer account.public CreateComputerRequest withComputerAttributes(Collection<Attribute> computerAttributes)
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
computerAttributes
- An array of Attribute objects that contain any LDAP attributes to apply to the computer account.public String toString()
toString
in class Object
Object.toString()
public CreateComputerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.