#[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) -> &[Attribute]
pub fn computer_attributes(&self) -> &[Attribute]
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .computer_attributes.is_none().
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 for CreateComputerInput
impl PartialEq 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 ==.impl StructuralPartialEq for CreateComputerInput
Auto Trait Implementations§
impl Freeze for CreateComputerInput
impl RefUnwindSafe for CreateComputerInput
impl Send for CreateComputerInput
impl Sync for CreateComputerInput
impl Unpin for CreateComputerInput
impl UnwindSafe for CreateComputerInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more