Struct aws_sdk_nimble::operation::list_studio_components::builders::ListStudioComponentsInputBuilder
source · #[non_exhaustive]pub struct ListStudioComponentsInputBuilder { /* private fields */ }Expand description
A builder for ListStudioComponentsInput.
Implementations§
source§impl ListStudioComponentsInputBuilder
impl ListStudioComponentsInputBuilder
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The max number of results to return in the response.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The max number of results to return in the response.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The max number of results to return in the response.
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 set of results, or null if there are no more 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 set of results, or null if there are no more results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results, or null if there are no more results.
sourcepub fn states(self, input: StudioComponentState) -> Self
pub fn states(self, input: StudioComponentState) -> Self
Appends an item to states.
To override the contents of this collection use set_states.
Filters the request to studio components that are in one of the given states.
sourcepub fn set_states(self, input: Option<Vec<StudioComponentState>>) -> Self
pub fn set_states(self, input: Option<Vec<StudioComponentState>>) -> Self
Filters the request to studio components that are in one of the given states.
sourcepub fn get_states(&self) -> &Option<Vec<StudioComponentState>>
pub fn get_states(&self) -> &Option<Vec<StudioComponentState>>
Filters the request to studio components that are in one of the given states.
sourcepub fn studio_id(self, input: impl Into<String>) -> Self
pub fn studio_id(self, input: impl Into<String>) -> Self
The studio ID.
This field is required.sourcepub fn set_studio_id(self, input: Option<String>) -> Self
pub fn set_studio_id(self, input: Option<String>) -> Self
The studio ID.
sourcepub fn get_studio_id(&self) -> &Option<String>
pub fn get_studio_id(&self) -> &Option<String>
The studio ID.
sourcepub fn types(self, input: StudioComponentType) -> Self
pub fn types(self, input: StudioComponentType) -> Self
Appends an item to types.
To override the contents of this collection use set_types.
Filters the request to studio components that are of one of the given types.
sourcepub fn set_types(self, input: Option<Vec<StudioComponentType>>) -> Self
pub fn set_types(self, input: Option<Vec<StudioComponentType>>) -> Self
Filters the request to studio components that are of one of the given types.
sourcepub fn get_types(&self) -> &Option<Vec<StudioComponentType>>
pub fn get_types(&self) -> &Option<Vec<StudioComponentType>>
Filters the request to studio components that are of one of the given types.
sourcepub fn build(self) -> Result<ListStudioComponentsInput, BuildError>
pub fn build(self) -> Result<ListStudioComponentsInput, BuildError>
Consumes the builder and constructs a ListStudioComponentsInput.
source§impl ListStudioComponentsInputBuilder
impl ListStudioComponentsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListStudioComponentsOutput, SdkError<ListStudioComponentsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListStudioComponentsOutput, SdkError<ListStudioComponentsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListStudioComponentsInputBuilder
impl Clone for ListStudioComponentsInputBuilder
source§fn clone(&self) -> ListStudioComponentsInputBuilder
fn clone(&self) -> ListStudioComponentsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListStudioComponentsInputBuilder
impl Default for ListStudioComponentsInputBuilder
source§fn default() -> ListStudioComponentsInputBuilder
fn default() -> ListStudioComponentsInputBuilder
source§impl PartialEq for ListStudioComponentsInputBuilder
impl PartialEq for ListStudioComponentsInputBuilder
source§fn eq(&self, other: &ListStudioComponentsInputBuilder) -> bool
fn eq(&self, other: &ListStudioComponentsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.