Struct aws_sdk_ecr::operation::validate_pull_through_cache_rule::builders::ValidatePullThroughCacheRuleFluentBuilder
source · pub struct ValidatePullThroughCacheRuleFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ValidatePullThroughCacheRule
.
Validates an existing pull through cache rule for an upstream registry that requires authentication. This will retrieve the contents of the Amazon Web Services Secrets Manager secret, verify the syntax, and then validate that authentication to the upstream registry is successful.
Implementations§
source§impl ValidatePullThroughCacheRuleFluentBuilder
impl ValidatePullThroughCacheRuleFluentBuilder
sourcepub fn as_input(&self) -> &ValidatePullThroughCacheRuleInputBuilder
pub fn as_input(&self) -> &ValidatePullThroughCacheRuleInputBuilder
Access the ValidatePullThroughCacheRule as a reference.
sourcepub async fn send(
self
) -> Result<ValidatePullThroughCacheRuleOutput, SdkError<ValidatePullThroughCacheRuleError, HttpResponse>>
pub async fn send( self ) -> Result<ValidatePullThroughCacheRuleOutput, SdkError<ValidatePullThroughCacheRuleError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ValidatePullThroughCacheRuleOutput, ValidatePullThroughCacheRuleError, Self>
pub fn customize( self ) -> CustomizableOperation<ValidatePullThroughCacheRuleOutput, ValidatePullThroughCacheRuleError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn ecr_repository_prefix(self, input: impl Into<String>) -> Self
pub fn ecr_repository_prefix(self, input: impl Into<String>) -> Self
The repository name 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 repository name 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 repository name prefix associated with the pull through cache rule.
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 pull through cache rule. If you do not specify a registry, the default registry is assumed.
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 pull through cache rule. If you do not specify a registry, the default registry is assumed.
sourcepub fn get_registry_id(&self) -> &Option<String>
pub fn get_registry_id(&self) -> &Option<String>
The registry ID associated with the pull through cache rule. If you do not specify a registry, the default registry is assumed.
Trait Implementations§
source§impl Clone for ValidatePullThroughCacheRuleFluentBuilder
impl Clone for ValidatePullThroughCacheRuleFluentBuilder
source§fn clone(&self) -> ValidatePullThroughCacheRuleFluentBuilder
fn clone(&self) -> ValidatePullThroughCacheRuleFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more