Struct aws_sdk_iottwinmaker::operation::list_components::builders::ListComponentsInputBuilder
source · #[non_exhaustive]pub struct ListComponentsInputBuilder { /* private fields */ }Expand description
A builder for ListComponentsInput.
Implementations§
source§impl ListComponentsInputBuilder
impl ListComponentsInputBuilder
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The workspace ID.
This field is required.sourcepub fn set_workspace_id(self, input: Option<String>) -> Self
pub fn set_workspace_id(self, input: Option<String>) -> Self
The workspace ID.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The workspace ID.
sourcepub fn entity_id(self, input: impl Into<String>) -> Self
pub fn entity_id(self, input: impl Into<String>) -> Self
The ID for the entity whose metadata (component/properties) is returned by the operation.
This field is required.sourcepub fn set_entity_id(self, input: Option<String>) -> Self
pub fn set_entity_id(self, input: Option<String>) -> Self
The ID for the entity whose metadata (component/properties) is returned by the operation.
sourcepub fn get_entity_id(&self) -> &Option<String>
pub fn get_entity_id(&self) -> &Option<String>
The ID for the entity whose metadata (component/properties) is returned by the operation.
sourcepub fn component_path(self, input: impl Into<String>) -> Self
pub fn component_path(self, input: impl Into<String>) -> Self
This string specifies the path to the composite component, starting from the top-level component.
sourcepub fn set_component_path(self, input: Option<String>) -> Self
pub fn set_component_path(self, input: Option<String>) -> Self
This string specifies the path to the composite component, starting from the top-level component.
sourcepub fn get_component_path(&self) -> &Option<String>
pub fn get_component_path(&self) -> &Option<String>
This string specifies the path to the composite component, starting from the top-level component.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results returned at one time. The default is 25.
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 returned at one time. The default is 25.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results returned at one time. The default is 25.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The string that specifies 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 string that specifies the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The string that specifies the next page of results.
sourcepub fn build(self) -> Result<ListComponentsInput, BuildError>
pub fn build(self) -> Result<ListComponentsInput, BuildError>
Consumes the builder and constructs a ListComponentsInput.
source§impl ListComponentsInputBuilder
impl ListComponentsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListComponentsOutput, SdkError<ListComponentsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListComponentsOutput, SdkError<ListComponentsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListComponentsInputBuilder
impl Clone for ListComponentsInputBuilder
source§fn clone(&self) -> ListComponentsInputBuilder
fn clone(&self) -> ListComponentsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListComponentsInputBuilder
impl Debug for ListComponentsInputBuilder
source§impl Default for ListComponentsInputBuilder
impl Default for ListComponentsInputBuilder
source§fn default() -> ListComponentsInputBuilder
fn default() -> ListComponentsInputBuilder
impl StructuralPartialEq for ListComponentsInputBuilder
Auto Trait Implementations§
impl Freeze for ListComponentsInputBuilder
impl RefUnwindSafe for ListComponentsInputBuilder
impl Send for ListComponentsInputBuilder
impl Sync for ListComponentsInputBuilder
impl Unpin for ListComponentsInputBuilder
impl UnwindSafe for ListComponentsInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more