#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for ListApplicationRevisionsInput
Implementations
sourceimpl Builder
impl Builder
sourcepub fn application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of an AWS CodeDeploy application associated with the IAM user or AWS account.
sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of an AWS CodeDeploy application associated with the IAM user or AWS account.
sourcepub fn sort_by(self, input: ApplicationRevisionSortBy) -> Self
pub fn sort_by(self, input: ApplicationRevisionSortBy) -> Self
The column name to use to sort the list results:
-
registerTime
: Sort by the time the revisions were registered with AWS CodeDeploy. -
firstUsedTime
: Sort by the time the revisions were first used in a deployment. -
lastUsedTime
: Sort by the time the revisions were last used in a deployment.
If not specified or set to null, the results are returned in an arbitrary order.
sourcepub fn set_sort_by(self, input: Option<ApplicationRevisionSortBy>) -> Self
pub fn set_sort_by(self, input: Option<ApplicationRevisionSortBy>) -> Self
The column name to use to sort the list results:
-
registerTime
: Sort by the time the revisions were registered with AWS CodeDeploy. -
firstUsedTime
: Sort by the time the revisions were first used in a deployment. -
lastUsedTime
: Sort by the time the revisions were last used in a deployment.
If not specified or set to null, the results are returned in an arbitrary order.
sourcepub fn sort_order(self, input: SortOrder) -> Self
pub fn sort_order(self, input: SortOrder) -> Self
The order in which to sort the list results:
-
ascending
: ascending order. -
descending
: descending order.
If not specified, the results are sorted in ascending order.
If set to null, the results are sorted in an arbitrary order.
sourcepub fn set_sort_order(self, input: Option<SortOrder>) -> Self
pub fn set_sort_order(self, input: Option<SortOrder>) -> Self
The order in which to sort the list results:
-
ascending
: ascending order. -
descending
: descending order.
If not specified, the results are sorted in ascending order.
If set to null, the results are sorted in an arbitrary order.
sourcepub fn s3_bucket(self, input: impl Into<String>) -> Self
pub fn s3_bucket(self, input: impl Into<String>) -> Self
An Amazon S3 bucket name to limit the search for revisions.
If set to null, all of the user's buckets are searched.
sourcepub fn set_s3_bucket(self, input: Option<String>) -> Self
pub fn set_s3_bucket(self, input: Option<String>) -> Self
An Amazon S3 bucket name to limit the search for revisions.
If set to null, all of the user's buckets are searched.
sourcepub fn s3_key_prefix(self, input: impl Into<String>) -> Self
pub fn s3_key_prefix(self, input: impl Into<String>) -> Self
A key prefix for the set of Amazon S3 objects to limit the search for revisions.
sourcepub fn set_s3_key_prefix(self, input: Option<String>) -> Self
pub fn set_s3_key_prefix(self, input: Option<String>) -> Self
A key prefix for the set of Amazon S3 objects to limit the search for revisions.
sourcepub fn deployed(self, input: ListStateFilterAction) -> Self
pub fn deployed(self, input: ListStateFilterAction) -> Self
Whether to list revisions based on whether the revision is the target revision of a deployment group:
-
include
: List revisions that are target revisions of a deployment group. -
exclude
: Do not list revisions that are target revisions of a deployment group. -
ignore
: List all revisions.
sourcepub fn set_deployed(self, input: Option<ListStateFilterAction>) -> Self
pub fn set_deployed(self, input: Option<ListStateFilterAction>) -> Self
Whether to list revisions based on whether the revision is the target revision of a deployment group:
-
include
: List revisions that are target revisions of a deployment group. -
exclude
: Do not list revisions that are target revisions of a deployment group. -
ignore
: List all revisions.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An identifier returned from the previous ListApplicationRevisions
call. It can be used to return the next set of applications in the list.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An identifier returned from the previous ListApplicationRevisions
call. It can be used to return the next set of applications in the list.
sourcepub fn build(self) -> Result<ListApplicationRevisionsInput, BuildError>
pub fn build(self) -> Result<ListApplicationRevisionsInput, BuildError>
Consumes the builder and constructs a ListApplicationRevisionsInput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more