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
source§impl PartialEq for ListComponentsInputBuilder
impl PartialEq for ListComponentsInputBuilder
source§fn eq(&self, other: &ListComponentsInputBuilder) -> bool
fn eq(&self, other: &ListComponentsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.