Interface Registry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Registry.Builder,Registry>,SdkBuilder<Registry.Builder,Registry>,SdkPojo
- Enclosing class:
- Registry
public static interface Registry.Builder extends SdkPojo, CopyableBuilder<Registry.Builder,Registry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Registry.Builderaliases(Collection<RegistryAlias> aliases)An array of objects that represents the aliases for a public registry.Registry.Builderaliases(Consumer<RegistryAlias.Builder>... aliases)An array of objects that represents the aliases for a public registry.Registry.Builderaliases(RegistryAlias... aliases)An array of objects that represents the aliases for a public registry.Registry.BuilderregistryArn(String registryArn)The Amazon Resource Name (ARN) of the public registry.Registry.BuilderregistryId(String registryId)The Amazon Web Services account ID that's associated with the registry.Registry.BuilderregistryUri(String registryUri)The URI of a public registry.Registry.Builderverified(Boolean verified)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 Detail
-
registryId
Registry.Builder registryId(String 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
Registry.Builder registryArn(String 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
Registry.Builder registryUri(String 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
Registry.Builder verified(Boolean 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
Registry.Builder aliases(Collection<RegistryAlias> 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
Registry.Builder aliases(RegistryAlias... 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
Registry.Builder aliases(Consumer<RegistryAlias.Builder>... aliases)
An array of objects that represents the aliases for a public registry.
This is a convenience method that creates an instance of theRegistryAlias.Builderavoiding the need to create one manually viaRegistryAlias.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#aliases(List.) - 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:
#aliases(java.util.Collection)
-
-