Struct aws_sdk_ecr::input::PutLifecyclePolicyInput
source · #[non_exhaustive]pub struct PutLifecyclePolicyInput { /* private fields */ }Implementations§
source§impl PutLifecyclePolicyInput
impl PutLifecyclePolicyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutLifecyclePolicy, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutLifecyclePolicy, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutLifecyclePolicy>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutLifecyclePolicyInput.
source§impl PutLifecyclePolicyInput
impl PutLifecyclePolicyInput
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository to receive the policy.
sourcepub fn lifecycle_policy_text(&self) -> Option<&str>
pub fn lifecycle_policy_text(&self) -> Option<&str>
The JSON repository policy text to apply to the repository.
Trait Implementations§
source§impl Clone for PutLifecyclePolicyInput
impl Clone for PutLifecyclePolicyInput
source§fn clone(&self) -> PutLifecyclePolicyInput
fn clone(&self) -> PutLifecyclePolicyInput
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 Debug for PutLifecyclePolicyInput
impl Debug for PutLifecyclePolicyInput
source§impl PartialEq<PutLifecyclePolicyInput> for PutLifecyclePolicyInput
impl PartialEq<PutLifecyclePolicyInput> for PutLifecyclePolicyInput
source§fn eq(&self, other: &PutLifecyclePolicyInput) -> bool
fn eq(&self, other: &PutLifecyclePolicyInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.