Struct aws_sdk_securityhub::model::aws_code_build_project_environment_registry_credential::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AwsCodeBuildProjectEnvironmentRegistryCredential
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> AwsCodeBuildProjectEnvironmentRegistryCredential
pub fn build(self) -> AwsCodeBuildProjectEnvironmentRegistryCredential
Consumes the builder and constructs a AwsCodeBuildProjectEnvironmentRegistryCredential
.