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 Summary
Modifier and TypeMethodDescriptionimageDigest(String imageDigest) The image digest of the image manifest corresponding to the image.imageManifest(String imageManifest) The image manifest corresponding to the image to be uploaded.imageManifestMediaType(String imageManifestMediaType) The media type of the image manifest.The tag to associate with the image.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.registryId(String registryId) The Amazon Web Services account ID associated with the registry that contains the repository in which to put the image.repositoryName(String repositoryName) The name of the repository in which to put the image.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecr.model.EcrRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
The media type of the image manifest. If you push an image manifest that does not contain the
mediaTypefield, you must specify theimageManifestMediaTypein the request.- Parameters:
imageManifestMediaType- The media type of the image manifest. If you push an image manifest that does not contain themediaTypefield, you must specify theimageManifestMediaTypein the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutImageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-