public class CreateComputerRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Contains the inputs for the CreateComputer operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Attribute> |
computerAttributes
An array of Attribute objects that contain any LDAP attributes to
apply to the computer account.
|
private java.lang.String |
computerName
The name of the computer account.
|
private java.lang.String |
directoryId
The identifier of the directory in which to create the computer account.
|
private java.lang.String |
organizationalUnitDistinguishedName
The fully-qualified distinguished name of the organizational unit to
place the computer account in.
|
private java.lang.String |
password
A one-time password that is used to join 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(java.lang.Object obj) |
java.util.List<Attribute> |
getComputerAttributes()
An array of Attribute objects that contain any LDAP attributes to
apply to the computer account.
|
java.lang.String |
getComputerName()
The name of the computer account.
|
java.lang.String |
getDirectoryId()
The identifier of the directory in which to create the computer account.
|
java.lang.String |
getOrganizationalUnitDistinguishedName()
The fully-qualified distinguished name of the organizational unit to
place the computer account in.
|
java.lang.String |
getPassword()
A one-time password that is used to join the computer to the directory.
|
int |
hashCode() |
void |
setComputerAttributes(java.util.Collection<Attribute> computerAttributes)
An array of Attribute objects that contain any LDAP attributes to
apply to the computer account.
|
void |
setComputerName(java.lang.String computerName)
The name of the computer account.
|
void |
setDirectoryId(java.lang.String directoryId)
The identifier of the directory in which to create the computer account.
|
void |
setOrganizationalUnitDistinguishedName(java.lang.String organizationalUnitDistinguishedName)
The fully-qualified distinguished name of the organizational unit to
place the computer account in.
|
void |
setPassword(java.lang.String password)
A one-time password that is used to join the computer to the directory.
|
java.lang.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(java.util.Collection<Attribute> computerAttributes)
An array of Attribute objects that contain any LDAP attributes to
apply to the computer account.
|
CreateComputerRequest |
withComputerName(java.lang.String computerName)
The name of the computer account.
|
CreateComputerRequest |
withDirectoryId(java.lang.String directoryId)
The identifier of the directory in which to create the computer account.
|
CreateComputerRequest |
withOrganizationalUnitDistinguishedName(java.lang.String organizationalUnitDistinguishedName)
The fully-qualified distinguished name of the organizational unit to
place the computer account in.
|
CreateComputerRequest |
withPassword(java.lang.String password)
A one-time password that is used to join the computer to the directory.
|
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
private java.lang.String directoryId
The identifier of the directory in which to create the computer account.
private java.lang.String computerName
The name of the computer account.
private java.lang.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.
private java.lang.String organizationalUnitDistinguishedName
The fully-qualified distinguished name of the organizational unit to place the computer account in.
private SdkInternalList<Attribute> computerAttributes
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
public void setDirectoryId(java.lang.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 java.lang.String getDirectoryId()
The identifier of the directory in which to create the computer account.
public CreateComputerRequest withDirectoryId(java.lang.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(java.lang.String computerName)
The name of the computer account.
computerName
- The name of the computer account.public java.lang.String getComputerName()
The name of the computer account.
public CreateComputerRequest withComputerName(java.lang.String computerName)
The name of the computer account.
computerName
- The name of the computer account.public void setPassword(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String getOrganizationalUnitDistinguishedName()
The fully-qualified distinguished name of the organizational unit to place the computer account in.
public CreateComputerRequest withOrganizationalUnitDistinguishedName(java.lang.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 java.util.List<Attribute> getComputerAttributes()
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
public void setComputerAttributes(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateComputerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()