@Generated(value="software.amazon.awssdk:codegen") public final class CreateComputerRequest extends DirectoryRequest implements ToCopyableBuilder<CreateComputerRequest.Builder,CreateComputerRequest>
Contains the inputs for the CreateComputer operation.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateComputerRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateComputerRequest.Builder |
builder() |
List<Attribute> |
computerAttributes()
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
|
String |
computerName()
The name of the computer account.
|
String |
directoryId()
The identifier of the directory in which to create the computer account.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
organizationalUnitDistinguishedName()
The fully-qualified distinguished name of the organizational unit to place the computer account in.
|
String |
password()
A one-time password that is used to join the computer to the directory.
|
static Class<? extends CreateComputerRequest.Builder> |
serializableBuilderClass() |
CreateComputerRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String directoryId()
The identifier of the directory in which to create the computer account.
public String computerName()
The name of the computer account.
public 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.
public String organizationalUnitDistinguishedName()
The fully-qualified distinguished name of the organizational unit to place the computer account in.
public List<Attribute> computerAttributes()
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CreateComputerRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateComputerRequest.Builder,CreateComputerRequest>
toBuilder
in class DirectoryRequest
public static CreateComputerRequest.Builder builder()
public static Class<? extends CreateComputerRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.