Struct aws_sdk_ecrpublic::types::builders::RegistryBuilder
source · #[non_exhaustive]pub struct RegistryBuilder { /* private fields */ }Expand description
A builder for Registry.
Implementations§
source§impl RegistryBuilder
impl RegistryBuilder
sourcepub fn registry_id(self, input: impl Into<String>) -> Self
pub fn registry_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID that's associated with the registry. If you do not specify a registry, the default public registry is assumed.
This field is required.sourcepub fn set_registry_id(self, input: Option<String>) -> Self
pub fn set_registry_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID that's associated with the registry. If you do not specify a registry, the default public registry is assumed.
sourcepub fn get_registry_id(&self) -> &Option<String>
pub fn get_registry_id(&self) -> &Option<String>
The Amazon Web Services account ID that's associated with the registry. If you do not specify a registry, the default public registry is assumed.
sourcepub fn registry_arn(self, input: impl Into<String>) -> Self
pub fn registry_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the public registry.
This field is required.sourcepub fn set_registry_arn(self, input: Option<String>) -> Self
pub fn set_registry_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the public registry.
sourcepub fn get_registry_arn(&self) -> &Option<String>
pub fn get_registry_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the public registry.
sourcepub fn registry_uri(self, input: impl Into<String>) -> Self
pub fn registry_uri(self, input: impl Into<String>) -> Self
The URI of a public registry. The URI contains a universal prefix and the registry alias.
This field is required.sourcepub fn set_registry_uri(self, input: Option<String>) -> Self
pub fn set_registry_uri(self, input: Option<String>) -> Self
The URI of a public registry. The URI contains a universal prefix and the registry alias.
sourcepub fn get_registry_uri(&self) -> &Option<String>
pub fn get_registry_uri(&self) -> &Option<String>
The URI of a public registry. The URI contains a universal prefix and the registry alias.
sourcepub fn verified(self, input: bool) -> Self
pub fn verified(self, input: bool) -> Self
Indicates whether the account is a verified Amazon Web Services Marketplace vendor. If an account is verified, each public repository receives a verified account badge on the Amazon ECR Public Gallery.
This field is required.sourcepub fn set_verified(self, input: Option<bool>) -> Self
pub fn set_verified(self, input: Option<bool>) -> Self
Indicates whether the account is a verified Amazon Web Services Marketplace vendor. If an account is verified, each public repository receives a verified account badge on the Amazon ECR Public Gallery.
sourcepub fn get_verified(&self) -> &Option<bool>
pub fn get_verified(&self) -> &Option<bool>
Indicates whether the account is a verified Amazon Web Services Marketplace vendor. If an account is verified, each public repository receives a verified account badge on the Amazon ECR Public Gallery.
sourcepub fn aliases(self, input: RegistryAlias) -> Self
pub fn aliases(self, input: RegistryAlias) -> Self
Appends an item to aliases.
To override the contents of this collection use set_aliases.
An array of objects that represents the aliases for a public registry.
sourcepub fn set_aliases(self, input: Option<Vec<RegistryAlias>>) -> Self
pub fn set_aliases(self, input: Option<Vec<RegistryAlias>>) -> Self
An array of objects that represents the aliases for a public registry.
sourcepub fn get_aliases(&self) -> &Option<Vec<RegistryAlias>>
pub fn get_aliases(&self) -> &Option<Vec<RegistryAlias>>
An array of objects that represents the aliases for a public registry.
Trait Implementations§
source§impl Clone for RegistryBuilder
impl Clone for RegistryBuilder
source§fn clone(&self) -> RegistryBuilder
fn clone(&self) -> RegistryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RegistryBuilder
impl Debug for RegistryBuilder
source§impl Default for RegistryBuilder
impl Default for RegistryBuilder
source§fn default() -> RegistryBuilder
fn default() -> RegistryBuilder
source§impl PartialEq for RegistryBuilder
impl PartialEq for RegistryBuilder
source§fn eq(&self, other: &RegistryBuilder) -> bool
fn eq(&self, other: &RegistryBuilder) -> bool
self and other values to be equal, and is used
by ==.