Interface RegistryAlias.Builder

    • Method Detail

      • name

        RegistryAlias.Builder name​(String 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.
      • 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.