Class RegistryAlias

    • Method Detail

      • name

        public final String name()

        The name of the registry alias.

        Returns:
        The name of the registry alias.
      • primaryRegistryAlias

        public final 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.

        Returns:
        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.

      • defaultRegistryAlias

        public final 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.

        Returns:
        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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)