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