Class PutImageRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<PutImageRequest.Builder,PutImageRequest>

@Generated("software.amazon.awssdk:codegen") public final class PutImageRequest extends EcrRequest implements ToCopyableBuilder<PutImageRequest.Builder,PutImageRequest>
  • Method Details

    • registryId

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

      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.
    • repositoryName

      public final String repositoryName()

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

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

      public final String imageManifest()

      The image manifest corresponding to the image to be uploaded.

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

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

      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.
    • imageTag

      public final String imageTag()

      The tag to associate with the image. This parameter is optional.

      Returns:
      The tag to associate with the image. This parameter is optional.
    • imageDigest

      public final String imageDigest()

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

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

      public PutImageRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<PutImageRequest.Builder,PutImageRequest>
      Specified by:
      toBuilder in class EcrRequest
    • builder

      public static PutImageRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends PutImageRequest.Builder> serializableBuilderClass()
    • hashCode

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

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo