Struct aws_sdk_securityhub::types::builders::AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
source · #[non_exhaustive]pub struct AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder { /* private fields */ }
Expand description
A builder for AwsCodeBuildProjectEnvironmentRegistryCredential
.
Implementations§
source§impl AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
impl AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
sourcepub fn credential(self, input: impl Into<String>) -> Self
pub fn credential(self, input: impl Into<String>) -> Self
The 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 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 get_credential(&self) -> &Option<String>
pub fn get_credential(&self) -> &Option<String>
The 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: impl Into<String>) -> Self
pub fn credential_provider(self, input: impl Into<String>) -> 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<String>) -> Self
pub fn set_credential_provider(self, input: Option<String>) -> Self
The service that created the credentials to access a private Docker registry.
The valid value, SECRETS_MANAGER
, is for Secrets Manager.
sourcepub fn get_credential_provider(&self) -> &Option<String>
pub fn get_credential_provider(&self) -> &Option<String>
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) -> AwsCodeBuildProjectEnvironmentRegistryCredential
pub fn build(self) -> AwsCodeBuildProjectEnvironmentRegistryCredential
Consumes the builder and constructs a AwsCodeBuildProjectEnvironmentRegistryCredential
.
Trait Implementations§
source§impl Clone for AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
impl Clone for AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
source§fn clone(&self) -> AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
fn clone(&self) -> AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
impl Default for AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
source§fn default() -> AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
fn default() -> AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
source§impl PartialEq for AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
impl PartialEq for AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
source§fn eq(
&self,
other: &AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
) -> bool
fn eq( &self, other: &AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
Auto Trait Implementations§
impl Freeze for AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
impl RefUnwindSafe for AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
impl Send for AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
impl Sync for AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
impl Unpin for AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
impl UnwindSafe for AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more