Interface PutSnapshotBlockRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<PutSnapshotBlockRequest.Builder,,- PutSnapshotBlockRequest> - EbsRequest.Builder,- SdkBuilder<PutSnapshotBlockRequest.Builder,,- PutSnapshotBlockRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- PutSnapshotBlockRequest
- 
Method SummaryModifier and TypeMethodDescriptionblockIndex(Integer blockIndex) The block index of the block in which to write the data.A Base64-encoded SHA256 checksum of the data.checksumAlgorithm(String checksumAlgorithm) The algorithm used to generate the checksum.checksumAlgorithm(ChecksumAlgorithm checksumAlgorithm) The algorithm used to generate the checksum.dataLength(Integer dataLength) The size of the data to write to the block, in bytes.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The progress of the write process, as a percentage.snapshotId(String snapshotId) The ID of the snapshot.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.ebs.model.EbsRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
snapshotIdThe ID of the snapshot. If the specified snapshot is encrypted, you must have permission to use the KMS key that was used to encrypt the snapshot. For more information, see Using encryption in the Amazon Elastic Compute Cloud User Guide.. - Parameters:
- snapshotId- The ID of the snapshot.- If the specified snapshot is encrypted, you must have permission to use the KMS key that was used to encrypt the snapshot. For more information, see Using encryption in the Amazon Elastic Compute Cloud User Guide.. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
blockIndexThe block index of the block in which to write the data. A block index is a logical index in units of 512KiB blocks. To identify the block index, divide the logical offset of the data in the logical volume by the block size (logical offset of data/524288). The logical offset of the data must be512KiB aligned.- Parameters:
- blockIndex- The block index of the block in which to write the data. A block index is a logical index in units of- 512KiB blocks. To identify the block index, divide the logical offset of the data in the logical volume by the block size (logical offset of data/- 524288). The logical offset of the data must be- 512KiB aligned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dataLengthThe size of the data to write to the block, in bytes. Currently, the only supported size is 524288bytes.Valid values: 524288- Parameters:
- dataLength- The size of the data to write to the block, in bytes. Currently, the only supported size is- 524288bytes.- Valid values: - 524288
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
progressThe progress of the write process, as a percentage. - Parameters:
- progress- The progress of the write process, as a percentage.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
checksumA Base64-encoded SHA256 checksum of the data. Only SHA256 checksums are supported. - Parameters:
- checksum- A Base64-encoded SHA256 checksum of the data. Only SHA256 checksums are supported.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
checksumAlgorithmThe algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.- Parameters:
- checksumAlgorithm- The algorithm used to generate the checksum. Currently, the only supported algorithm is- SHA256.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
checksumAlgorithmThe algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.- Parameters:
- checksumAlgorithm- The algorithm used to generate the checksum. Currently, the only supported algorithm is- SHA256.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationPutSnapshotBlockRequest.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.
 
- 
overrideConfigurationPutSnapshotBlockRequest.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.
 
 
-