Class PutImageRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ecrpublic.model.EcrPublicRequest
-
- software.amazon.awssdk.services.ecrpublic.model.PutImageRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutImageRequest.Builder,PutImageRequest>
@Generated("software.amazon.awssdk:codegen") public final class PutImageRequest extends EcrPublicRequest implements ToCopyableBuilder<PutImageRequest.Builder,PutImageRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutImageRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutImageRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimageDigest()The image digest of the image manifest that corresponds to the image.StringimageManifest()The image manifest that corresponds to the image to be uploaded.StringimageManifestMediaType()The media type of the image manifest.StringimageTag()The tag to associate with the image.StringregistryId()The Amazon Web Services account ID, or registry alias, that's associated with the public registry that contains the repository where the image is put.StringrepositoryName()The name of the repository where the image is put.List<SdkField<?>>sdkFields()static Class<? extends PutImageRequest.Builder>serializableBuilderClass()PutImageRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
registryId
public final String registryId()
The Amazon Web Services account ID, or registry alias, that's associated with the public registry that contains the repository where the image is put. If you do not specify a registry, the default public registry is assumed.
- Returns:
- The Amazon Web Services account ID, or registry alias, that's associated with the public registry that contains the repository where the image is put. If you do not specify a registry, the default public registry is assumed.
-
repositoryName
public final String repositoryName()
The name of the repository where the image is put.
- Returns:
- The name of the repository where the image is put.
-
imageManifest
public final String imageManifest()
The image manifest that corresponds to the image to be uploaded.
- Returns:
- The image manifest that corresponds 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 doesn't contain the
mediaTypefield, you must specify theimageManifestMediaTypein the request.- Returns:
- The media type of the image manifest. If you push an image manifest that doesn't contain the
mediaTypefield, you must specify theimageManifestMediaTypein the request.
-
imageTag
public final 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.
- 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.
-
imageDigest
public final String imageDigest()
The image digest of the image manifest that corresponds to the image.
- Returns:
- The image digest of the image manifest that corresponds to the image.
-
toBuilder
public PutImageRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutImageRequest.Builder,PutImageRequest>- Specified by:
toBuilderin classEcrPublicRequest
-
builder
public static PutImageRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutImageRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-