#[non_exhaustive]pub struct RegistryCredentialBuilder { /* private fields */ }
Expand description
A builder for RegistryCredential
.
Implementations§
source§impl RegistryCredentialBuilder
impl RegistryCredentialBuilder
sourcepub fn credential(self, input: impl Into<String>) -> Self
pub fn credential(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.
The credential
can use the name of the credentials only if they exist in your current Amazon Web Services Region.
sourcepub fn set_credential(self, input: Option<String>) -> Self
pub fn set_credential(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.
The credential
can use the name of the credentials only if they exist in your current Amazon Web Services Region.
sourcepub fn credential_provider(self, input: CredentialProviderType) -> Self
pub fn credential_provider(self, input: CredentialProviderType) -> Self
The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
sourcepub fn set_credential_provider(
self,
input: Option<CredentialProviderType>
) -> Self
pub fn set_credential_provider( self, input: Option<CredentialProviderType> ) -> Self
The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
sourcepub fn build(self) -> RegistryCredential
pub fn build(self) -> RegistryCredential
Consumes the builder and constructs a RegistryCredential
.
Trait Implementations§
source§impl Clone for RegistryCredentialBuilder
impl Clone for RegistryCredentialBuilder
source§fn clone(&self) -> RegistryCredentialBuilder
fn clone(&self) -> RegistryCredentialBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RegistryCredentialBuilder
impl Debug for RegistryCredentialBuilder
source§impl Default for RegistryCredentialBuilder
impl Default for RegistryCredentialBuilder
source§fn default() -> RegistryCredentialBuilder
fn default() -> RegistryCredentialBuilder
source§impl PartialEq<RegistryCredentialBuilder> for RegistryCredentialBuilder
impl PartialEq<RegistryCredentialBuilder> for RegistryCredentialBuilder
source§fn eq(&self, other: &RegistryCredentialBuilder) -> bool
fn eq(&self, other: &RegistryCredentialBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.