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 Details

    • 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

      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

      An array of objects that represents the aliases for a public registry.

      This is a convenience method that creates an instance of the RegistryAlias.Builder avoiding the need to create one manually via RegistryAlias.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to aliases(List<RegistryAlias>).

      Parameters:
      aliases - a consumer that will call methods on RegistryAlias.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: