Struct aws_sdk_codedeploy::operation::register_on_premises_instance::builders::RegisterOnPremisesInstanceInputBuilder
source · #[non_exhaustive]pub struct RegisterOnPremisesInstanceInputBuilder { /* private fields */ }Expand description
A builder for RegisterOnPremisesInstanceInput.
Implementations§
source§impl RegisterOnPremisesInstanceInputBuilder
impl RegisterOnPremisesInstanceInputBuilder
sourcepub fn instance_name(self, input: impl Into<String>) -> Self
pub fn instance_name(self, input: impl Into<String>) -> Self
The name of the on-premises instance to register.
This field is required.sourcepub fn set_instance_name(self, input: Option<String>) -> Self
pub fn set_instance_name(self, input: Option<String>) -> Self
The name of the on-premises instance to register.
sourcepub fn get_instance_name(&self) -> &Option<String>
pub fn get_instance_name(&self) -> &Option<String>
The name of the on-premises instance to register.
sourcepub fn iam_session_arn(self, input: impl Into<String>) -> Self
pub fn iam_session_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM session to associate with the on-premises instance.
sourcepub fn set_iam_session_arn(self, input: Option<String>) -> Self
pub fn set_iam_session_arn(self, input: Option<String>) -> Self
The ARN of the IAM session to associate with the on-premises instance.
sourcepub fn get_iam_session_arn(&self) -> &Option<String>
pub fn get_iam_session_arn(&self) -> &Option<String>
The ARN of the IAM session to associate with the on-premises instance.
sourcepub fn iam_user_arn(self, input: impl Into<String>) -> Self
pub fn iam_user_arn(self, input: impl Into<String>) -> Self
The ARN of the user to associate with the on-premises instance.
sourcepub fn set_iam_user_arn(self, input: Option<String>) -> Self
pub fn set_iam_user_arn(self, input: Option<String>) -> Self
The ARN of the user to associate with the on-premises instance.
sourcepub fn get_iam_user_arn(&self) -> &Option<String>
pub fn get_iam_user_arn(&self) -> &Option<String>
The ARN of the user to associate with the on-premises instance.
sourcepub fn build(self) -> Result<RegisterOnPremisesInstanceInput, BuildError>
pub fn build(self) -> Result<RegisterOnPremisesInstanceInput, BuildError>
Consumes the builder and constructs a RegisterOnPremisesInstanceInput.
source§impl RegisterOnPremisesInstanceInputBuilder
impl RegisterOnPremisesInstanceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RegisterOnPremisesInstanceOutput, SdkError<RegisterOnPremisesInstanceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RegisterOnPremisesInstanceOutput, SdkError<RegisterOnPremisesInstanceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RegisterOnPremisesInstanceInputBuilder
impl Clone for RegisterOnPremisesInstanceInputBuilder
source§fn clone(&self) -> RegisterOnPremisesInstanceInputBuilder
fn clone(&self) -> RegisterOnPremisesInstanceInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for RegisterOnPremisesInstanceInputBuilder
impl Default for RegisterOnPremisesInstanceInputBuilder
source§fn default() -> RegisterOnPremisesInstanceInputBuilder
fn default() -> RegisterOnPremisesInstanceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RegisterOnPremisesInstanceInputBuilder
impl PartialEq for RegisterOnPremisesInstanceInputBuilder
source§fn eq(&self, other: &RegisterOnPremisesInstanceInputBuilder) -> bool
fn eq(&self, other: &RegisterOnPremisesInstanceInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RegisterOnPremisesInstanceInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RegisterOnPremisesInstanceInputBuilder
impl Send for RegisterOnPremisesInstanceInputBuilder
impl Sync for RegisterOnPremisesInstanceInputBuilder
impl Unpin for RegisterOnPremisesInstanceInputBuilder
impl UnwindSafe for RegisterOnPremisesInstanceInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.