Interface PutImageRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<PutImageRequest.Builder,,- PutImageRequest> - EcrRequest.Builder,- SdkBuilder<PutImageRequest.Builder,,- PutImageRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- PutImageRequest
@Mutable
@NotThreadSafe
public static interface PutImageRequest.Builder
extends EcrRequest.Builder, SdkPojo, CopyableBuilder<PutImageRequest.Builder,PutImageRequest> 
- 
Method SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ecr.model.EcrRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
registryIdThe 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.
 
- 
repositoryNameThe 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.
 
- 
imageManifestThe 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.
 
- 
imageManifestMediaTypeThe 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 the- mediaTypefield, you must specify the- imageManifestMediaTypein the request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
imageTagThe 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.
 
- 
imageDigestThe 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.
 
- 
overrideConfigurationPutImageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationPutImageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-