Class PutChunkRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.backupstorage.model.BackupStorageRequest
-
- software.amazon.awssdk.services.backupstorage.model.PutChunkRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutChunkRequest.Builder,PutChunkRequest>
@Generated("software.amazon.awssdk:codegen") public final class PutChunkRequest extends BackupStorageRequest implements ToCopyableBuilder<PutChunkRequest.Builder,PutChunkRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutChunkRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbackupJobId()Backup job Id for the in-progress backup.static PutChunkRequest.Builderbuilder()Stringchecksum()Data checksumDataChecksumAlgorithmchecksumAlgorithm()Checksum algorithmStringchecksumAlgorithmAsString()Checksum algorithmLongchunkIndex()Describes this chunk's position relative to the other chunksbooleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Longlength()Data lengthList<SdkField<?>>sdkFields()static Class<? extends PutChunkRequest.Builder>serializableBuilderClass()PutChunkRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuploadId()Upload Id for the in-progress 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
-
backupJobId
public final String backupJobId()
Backup job Id for the in-progress backup.- Returns:
- Backup job Id for the in-progress backup.
-
uploadId
public final String uploadId()
Upload Id for the in-progress upload.- Returns:
- Upload Id for the in-progress upload.
-
chunkIndex
public final Long chunkIndex()
Describes this chunk's position relative to the other chunks- Returns:
- Describes this chunk's position relative to the other chunks
-
length
public final Long length()
Data length- Returns:
- Data length
-
checksum
public final String checksum()
Data checksum- Returns:
- Data checksum
-
checksumAlgorithm
public final DataChecksumAlgorithm checksumAlgorithm()
Checksum algorithmIf the service returns an enum value that is not available in the current SDK version,
checksumAlgorithmwill returnDataChecksumAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchecksumAlgorithmAsString().- Returns:
- Checksum algorithm
- See Also:
DataChecksumAlgorithm
-
checksumAlgorithmAsString
public final String checksumAlgorithmAsString()
Checksum algorithmIf the service returns an enum value that is not available in the current SDK version,
checksumAlgorithmwill returnDataChecksumAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchecksumAlgorithmAsString().- Returns:
- Checksum algorithm
- See Also:
DataChecksumAlgorithm
-
toBuilder
public PutChunkRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutChunkRequest.Builder,PutChunkRequest>- Specified by:
toBuilderin classBackupStorageRequest
-
builder
public static PutChunkRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutChunkRequest.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
-
-