Struct aws_sdk_pipes::operation::list_pipes::builders::ListPipesInputBuilder
source · #[non_exhaustive]pub struct ListPipesInputBuilder { /* private fields */ }
Expand description
A builder for ListPipesInput
.
Implementations§
source§impl ListPipesInputBuilder
impl ListPipesInputBuilder
sourcepub fn name_prefix(self, input: impl Into<String>) -> Self
pub fn name_prefix(self, input: impl Into<String>) -> Self
A value that will return a subset of the pipes associated with this account. For example, "NamePrefix": "ABC"
will return all endpoints with "ABC" in the name.
sourcepub fn set_name_prefix(self, input: Option<String>) -> Self
pub fn set_name_prefix(self, input: Option<String>) -> Self
A value that will return a subset of the pipes associated with this account. For example, "NamePrefix": "ABC"
will return all endpoints with "ABC" in the name.
sourcepub fn get_name_prefix(&self) -> &Option<String>
pub fn get_name_prefix(&self) -> &Option<String>
A value that will return a subset of the pipes associated with this account. For example, "NamePrefix": "ABC"
will return all endpoints with "ABC" in the name.
sourcepub fn desired_state(self, input: RequestedPipeState) -> Self
pub fn desired_state(self, input: RequestedPipeState) -> Self
The state the pipe should be in.
sourcepub fn set_desired_state(self, input: Option<RequestedPipeState>) -> Self
pub fn set_desired_state(self, input: Option<RequestedPipeState>) -> Self
The state the pipe should be in.
sourcepub fn get_desired_state(&self) -> &Option<RequestedPipeState>
pub fn get_desired_state(&self) -> &Option<RequestedPipeState>
The state the pipe should be in.
sourcepub fn current_state(self, input: PipeState) -> Self
pub fn current_state(self, input: PipeState) -> Self
The state the pipe is in.
sourcepub fn set_current_state(self, input: Option<PipeState>) -> Self
pub fn set_current_state(self, input: Option<PipeState>) -> Self
The state the pipe is in.
sourcepub fn get_current_state(&self) -> &Option<PipeState>
pub fn get_current_state(&self) -> &Option<PipeState>
The state the pipe is in.
sourcepub fn source_prefix(self, input: impl Into<String>) -> Self
pub fn source_prefix(self, input: impl Into<String>) -> Self
The prefix matching the pipe source.
sourcepub fn set_source_prefix(self, input: Option<String>) -> Self
pub fn set_source_prefix(self, input: Option<String>) -> Self
The prefix matching the pipe source.
sourcepub fn get_source_prefix(&self) -> &Option<String>
pub fn get_source_prefix(&self) -> &Option<String>
The prefix matching the pipe source.
sourcepub fn target_prefix(self, input: impl Into<String>) -> Self
pub fn target_prefix(self, input: impl Into<String>) -> Self
The prefix matching the pipe target.
sourcepub fn set_target_prefix(self, input: Option<String>) -> Self
pub fn set_target_prefix(self, input: Option<String>) -> Self
The prefix matching the pipe target.
sourcepub fn get_target_prefix(&self) -> &Option<String>
pub fn get_target_prefix(&self) -> &Option<String>
The prefix matching the pipe target.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The maximum number of pipes to include in the response.
sourcepub fn get_limit(&self) -> &Option<i32>
pub fn get_limit(&self) -> &Option<i32>
The maximum number of pipes to include in the response.
sourcepub fn build(self) -> Result<ListPipesInput, BuildError>
pub fn build(self) -> Result<ListPipesInput, BuildError>
Consumes the builder and constructs a ListPipesInput
.
source§impl ListPipesInputBuilder
impl ListPipesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListPipesOutput, SdkError<ListPipesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListPipesOutput, SdkError<ListPipesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListPipesInputBuilder
impl Clone for ListPipesInputBuilder
source§fn clone(&self) -> ListPipesInputBuilder
fn clone(&self) -> ListPipesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListPipesInputBuilder
impl Debug for ListPipesInputBuilder
source§impl Default for ListPipesInputBuilder
impl Default for ListPipesInputBuilder
source§fn default() -> ListPipesInputBuilder
fn default() -> ListPipesInputBuilder
source§impl PartialEq for ListPipesInputBuilder
impl PartialEq for ListPipesInputBuilder
source§fn eq(&self, other: &ListPipesInputBuilder) -> bool
fn eq(&self, other: &ListPipesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.