Interface Registry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Registry.Builder,
,Registry> SdkBuilder<Registry.Builder,
,Registry> SdkPojo
- Enclosing class:
Registry
-
Method Summary
Modifier and TypeMethodDescriptionaliases
(Collection<RegistryAlias> aliases) An array of objects that represents the aliases for a public registry.aliases
(Consumer<RegistryAlias.Builder>... aliases) An array of objects that represents the aliases for a public registry.aliases
(RegistryAlias... aliases) An array of objects that represents the aliases for a public registry.registryArn
(String registryArn) The Amazon Resource Name (ARN) of the public registry.registryId
(String registryId) The Amazon Web Services account ID that's associated with the registry.registryUri
(String registryUri) The URI of a public registry.Indicates whether the account is a verified Amazon Web Services Marketplace vendor.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
registryId
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.
- Parameters:
registryId
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registryArn
The Amazon Resource Name (ARN) of the public registry.
- Parameters:
registryArn
- The Amazon Resource Name (ARN) of the public registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registryUri
The URI of a public registry. The URI contains a universal prefix and the registry alias.
- Parameters:
registryUri
- The URI of a public registry. The URI contains a universal prefix and the registry alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verified
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.
- Parameters:
verified
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliases
An array of objects that represents the aliases for a public registry.
- Parameters:
aliases
- An array of objects that represents the aliases for a public registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliases
An array of objects that represents the aliases for a public registry.
- Parameters:
aliases
- An array of objects that represents the aliases for a public registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliases
An array of objects that represents the aliases for a public registry.
This is a convenience method that creates an instance of theRegistryAlias.Builder
avoiding the need to create one manually viaRegistryAlias.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaliases(List<RegistryAlias>)
.- Parameters:
aliases
- a consumer that will call methods onRegistryAlias.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-