#[non_exhaustive]pub struct LifecyclePolicyPreviewResultBuilder { /* private fields */ }Expand description
A builder for LifecyclePolicyPreviewResult.
Implementations§
source§impl LifecyclePolicyPreviewResultBuilder
impl LifecyclePolicyPreviewResultBuilder
Appends an item to image_tags.
To override the contents of this collection use set_image_tags.
The list of tags associated with this image.
The list of tags associated with this image.
The list of tags associated with this image.
sourcepub fn image_digest(self, input: impl Into<String>) -> Self
pub fn image_digest(self, input: impl Into<String>) -> Self
The sha256 digest of the image manifest.
sourcepub fn set_image_digest(self, input: Option<String>) -> Self
pub fn set_image_digest(self, input: Option<String>) -> Self
The sha256 digest of the image manifest.
sourcepub fn get_image_digest(&self) -> &Option<String>
pub fn get_image_digest(&self) -> &Option<String>
The sha256 digest of the image manifest.
sourcepub fn image_pushed_at(self, input: DateTime) -> Self
pub fn image_pushed_at(self, input: DateTime) -> Self
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
sourcepub fn set_image_pushed_at(self, input: Option<DateTime>) -> Self
pub fn set_image_pushed_at(self, input: Option<DateTime>) -> Self
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
sourcepub fn get_image_pushed_at(&self) -> &Option<DateTime>
pub fn get_image_pushed_at(&self) -> &Option<DateTime>
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
sourcepub fn action(self, input: LifecyclePolicyRuleAction) -> Self
pub fn action(self, input: LifecyclePolicyRuleAction) -> Self
The type of action to be taken.
sourcepub fn set_action(self, input: Option<LifecyclePolicyRuleAction>) -> Self
pub fn set_action(self, input: Option<LifecyclePolicyRuleAction>) -> Self
The type of action to be taken.
sourcepub fn get_action(&self) -> &Option<LifecyclePolicyRuleAction>
pub fn get_action(&self) -> &Option<LifecyclePolicyRuleAction>
The type of action to be taken.
sourcepub fn applied_rule_priority(self, input: i32) -> Self
pub fn applied_rule_priority(self, input: i32) -> Self
The priority of the applied rule.
sourcepub fn set_applied_rule_priority(self, input: Option<i32>) -> Self
pub fn set_applied_rule_priority(self, input: Option<i32>) -> Self
The priority of the applied rule.
sourcepub fn get_applied_rule_priority(&self) -> &Option<i32>
pub fn get_applied_rule_priority(&self) -> &Option<i32>
The priority of the applied rule.
sourcepub fn build(self) -> LifecyclePolicyPreviewResult
pub fn build(self) -> LifecyclePolicyPreviewResult
Consumes the builder and constructs a LifecyclePolicyPreviewResult.
Trait Implementations§
source§impl Clone for LifecyclePolicyPreviewResultBuilder
impl Clone for LifecyclePolicyPreviewResultBuilder
source§fn clone(&self) -> LifecyclePolicyPreviewResultBuilder
fn clone(&self) -> LifecyclePolicyPreviewResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for LifecyclePolicyPreviewResultBuilder
impl Default for LifecyclePolicyPreviewResultBuilder
source§fn default() -> LifecyclePolicyPreviewResultBuilder
fn default() -> LifecyclePolicyPreviewResultBuilder
source§impl PartialEq for LifecyclePolicyPreviewResultBuilder
impl PartialEq for LifecyclePolicyPreviewResultBuilder
source§fn eq(&self, other: &LifecyclePolicyPreviewResultBuilder) -> bool
fn eq(&self, other: &LifecyclePolicyPreviewResultBuilder) -> bool
self and other values to be equal, and is used
by ==.