Struct aws_sdk_pipes::input::list_pipes_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListPipesInput
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 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 build(self) -> Result<ListPipesInput, BuildError>
pub fn build(self) -> Result<ListPipesInput, BuildError>
Consumes the builder and constructs a ListPipesInput
.