JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.ecr.model

Class PutImageRequest

    • Constructor Detail

      • PutImageRequest

        public PutImageRequest()
    • Method Detail

      • setRegistryId

        public void setRegistryId(String registryId)

        The Amazon Web Services account ID associated with the registry that contains the repository in which to put the image. If you do not specify a registry, the default registry is assumed.

        Parameters:
        registryId - The Amazon Web Services account ID associated with the registry that contains the repository in which to put the image. If you do not specify a registry, the default registry is assumed.
      • getRegistryId

        public String getRegistryId()

        The Amazon Web Services account ID associated with the registry that contains the repository in which to put the image. If you do not specify a registry, the default registry is assumed.

        Returns:
        The Amazon Web Services account ID associated with the registry that contains the repository in which to put the image. If you do not specify a registry, the default registry is assumed.
      • withRegistryId

        public PutImageRequest withRegistryId(String registryId)

        The Amazon Web Services account ID associated with the registry that contains the repository in which to put the image. If you do not specify a registry, the default registry is assumed.

        Parameters:
        registryId - The Amazon Web Services account ID associated with the registry that contains the repository in which to put the image. If you do not specify a registry, the default registry is assumed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRepositoryName

        public void setRepositoryName(String repositoryName)

        The name of the repository in which to put the image.

        Parameters:
        repositoryName - The name of the repository in which to put the image.
      • getRepositoryName

        public String getRepositoryName()

        The name of the repository in which to put the image.

        Returns:
        The name of the repository in which to put the image.
      • withRepositoryName

        public PutImageRequest withRepositoryName(String repositoryName)

        The name of the repository in which to put the image.

        Parameters:
        repositoryName - The name of the repository in which to put the image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setImageManifest

        public void setImageManifest(String imageManifest)

        The image manifest corresponding to the image to be uploaded.

        Parameters:
        imageManifest - The image manifest corresponding to the image to be uploaded.
      • getImageManifest

        public String getImageManifest()

        The image manifest corresponding to the image to be uploaded.

        Returns:
        The image manifest corresponding to the image to be uploaded.
      • withImageManifest

        public PutImageRequest withImageManifest(String imageManifest)

        The image manifest corresponding to the image to be uploaded.

        Parameters:
        imageManifest - The image manifest corresponding to the image to be uploaded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setImageManifestMediaType

        public void setImageManifestMediaType(String imageManifestMediaType)

        The media type of the image manifest. If you push an image manifest that does not contain the mediaType field, you must specify the imageManifestMediaType in the request.

        Parameters:
        imageManifestMediaType - The media type of the image manifest. If you push an image manifest that does not contain the mediaType field, you must specify the imageManifestMediaType in the request.
      • getImageManifestMediaType

        public String getImageManifestMediaType()

        The media type of the image manifest. If you push an image manifest that does not contain the mediaType field, you must specify the imageManifestMediaType in the request.

        Returns:
        The media type of the image manifest. If you push an image manifest that does not contain the mediaType field, you must specify the imageManifestMediaType in the request.
      • withImageManifestMediaType

        public PutImageRequest withImageManifestMediaType(String imageManifestMediaType)

        The media type of the image manifest. If you push an image manifest that does not contain the mediaType field, you must specify the imageManifestMediaType in the request.

        Parameters:
        imageManifestMediaType - The media type of the image manifest. If you push an image manifest that does not contain the mediaType field, you must specify the imageManifestMediaType in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setImageTag

        public void setImageTag(String imageTag)

        The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.

        Parameters:
        imageTag - The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.
      • getImageTag

        public String getImageTag()

        The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.

        Returns:
        The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.
      • withImageTag

        public PutImageRequest withImageTag(String imageTag)

        The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.

        Parameters:
        imageTag - The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setImageDigest

        public void setImageDigest(String imageDigest)

        The image digest of the image manifest corresponding to the image.

        Parameters:
        imageDigest - The image digest of the image manifest corresponding to the image.
      • getImageDigest

        public String getImageDigest()

        The image digest of the image manifest corresponding to the image.

        Returns:
        The image digest of the image manifest corresponding to the image.
      • withImageDigest

        public PutImageRequest withImageDigest(String imageDigest)

        The image digest of the image manifest corresponding to the image.

        Parameters:
        imageDigest - The image digest of the image manifest corresponding to the image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /