Struct aws_sdk_ecr::operation::get_lifecycle_policy::builders::GetLifecyclePolicyOutputBuilder
source · #[non_exhaustive]pub struct GetLifecyclePolicyOutputBuilder { /* private fields */ }
Expand description
A builder for GetLifecyclePolicyOutput
.
Implementations§
source§impl GetLifecyclePolicyOutputBuilder
impl GetLifecyclePolicyOutputBuilder
sourcepub fn registry_id(self, input: impl Into<String>) -> Self
pub fn registry_id(self, input: impl Into<String>) -> Self
The registry ID associated with the request.
sourcepub fn set_registry_id(self, input: Option<String>) -> Self
pub fn set_registry_id(self, input: Option<String>) -> Self
The registry ID associated with the request.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The repository name associated with the request.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The repository name associated with the request.
sourcepub fn lifecycle_policy_text(self, input: impl Into<String>) -> Self
pub fn lifecycle_policy_text(self, input: impl Into<String>) -> Self
The JSON lifecycle policy text.
sourcepub fn set_lifecycle_policy_text(self, input: Option<String>) -> Self
pub fn set_lifecycle_policy_text(self, input: Option<String>) -> Self
The JSON lifecycle policy text.
sourcepub fn last_evaluated_at(self, input: DateTime) -> Self
pub fn last_evaluated_at(self, input: DateTime) -> Self
The time stamp of the last time that the lifecycle policy was run.
sourcepub fn set_last_evaluated_at(self, input: Option<DateTime>) -> Self
pub fn set_last_evaluated_at(self, input: Option<DateTime>) -> Self
The time stamp of the last time that the lifecycle policy was run.
sourcepub fn build(self) -> GetLifecyclePolicyOutput
pub fn build(self) -> GetLifecyclePolicyOutput
Consumes the builder and constructs a GetLifecyclePolicyOutput
.
Trait Implementations§
source§impl Clone for GetLifecyclePolicyOutputBuilder
impl Clone for GetLifecyclePolicyOutputBuilder
source§fn clone(&self) -> GetLifecyclePolicyOutputBuilder
fn clone(&self) -> GetLifecyclePolicyOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GetLifecyclePolicyOutputBuilder
impl Default for GetLifecyclePolicyOutputBuilder
source§fn default() -> GetLifecyclePolicyOutputBuilder
fn default() -> GetLifecyclePolicyOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetLifecyclePolicyOutputBuilder> for GetLifecyclePolicyOutputBuilder
impl PartialEq<GetLifecyclePolicyOutputBuilder> for GetLifecyclePolicyOutputBuilder
source§fn eq(&self, other: &GetLifecyclePolicyOutputBuilder) -> bool
fn eq(&self, other: &GetLifecyclePolicyOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.