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 get_ecr_repository_prefix(&self) -> &Option<String>
pub fn get_ecr_repository_prefix(&self) -> &Option<String>
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 get_upstream_registry_url(&self) -> &Option<String>
pub fn get_upstream_registry_url(&self) -> &Option<String>
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 get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
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 get_registry_id(&self) -> &Option<String>
pub fn get_registry_id(&self) -> &Option<String>
The registry ID associated with the request.
sourcepub fn upstream_registry(self, input: UpstreamRegistry) -> Self
pub fn upstream_registry(self, input: UpstreamRegistry) -> Self
The name of the upstream registry associated with the pull through cache rule.
sourcepub fn set_upstream_registry(self, input: Option<UpstreamRegistry>) -> Self
pub fn set_upstream_registry(self, input: Option<UpstreamRegistry>) -> Self
The name of the upstream registry associated with the pull through cache rule.
sourcepub fn get_upstream_registry(&self) -> &Option<UpstreamRegistry>
pub fn get_upstream_registry(&self) -> &Option<UpstreamRegistry>
The name of the upstream registry associated with the pull through cache rule.
sourcepub fn credential_arn(self, input: impl Into<String>) -> Self
pub fn credential_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.
sourcepub fn set_credential_arn(self, input: Option<String>) -> Self
pub fn set_credential_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.
sourcepub fn get_credential_arn(&self) -> &Option<String>
pub fn get_credential_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreatePullThroughCacheRuleOutputBuilder
impl Default for CreatePullThroughCacheRuleOutputBuilder
source§fn default() -> CreatePullThroughCacheRuleOutputBuilder
fn default() -> CreatePullThroughCacheRuleOutputBuilder
source§impl PartialEq for CreatePullThroughCacheRuleOutputBuilder
impl PartialEq for CreatePullThroughCacheRuleOutputBuilder
source§fn eq(&self, other: &CreatePullThroughCacheRuleOutputBuilder) -> bool
fn eq(&self, other: &CreatePullThroughCacheRuleOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.