Struct aws_sdk_directory::input::CreateComputerInput
source · [−]#[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
sourceimpl CreateComputerInput
impl CreateComputerInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateComputer, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateComputer, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateComputer
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateComputerInput
sourceimpl 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.
Trait Implementations
sourceimpl Clone for CreateComputerInput
impl Clone for CreateComputerInput
sourcefn clone(&self) -> CreateComputerInput
fn clone(&self) -> CreateComputerInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateComputerInput
impl Debug for CreateComputerInput
sourceimpl PartialEq<CreateComputerInput> for CreateComputerInput
impl PartialEq<CreateComputerInput> for CreateComputerInput
sourcefn eq(&self, other: &CreateComputerInput) -> bool
fn eq(&self, other: &CreateComputerInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateComputerInput) -> bool
fn ne(&self, other: &CreateComputerInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateComputerInput
Auto Trait Implementations
impl RefUnwindSafe for CreateComputerInput
impl Send for CreateComputerInput
impl Sync for CreateComputerInput
impl Unpin for CreateComputerInput
impl UnwindSafe for CreateComputerInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more