Struct aws_sdk_ecr::operation::create_pull_through_cache_rule::builders::CreatePullThroughCacheRuleOutputBuilder
source · #[non_exhaustive]pub struct CreatePullThroughCacheRuleOutputBuilder { /* private fields */ }
Expand description
A builder for CreatePullThroughCacheRuleOutput
.
Implementations§
source§impl CreatePullThroughCacheRuleOutputBuilder
impl CreatePullThroughCacheRuleOutputBuilder
sourcepub fn ecr_repository_prefix(self, input: impl Into<String>) -> Self
pub fn ecr_repository_prefix(self, input: impl Into<String>) -> Self
The Amazon ECR repository prefix associated with the pull through cache rule.
sourcepub fn set_ecr_repository_prefix(self, input: Option<String>) -> Self
pub fn set_ecr_repository_prefix(self, input: Option<String>) -> Self
The Amazon ECR repository prefix associated with the pull through cache rule.
sourcepub fn upstream_registry_url(self, input: impl Into<String>) -> Self
pub fn upstream_registry_url(self, input: impl Into<String>) -> Self
The upstream registry URL associated with the pull through cache rule.
sourcepub fn set_upstream_registry_url(self, input: Option<String>) -> Self
pub fn set_upstream_registry_url(self, input: Option<String>) -> Self
The upstream registry URL associated with the pull through cache rule.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time, in JavaScript date format, when the pull through cache rule was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time, in JavaScript date format, when the pull through cache rule was created.
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 build(self) -> CreatePullThroughCacheRuleOutput
pub fn build(self) -> CreatePullThroughCacheRuleOutput
Consumes the builder and constructs a CreatePullThroughCacheRuleOutput
.
Trait Implementations§
source§impl Clone for CreatePullThroughCacheRuleOutputBuilder
impl Clone for CreatePullThroughCacheRuleOutputBuilder
source§fn clone(&self) -> CreatePullThroughCacheRuleOutputBuilder
fn clone(&self) -> CreatePullThroughCacheRuleOutputBuilder
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 CreatePullThroughCacheRuleOutputBuilder
impl Default for CreatePullThroughCacheRuleOutputBuilder
source§fn default() -> CreatePullThroughCacheRuleOutputBuilder
fn default() -> CreatePullThroughCacheRuleOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreatePullThroughCacheRuleOutputBuilder> for CreatePullThroughCacheRuleOutputBuilder
impl PartialEq<CreatePullThroughCacheRuleOutputBuilder> for CreatePullThroughCacheRuleOutputBuilder
source§fn eq(&self, other: &CreatePullThroughCacheRuleOutputBuilder) -> bool
fn eq(&self, other: &CreatePullThroughCacheRuleOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.