#[non_exhaustive]pub struct ListComponentsInputBuilder { /* private fields */ }Expand description
A builder for ListComponentsInput.
Implementations§
source§impl ListComponentsInputBuilder
impl ListComponentsInputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that indicates the location of the next component in the array of components, after the list of components that was previously requested.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that indicates the location of the next component in the array of components, after the list of components that was previously requested.
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
The name of an environment for result list filtering. Proton returns components associated with the environment or attached to service instances running in it.
sourcepub fn set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
The name of an environment for result list filtering. Proton returns components associated with the environment or attached to service instances running in it.
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
The name of a service for result list filtering. Proton returns components attached to service instances of the service.
sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
The name of a service for result list filtering. Proton returns components attached to service instances of the service.
sourcepub fn service_instance_name(self, input: impl Into<String>) -> Self
pub fn service_instance_name(self, input: impl Into<String>) -> Self
The name of a service instance for result list filtering. Proton returns the component attached to the service instance, if any.
sourcepub fn set_service_instance_name(self, input: Option<String>) -> Self
pub fn set_service_instance_name(self, input: Option<String>) -> Self
The name of a service instance for result list filtering. Proton returns the component attached to the service instance, if any.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of components to list.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of components to list.
sourcepub fn build(self) -> Result<ListComponentsInput, BuildError>
pub fn build(self) -> Result<ListComponentsInput, BuildError>
Consumes the builder and constructs a ListComponentsInput.
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<ListComponentsInputBuilder> for ListComponentsInputBuilder
impl PartialEq<ListComponentsInputBuilder> 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 ==.