Struct aws_sdk_networkmanager::operation::list_attachments::builders::ListAttachmentsInputBuilder
source · #[non_exhaustive]pub struct ListAttachmentsInputBuilder { /* private fields */ }
Expand description
A builder for ListAttachmentsInput
.
Implementations§
source§impl ListAttachmentsInputBuilder
impl ListAttachmentsInputBuilder
sourcepub fn core_network_id(self, input: impl Into<String>) -> Self
pub fn core_network_id(self, input: impl Into<String>) -> Self
The ID of a core network.
sourcepub fn set_core_network_id(self, input: Option<String>) -> Self
pub fn set_core_network_id(self, input: Option<String>) -> Self
The ID of a core network.
sourcepub fn get_core_network_id(&self) -> &Option<String>
pub fn get_core_network_id(&self) -> &Option<String>
The ID of a core network.
sourcepub fn attachment_type(self, input: AttachmentType) -> Self
pub fn attachment_type(self, input: AttachmentType) -> Self
The type of attachment.
sourcepub fn set_attachment_type(self, input: Option<AttachmentType>) -> Self
pub fn set_attachment_type(self, input: Option<AttachmentType>) -> Self
The type of attachment.
sourcepub fn get_attachment_type(&self) -> &Option<AttachmentType>
pub fn get_attachment_type(&self) -> &Option<AttachmentType>
The type of attachment.
sourcepub fn edge_location(self, input: impl Into<String>) -> Self
pub fn edge_location(self, input: impl Into<String>) -> Self
The Region where the edge is located.
sourcepub fn set_edge_location(self, input: Option<String>) -> Self
pub fn set_edge_location(self, input: Option<String>) -> Self
The Region where the edge is located.
sourcepub fn get_edge_location(&self) -> &Option<String>
pub fn get_edge_location(&self) -> &Option<String>
The Region where the edge is located.
sourcepub fn state(self, input: AttachmentState) -> Self
pub fn state(self, input: AttachmentState) -> Self
The state of the attachment.
sourcepub fn set_state(self, input: Option<AttachmentState>) -> Self
pub fn set_state(self, input: Option<AttachmentState>) -> Self
The state of the attachment.
sourcepub fn get_state(&self) -> &Option<AttachmentState>
pub fn get_state(&self) -> &Option<AttachmentState>
The state of the attachment.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next page of results.
sourcepub fn build(self) -> Result<ListAttachmentsInput, BuildError>
pub fn build(self) -> Result<ListAttachmentsInput, BuildError>
Consumes the builder and constructs a ListAttachmentsInput
.
source§impl ListAttachmentsInputBuilder
impl ListAttachmentsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListAttachmentsOutput, SdkError<ListAttachmentsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListAttachmentsOutput, SdkError<ListAttachmentsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListAttachmentsInputBuilder
impl Clone for ListAttachmentsInputBuilder
source§fn clone(&self) -> ListAttachmentsInputBuilder
fn clone(&self) -> ListAttachmentsInputBuilder
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 Debug for ListAttachmentsInputBuilder
impl Debug for ListAttachmentsInputBuilder
source§impl Default for ListAttachmentsInputBuilder
impl Default for ListAttachmentsInputBuilder
source§fn default() -> ListAttachmentsInputBuilder
fn default() -> ListAttachmentsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListAttachmentsInputBuilder
impl PartialEq for ListAttachmentsInputBuilder
source§fn eq(&self, other: &ListAttachmentsInputBuilder) -> bool
fn eq(&self, other: &ListAttachmentsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListAttachmentsInputBuilder
Auto Trait Implementations§
impl Freeze for ListAttachmentsInputBuilder
impl RefUnwindSafe for ListAttachmentsInputBuilder
impl Send for ListAttachmentsInputBuilder
impl Sync for ListAttachmentsInputBuilder
impl Unpin for ListAttachmentsInputBuilder
impl UnwindSafe for ListAttachmentsInputBuilder
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.