pub struct Builder { /* private fields */ }
Expand description
A builder for ListApplicationRevisionsInput
.
Implementations§
source§impl 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 CodeDeploy application associated with the IAM user or Amazon Web Services 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 CodeDeploy application associated with the IAM user or Amazon Web Services 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 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 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
.