#[non_exhaustive]pub struct CreateComputerInput {
pub directory_id: Option<String>,
pub computer_name: Option<String>,
pub password: Option<String>,
pub organizational_unit_distinguished_name: Option<String>,
pub computer_attributes: Option<Vec<Attribute>>,
}Expand description
Contains the inputs for the CreateComputer operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.directory_id: Option<String>The identifier of the directory in which to create the computer account.
computer_name: Option<String>The name of the computer account.
password: Option<String>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.
organizational_unit_distinguished_name: Option<String>The fully-qualified distinguished name of the organizational unit to place the computer account in.
computer_attributes: Option<Vec<Attribute>>An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
Implementations§
source§impl CreateComputerInput
impl CreateComputerInput
sourcepub fn directory_id(&self) -> Option<&str>
pub fn directory_id(&self) -> Option<&str>
The identifier of the directory in which to create the computer account.
sourcepub fn computer_name(&self) -> Option<&str>
pub fn computer_name(&self) -> Option<&str>
The name of the computer account.
sourcepub fn password(&self) -> Option<&str>
pub fn password(&self) -> Option<&str>
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.
sourcepub fn organizational_unit_distinguished_name(&self) -> Option<&str>
pub fn organizational_unit_distinguished_name(&self) -> Option<&str>
The fully-qualified distinguished name of the organizational unit to place the computer account in.
sourcepub fn computer_attributes(&self) -> Option<&[Attribute]>
pub fn computer_attributes(&self) -> Option<&[Attribute]>
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
source§impl CreateComputerInput
impl CreateComputerInput
sourcepub fn builder() -> CreateComputerInputBuilder
pub fn builder() -> CreateComputerInputBuilder
Creates a new builder-style object to manufacture CreateComputerInput.
Trait Implementations§
source§impl Clone for CreateComputerInput
impl Clone for CreateComputerInput
source§fn clone(&self) -> CreateComputerInput
fn clone(&self) -> CreateComputerInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateComputerInput
impl Debug for CreateComputerInput
source§impl PartialEq<CreateComputerInput> for CreateComputerInput
impl PartialEq<CreateComputerInput> for CreateComputerInput
source§fn eq(&self, other: &CreateComputerInput) -> bool
fn eq(&self, other: &CreateComputerInput) -> bool
self and other values to be equal, and is used
by ==.