Interface SelectObjectContentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<SelectObjectContentRequest.Builder,
,SelectObjectContentRequest> S3Request.Builder
,SdkBuilder<SelectObjectContentRequest.Builder,
,SelectObjectContentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SelectObjectContentRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe S3 bucket.expectedBucketOwner
(String expectedBucketOwner) The account ID of the expected bucket owner.expression
(String expression) The expression that is used to query the object.expressionType
(String expressionType) The type of the provided expression (for example, SQL).expressionType
(ExpressionType expressionType) The type of the provided expression (for example, SQL).inputSerialization
(Consumer<InputSerialization.Builder> inputSerialization) Describes the format of the data in the object that is being queried.inputSerialization
(InputSerialization inputSerialization) Describes the format of the data in the object that is being queried.The object key.outputSerialization
(Consumer<OutputSerialization.Builder> outputSerialization) Describes the format of the data that you want Amazon S3 to return in response.outputSerialization
(OutputSerialization outputSerialization) Describes the format of the data that you want Amazon S3 to return in response.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.requestProgress
(Consumer<RequestProgress.Builder> requestProgress) Specifies if periodic request progress information should be enabled.requestProgress
(RequestProgress requestProgress) Specifies if periodic request progress information should be enabled.scanRange
(Consumer<ScanRange.Builder> scanRange) Specifies the byte range of the object to get the records from.Specifies the byte range of the object to get the records from.sseCustomerAlgorithm
(String sseCustomerAlgorithm) The server-side encryption (SSE) algorithm used to encrypt the object.sseCustomerKey
(String sseCustomerKey) The server-side encryption (SSE) customer managed key.sseCustomerKeyMD5
(String sseCustomerKeyMD5) The MD5 server-side encryption (SSE) customer managed key.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
bucket
The S3 bucket.
- Parameters:
bucket
- The S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
The object key.
- Parameters:
key
- The object key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sseCustomerAlgorithm
The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.
- Parameters:
sseCustomerAlgorithm
- The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sseCustomerKey
The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.
- Parameters:
sseCustomerKey
- The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sseCustomerKeyMD5
The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.
- Parameters:
sseCustomerKeyMD5
- The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expression
The expression that is used to query the object.
- Parameters:
expression
- The expression that is used to query the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expressionType
The type of the provided expression (for example, SQL).
- Parameters:
expressionType
- The type of the provided expression (for example, SQL).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expressionType
The type of the provided expression (for example, SQL).
- Parameters:
expressionType
- The type of the provided expression (for example, SQL).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestProgress
Specifies if periodic request progress information should be enabled.
- Parameters:
requestProgress
- Specifies if periodic request progress information should be enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestProgress
default SelectObjectContentRequest.Builder requestProgress(Consumer<RequestProgress.Builder> requestProgress) Specifies if periodic request progress information should be enabled.
This is a convenience method that creates an instance of theRequestProgress.Builder
avoiding the need to create one manually viaRequestProgress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequestProgress(RequestProgress)
.- Parameters:
requestProgress
- a consumer that will call methods onRequestProgress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputSerialization
Describes the format of the data in the object that is being queried.
- Parameters:
inputSerialization
- Describes the format of the data in the object that is being queried.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputSerialization
default SelectObjectContentRequest.Builder inputSerialization(Consumer<InputSerialization.Builder> inputSerialization) Describes the format of the data in the object that is being queried.
This is a convenience method that creates an instance of theInputSerialization.Builder
avoiding the need to create one manually viaInputSerialization.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputSerialization(InputSerialization)
.- Parameters:
inputSerialization
- a consumer that will call methods onInputSerialization.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputSerialization
Describes the format of the data that you want Amazon S3 to return in response.
- Parameters:
outputSerialization
- Describes the format of the data that you want Amazon S3 to return in response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSerialization
default SelectObjectContentRequest.Builder outputSerialization(Consumer<OutputSerialization.Builder> outputSerialization) Describes the format of the data that you want Amazon S3 to return in response.
This is a convenience method that creates an instance of theOutputSerialization.Builder
avoiding the need to create one manually viaOutputSerialization.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputSerialization(OutputSerialization)
.- Parameters:
outputSerialization
- a consumer that will call methods onOutputSerialization.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanRange
Specifies the byte range of the object to get the records from. A record is processed when its first byte is contained by the range. This parameter is optional, but when specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the start and end of the range.
ScanRange
may be used in the following ways:-
<scanrange><start>50</start><end>100</end></scanrange>
- process only the records starting between the bytes 50 and 100 (inclusive, counting from zero) -
<scanrange><start>50</start></scanrange>
- process only the records starting after the byte 50 -
<scanrange><end>50</end></scanrange>
- process only the records within the last 50 bytes of the file.
- Parameters:
scanRange
- Specifies the byte range of the object to get the records from. A record is processed when its first byte is contained by the range. This parameter is optional, but when specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the start and end of the range.ScanRange
may be used in the following ways:-
<scanrange><start>50</start><end>100</end></scanrange>
- process only the records starting between the bytes 50 and 100 (inclusive, counting from zero) -
<scanrange><start>50</start></scanrange>
- process only the records starting after the byte 50 -
<scanrange><end>50</end></scanrange>
- process only the records within the last 50 bytes of the file.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
scanRange
Specifies the byte range of the object to get the records from. A record is processed when its first byte is contained by the range. This parameter is optional, but when specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the start and end of the range.
ScanRange
may be used in the following ways:-
<scanrange><start>50</start><end>100</end></scanrange>
- process only the records starting between the bytes 50 and 100 (inclusive, counting from zero) -
<scanrange><start>50</start></scanrange>
- process only the records starting after the byte 50 -
<scanrange><end>50</end></scanrange>
- process only the records within the last 50 bytes of the file.
ScanRange.Builder
avoiding the need to create one manually viaScanRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscanRange(ScanRange)
.- Parameters:
scanRange
- a consumer that will call methods onScanRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
-
overrideConfiguration
SelectObjectContentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SelectObjectContentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-