Interface SelectObjectContentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<SelectObjectContentRequest.Builder,SelectObjectContentRequest>
,S3Request.Builder
,SdkBuilder<SelectObjectContentRequest.Builder,SelectObjectContentRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- SelectObjectContentRequest
public static interface SelectObjectContentRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<SelectObjectContentRequest.Builder,SelectObjectContentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SelectObjectContentRequest.Builder
bucket(String bucket)
The S3 bucket.SelectObjectContentRequest.Builder
expectedBucketOwner(String expectedBucketOwner)
The account ID of the expected bucket owner.SelectObjectContentRequest.Builder
expression(String expression)
The expression that is used to query the object.SelectObjectContentRequest.Builder
expressionType(String expressionType)
The type of the provided expression (for example, SQL).SelectObjectContentRequest.Builder
expressionType(ExpressionType expressionType)
The type of the provided expression (for example, SQL).default SelectObjectContentRequest.Builder
inputSerialization(Consumer<InputSerialization.Builder> inputSerialization)
Describes the format of the data in the object that is being queried.SelectObjectContentRequest.Builder
inputSerialization(InputSerialization inputSerialization)
Describes the format of the data in the object that is being queried.SelectObjectContentRequest.Builder
key(String key)
The object key.default SelectObjectContentRequest.Builder
outputSerialization(Consumer<OutputSerialization.Builder> outputSerialization)
Describes the format of the data that you want Amazon S3 to return in response.SelectObjectContentRequest.Builder
outputSerialization(OutputSerialization outputSerialization)
Describes the format of the data that you want Amazon S3 to return in response.SelectObjectContentRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
SelectObjectContentRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
default SelectObjectContentRequest.Builder
requestProgress(Consumer<RequestProgress.Builder> requestProgress)
Specifies if periodic request progress information should be enabled.SelectObjectContentRequest.Builder
requestProgress(RequestProgress requestProgress)
Specifies if periodic request progress information should be enabled.default SelectObjectContentRequest.Builder
scanRange(Consumer<ScanRange.Builder> scanRange)
Specifies the byte range of the object to get the records from.SelectObjectContentRequest.Builder
scanRange(ScanRange scanRange)
Specifies the byte range of the object to get the records from.SelectObjectContentRequest.Builder
sseCustomerAlgorithm(String sseCustomerAlgorithm)
The server-side encryption (SSE) algorithm used to encrypt the object.SelectObjectContentRequest.Builder
sseCustomerKey(String sseCustomerKey)
The server-side encryption (SSE) customer managed key.SelectObjectContentRequest.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
bucket
SelectObjectContentRequest.Builder bucket(String 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
SelectObjectContentRequest.Builder key(String 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
SelectObjectContentRequest.Builder sseCustomerAlgorithm(String 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
SelectObjectContentRequest.Builder sseCustomerKey(String 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
SelectObjectContentRequest.Builder sseCustomerKeyMD5(String 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
SelectObjectContentRequest.Builder expression(String 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
SelectObjectContentRequest.Builder expressionType(String 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
,ExpressionType
-
expressionType
SelectObjectContentRequest.Builder expressionType(ExpressionType 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
,ExpressionType
-
requestProgress
SelectObjectContentRequest.Builder requestProgress(RequestProgress 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:
requestProgress(RequestProgress)
-
inputSerialization
SelectObjectContentRequest.Builder inputSerialization(InputSerialization 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:
inputSerialization(InputSerialization)
-
outputSerialization
SelectObjectContentRequest.Builder outputSerialization(OutputSerialization 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:
outputSerialization(OutputSerialization)
-
scanRange
SelectObjectContentRequest.Builder scanRange(ScanRange 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
default SelectObjectContentRequest.Builder scanRange(Consumer<ScanRange.Builder> 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:
scanRange(ScanRange)
-
-
expectedBucketOwner
SelectObjectContentRequest.Builder expectedBucketOwner(String 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
SelectObjectContentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-