Interface RegistryAlias.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RegistryAlias.Builder,RegistryAlias>, SdkBuilder<RegistryAlias.Builder,RegistryAlias>, SdkPojo
Enclosing class:
RegistryAlias

public static interface RegistryAlias.Builder extends SdkPojo, CopyableBuilder<RegistryAlias.Builder,RegistryAlias>
  • Method Details

    • name

      The name of the registry alias.

      Parameters:
      name - The name of the registry alias.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      RegistryAlias.Builder status(String status)

      The status of the registry alias.

      Parameters:
      status - The status of the registry alias.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the registry alias.

      Parameters:
      status - The status of the registry alias.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • primaryRegistryAlias

      RegistryAlias.Builder primaryRegistryAlias(Boolean primaryRegistryAlias)

      Indicates whether the registry alias is the primary alias for the registry. If true, the alias is the primary registry alias and is displayed in both the repository URL and the image URI used in the docker pull commands on the Amazon ECR Public Gallery.

      A registry alias that isn't the primary registry alias can be used in the repository URI in a docker pull command.

      Parameters:
      primaryRegistryAlias - Indicates whether the registry alias is the primary alias for the registry. If true, the alias is the primary registry alias and is displayed in both the repository URL and the image URI used in the docker pull commands on the Amazon ECR Public Gallery.

      A registry alias that isn't the primary registry alias can be used in the repository URI in a docker pull command.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultRegistryAlias

      RegistryAlias.Builder defaultRegistryAlias(Boolean defaultRegistryAlias)

      Indicates whether the registry alias is the default alias for the registry. When the first public repository is created, your public registry is assigned a default registry alias.

      Parameters:
      defaultRegistryAlias - Indicates whether the registry alias is the default alias for the registry. When the first public repository is created, your public registry is assigned a default registry alias.
      Returns:
      Returns a reference to this object so that method calls can be chained together.