Class Repository

    • Method Detail

      • repositoryArn

        public final String repositoryArn()

        The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr namespace, followed by the region of the repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name. For example, arn:aws:ecr:region:012345678910:repository-namespace/repository-name.

        Returns:
        The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr namespace, followed by the region of the repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name. For example, arn:aws:ecr:region:012345678910:repository-namespace/repository-name.
      • registryId

        public final String registryId()

        The Amazon Web Services account ID associated with the registry that contains the repository.

        Returns:
        The Amazon Web Services account ID associated with the registry that contains the repository.
      • repositoryName

        public final String repositoryName()

        The name of the repository.

        Returns:
        The name of the repository.
      • repositoryUri

        public final String repositoryUri()

        The URI for the repository. You can use this URI for container image push and pull operations.

        Returns:
        The URI for the repository. You can use this URI for container image push and pull operations.
      • createdAt

        public final Instant createdAt()

        The date and time, in JavaScript date format, when the repository was created.

        Returns:
        The date and time, in JavaScript date format, when the repository was created.
      • imageScanningConfiguration

        public final ImageScanningConfiguration imageScanningConfiguration()
        Returns the value of the ImageScanningConfiguration property for this object.
        Returns:
        The value of the ImageScanningConfiguration property for this object.
      • encryptionConfiguration

        public final EncryptionConfiguration encryptionConfiguration()

        The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.

        Returns:
        The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
      • 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)