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 ==
.