#[non_exhaustive]pub struct ListReleaseLabelsInputBuilder { /* private fields */ }Expand description
A builder for ListReleaseLabelsInput.
Implementations§
source§impl ListReleaseLabelsInputBuilder
impl ListReleaseLabelsInputBuilder
sourcepub fn filters(self, input: ReleaseLabelFilter) -> Self
pub fn filters(self, input: ReleaseLabelFilter) -> Self
Filters the results of the request. Prefix specifies the prefix of release labels to return. Application specifies the application (with/without version) of release labels to return.
sourcepub fn set_filters(self, input: Option<ReleaseLabelFilter>) -> Self
pub fn set_filters(self, input: Option<ReleaseLabelFilter>) -> Self
Filters the results of the request. Prefix specifies the prefix of release labels to return. Application specifies the application (with/without version) of release labels to return.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Specifies the next page of results. If NextToken is not specified, which is usually the case for the first request of ListReleaseLabels, the first page of results are determined by other filtering parameters or by the latest version. The ListReleaseLabels request fails if the identity (Amazon Web Services account ID) and all filtering parameters are different from the original request, or if the NextToken is expired or tampered with.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Specifies the next page of results. If NextToken is not specified, which is usually the case for the first request of ListReleaseLabels, the first page of results are determined by other filtering parameters or by the latest version. The ListReleaseLabels request fails if the identity (Amazon Web Services account ID) and all filtering parameters are different from the original request, or if the NextToken is expired or tampered with.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Defines the maximum number of release labels to return in a single response. The default is 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Defines the maximum number of release labels to return in a single response. The default is 100.
sourcepub fn build(self) -> Result<ListReleaseLabelsInput, BuildError>
pub fn build(self) -> Result<ListReleaseLabelsInput, BuildError>
Consumes the builder and constructs a ListReleaseLabelsInput.
Trait Implementations§
source§impl Clone for ListReleaseLabelsInputBuilder
impl Clone for ListReleaseLabelsInputBuilder
source§fn clone(&self) -> ListReleaseLabelsInputBuilder
fn clone(&self) -> ListReleaseLabelsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListReleaseLabelsInputBuilder
impl Default for ListReleaseLabelsInputBuilder
source§fn default() -> ListReleaseLabelsInputBuilder
fn default() -> ListReleaseLabelsInputBuilder
source§impl PartialEq<ListReleaseLabelsInputBuilder> for ListReleaseLabelsInputBuilder
impl PartialEq<ListReleaseLabelsInputBuilder> for ListReleaseLabelsInputBuilder
source§fn eq(&self, other: &ListReleaseLabelsInputBuilder) -> bool
fn eq(&self, other: &ListReleaseLabelsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.