Class UploadLayerPartRequest
- 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.UploadLayerPartRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UploadLayerPartRequest.Builder,UploadLayerPartRequest>
@Generated("software.amazon.awssdk:codegen") public final class UploadLayerPartRequest extends EcrPublicRequest implements ToCopyableBuilder<UploadLayerPartRequest.Builder,UploadLayerPartRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUploadLayerPartRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UploadLayerPartRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SdkByteslayerPartBlob()The base64-encoded layer part payload.LongpartFirstByte()The position of the first byte of the layer part witin the overall image layer.LongpartLastByte()The position of the last byte of the layer part within the overall image layer.StringregistryId()The Amazon Web Services account ID, or registry alias, that's associated with the registry that you're uploading layer parts to.StringrepositoryName()The name of the repository that you're uploading layer parts to.List<SdkField<?>>sdkFields()static Class<? extends UploadLayerPartRequest.Builder>serializableBuilderClass()UploadLayerPartRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuploadId()The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.-
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 registry that you're uploading layer parts to. 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 registry that you're uploading layer parts to. If you do not specify a registry, the default public registry is assumed.
-
repositoryName
public final String repositoryName()
The name of the repository that you're uploading layer parts to.
- Returns:
- The name of the repository that you're uploading layer parts to.
-
uploadId
public final String uploadId()
The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.
- Returns:
- The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.
-
partFirstByte
public final Long partFirstByte()
The position of the first byte of the layer part witin the overall image layer.
- Returns:
- The position of the first byte of the layer part witin the overall image layer.
-
partLastByte
public final Long partLastByte()
The position of the last byte of the layer part within the overall image layer.
- Returns:
- The position of the last byte of the layer part within the overall image layer.
-
layerPartBlob
public final SdkBytes layerPartBlob()
The base64-encoded layer part payload.
- Returns:
- The base64-encoded layer part payload.
-
toBuilder
public UploadLayerPartRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UploadLayerPartRequest.Builder,UploadLayerPartRequest>- Specified by:
toBuilderin classEcrPublicRequest
-
builder
public static UploadLayerPartRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UploadLayerPartRequest.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
-
-