Interface GetPartRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetPartRequest.Builder,,GetPartRequest> S3Request.Builder,SdkBuilder<GetPartRequest.Builder,,GetPartRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetPartRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the bucket containing the part to retrieve.checksumMode(String checksumMode) To retrieve the checksum, this mode must be enabled.checksumMode(ChecksumMode checksumMode) To retrieve the checksum, this mode must be enabled.expectedBucketOwner(String expectedBucketOwner) The account ID of the expected bucket owner.Object key for which the multipart upload was initiated.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.partNumber(Integer partNumber) Part number of the part to retrieve.Downloads the specified byte range of a part.requestPayer(String requestPayer) Sets the value of the RequestPayer property for this object.requestPayer(RequestPayer requestPayer) Sets the value of the RequestPayer property for this object.Upload ID identifying the multipart upload to retrieve the specified part from.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.s3.model.S3Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
bucket
The name of the bucket containing the part to retrieve.
- Parameters:
bucket- The name of the bucket containing the part to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
Object key for which the multipart upload was initiated.
- Parameters:
key- Object key for which the multipart upload was initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
range
Downloads the specified byte range of a part. For more information about the HTTP Range header, see https://www.rfc-editor.org/rfc/rfc9110.html#name-range.
Amazon S3 doesn't support retrieving multiple ranges of data per
GetPartrequest.- Parameters:
range- Downloads the specified byte range of a part. For more information about the HTTP Range header, see https://www.rfc-editor.org/rfc/rfc9110.html #name-range.Amazon S3 doesn't support retrieving multiple ranges of data per
GetPartrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestPayer
Sets the value of the RequestPayer property for this object.- Parameters:
requestPayer- The new value for the RequestPayer property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestPayer
Sets the value of the RequestPayer property for this object.- Parameters:
requestPayer- The new value for the RequestPayer property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
uploadId
Upload ID identifying the multipart upload to retrieve the specified part from.
- Parameters:
uploadId- Upload ID identifying the multipart upload to retrieve the specified part from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partNumber
Part number of the part to retrieve. This is a positive integer between 1 and 10,000.
- Parameters:
partNumber- Part number of the part to retrieve. This is a positive integer between 1 and 10,000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedBucketOwner
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code
403 Forbidden(access denied).- Parameters:
expectedBucketOwner- The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code403 Forbidden(access denied).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumMode
To retrieve the checksum, this mode must be enabled.
- Parameters:
checksumMode- To retrieve the checksum, this mode must be enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
checksumMode
To retrieve the checksum, this mode must be enabled.
- Parameters:
checksumMode- To retrieve the checksum, this mode must be enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
GetPartRequest.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.
-