Interface PutImageRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<PutImageRequest.Builder,PutImageRequest>, EcrRequest.Builder, SdkBuilder<PutImageRequest.Builder,PutImageRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
PutImageRequest

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

    • registryId

      PutImageRequest.Builder registryId(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.
    • repositoryName

      PutImageRequest.Builder repositoryName(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.
    • imageManifest

      PutImageRequest.Builder imageManifest(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.
    • imageManifestMediaType

      PutImageRequest.Builder imageManifestMediaType(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.
    • imageTag

      PutImageRequest.Builder imageTag(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.
    • imageDigest

      PutImageRequest.Builder imageDigest(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.
    • overrideConfiguration

      PutImageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.