Struct aws_sdk_backupgateway::operation::disassociate_gateway_from_server::builders::DisassociateGatewayFromServerInputBuilder
source · #[non_exhaustive]pub struct DisassociateGatewayFromServerInputBuilder { /* private fields */ }Expand description
A builder for DisassociateGatewayFromServerInput.
Implementations§
source§impl DisassociateGatewayFromServerInputBuilder
impl DisassociateGatewayFromServerInputBuilder
sourcepub fn gateway_arn(self, input: impl Into<String>) -> Self
pub fn gateway_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the gateway to disassociate.
This field is required.sourcepub fn set_gateway_arn(self, input: Option<String>) -> Self
pub fn set_gateway_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the gateway to disassociate.
sourcepub fn get_gateway_arn(&self) -> &Option<String>
pub fn get_gateway_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the gateway to disassociate.
sourcepub fn build(self) -> Result<DisassociateGatewayFromServerInput, BuildError>
pub fn build(self) -> Result<DisassociateGatewayFromServerInput, BuildError>
Consumes the builder and constructs a DisassociateGatewayFromServerInput.
source§impl DisassociateGatewayFromServerInputBuilder
impl DisassociateGatewayFromServerInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DisassociateGatewayFromServerOutput, SdkError<DisassociateGatewayFromServerError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DisassociateGatewayFromServerOutput, SdkError<DisassociateGatewayFromServerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DisassociateGatewayFromServerInputBuilder
impl Clone for DisassociateGatewayFromServerInputBuilder
source§fn clone(&self) -> DisassociateGatewayFromServerInputBuilder
fn clone(&self) -> DisassociateGatewayFromServerInputBuilder
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 DisassociateGatewayFromServerInputBuilder
impl Default for DisassociateGatewayFromServerInputBuilder
source§fn default() -> DisassociateGatewayFromServerInputBuilder
fn default() -> DisassociateGatewayFromServerInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DisassociateGatewayFromServerInputBuilder
impl PartialEq for DisassociateGatewayFromServerInputBuilder
source§fn eq(&self, other: &DisassociateGatewayFromServerInputBuilder) -> bool
fn eq(&self, other: &DisassociateGatewayFromServerInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DisassociateGatewayFromServerInputBuilder
Auto Trait Implementations§
impl Freeze for DisassociateGatewayFromServerInputBuilder
impl RefUnwindSafe for DisassociateGatewayFromServerInputBuilder
impl Send for DisassociateGatewayFromServerInputBuilder
impl Sync for DisassociateGatewayFromServerInputBuilder
impl Unpin for DisassociateGatewayFromServerInputBuilder
impl UnwindSafe for DisassociateGatewayFromServerInputBuilder
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.