Interface UploadLayerPartRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UploadLayerPartRequest.Builder,,UploadLayerPartRequest> EcrPublicRequest.Builder,SdkBuilder<UploadLayerPartRequest.Builder,,UploadLayerPartRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UploadLayerPartRequest
public static interface UploadLayerPartRequest.Builder
extends EcrPublicRequest.Builder, SdkPojo, CopyableBuilder<UploadLayerPartRequest.Builder,UploadLayerPartRequest>
-
Method Summary
Modifier and TypeMethodDescriptionlayerPartBlob(SdkBytes layerPartBlob) The base64-encoded layer part payload.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.partFirstByte(Long partFirstByte) The position of the first byte of the layer part witin the overall image layer.partLastByte(Long partLastByte) The position of the last byte of the layer part within the overall image layer.registryId(String registryId) The Amazon Web Services account ID, or registry alias, that's associated with the registry that you're uploading layer parts to.repositoryName(String repositoryName) The name of the repository that you're uploading layer parts to.The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.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.ecrpublic.model.EcrPublicRequest.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, or registry alias, that's associated with the registry that you're uploading layer parts to. If you do not specify a registry, the default public registry is assumed.
- Parameters:
registryId- The Amazon Web Services account ID, or registry alias, that's associated with the registry that you're uploading layer parts to. If you do not specify a registry, the default public registry is assumed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryName
The name of the repository that you're uploading layer parts to.
- Parameters:
repositoryName- The name of the repository that you're uploading layer parts to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadId
The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.
- Parameters:
uploadId- The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partFirstByte
The position of the first byte of the layer part witin the overall image layer.
- Parameters:
partFirstByte- The position of the first byte of the layer part witin the overall image layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partLastByte
The position of the last byte of the layer part within the overall image layer.
- Parameters:
partLastByte- The position of the last byte of the layer part within the overall image layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layerPartBlob
The base64-encoded layer part payload.
- Parameters:
layerPartBlob- The base64-encoded layer part payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UploadLayerPartRequest.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
UploadLayerPartRequest.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.
-