Struct aws_sdk_s3::operation::select_object_content::builders::SelectObjectContentInputBuilder
source · #[non_exhaustive]pub struct SelectObjectContentInputBuilder { /* private fields */ }
Expand description
A builder for SelectObjectContentInput
.
Implementations§
source§impl SelectObjectContentInputBuilder
impl SelectObjectContentInputBuilder
sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
The S3 bucket.
sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The S3 bucket.
sourcepub fn sse_customer_algorithm(self, input: impl Into<String>) -> Self
pub fn sse_customer_algorithm(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_sse_customer_algorithm(self, input: Option<String>) -> Self
pub fn set_sse_customer_algorithm(self, input: Option<String>) -> Self
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.
sourcepub fn get_sse_customer_algorithm(&self) -> &Option<String>
pub fn get_sse_customer_algorithm(&self) -> &Option<String>
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.
sourcepub fn sse_customer_key(self, input: impl Into<String>) -> Self
pub fn sse_customer_key(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_sse_customer_key(self, input: Option<String>) -> Self
pub fn set_sse_customer_key(self, input: Option<String>) -> Self
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.
sourcepub fn get_sse_customer_key(&self) -> &Option<String>
pub fn get_sse_customer_key(&self) -> &Option<String>
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.
sourcepub fn sse_customer_key_md5(self, input: impl Into<String>) -> Self
pub fn sse_customer_key_md5(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_sse_customer_key_md5(self, input: Option<String>) -> Self
pub fn set_sse_customer_key_md5(self, input: Option<String>) -> Self
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.
sourcepub fn get_sse_customer_key_md5(&self) -> &Option<String>
pub fn get_sse_customer_key_md5(&self) -> &Option<String>
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.
sourcepub fn expression(self, input: impl Into<String>) -> Self
pub fn expression(self, input: impl Into<String>) -> Self
The expression that is used to query the object.
This field is required.sourcepub fn set_expression(self, input: Option<String>) -> Self
pub fn set_expression(self, input: Option<String>) -> Self
The expression that is used to query the object.
sourcepub fn get_expression(&self) -> &Option<String>
pub fn get_expression(&self) -> &Option<String>
The expression that is used to query the object.
sourcepub fn expression_type(self, input: ExpressionType) -> Self
pub fn expression_type(self, input: ExpressionType) -> Self
The type of the provided expression (for example, SQL).
This field is required.sourcepub fn set_expression_type(self, input: Option<ExpressionType>) -> Self
pub fn set_expression_type(self, input: Option<ExpressionType>) -> Self
The type of the provided expression (for example, SQL).
sourcepub fn get_expression_type(&self) -> &Option<ExpressionType>
pub fn get_expression_type(&self) -> &Option<ExpressionType>
The type of the provided expression (for example, SQL).
sourcepub fn request_progress(self, input: RequestProgress) -> Self
pub fn request_progress(self, input: RequestProgress) -> Self
Specifies if periodic request progress information should be enabled.
sourcepub fn set_request_progress(self, input: Option<RequestProgress>) -> Self
pub fn set_request_progress(self, input: Option<RequestProgress>) -> Self
Specifies if periodic request progress information should be enabled.
sourcepub fn get_request_progress(&self) -> &Option<RequestProgress>
pub fn get_request_progress(&self) -> &Option<RequestProgress>
Specifies if periodic request progress information should be enabled.
sourcepub fn input_serialization(self, input: InputSerialization) -> Self
pub fn input_serialization(self, input: InputSerialization) -> Self
Describes the format of the data in the object that is being queried.
This field is required.sourcepub fn set_input_serialization(self, input: Option<InputSerialization>) -> Self
pub fn set_input_serialization(self, input: Option<InputSerialization>) -> Self
Describes the format of the data in the object that is being queried.
sourcepub fn get_input_serialization(&self) -> &Option<InputSerialization>
pub fn get_input_serialization(&self) -> &Option<InputSerialization>
Describes the format of the data in the object that is being queried.
sourcepub fn output_serialization(self, input: OutputSerialization) -> Self
pub fn output_serialization(self, input: OutputSerialization) -> Self
Describes the format of the data that you want Amazon S3 to return in response.
This field is required.sourcepub fn set_output_serialization(
self,
input: Option<OutputSerialization>,
) -> Self
pub fn set_output_serialization( self, input: Option<OutputSerialization>, ) -> Self
Describes the format of the data that you want Amazon S3 to return in response.
sourcepub fn get_output_serialization(&self) -> &Option<OutputSerialization>
pub fn get_output_serialization(&self) -> &Option<OutputSerialization>
Describes the format of the data that you want Amazon S3 to return in response.
sourcepub fn scan_range(self, input: ScanRange) -> Self
pub fn scan_range(self, input: ScanRange) -> Self
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:
-
- process only the records starting between the bytes 50 and 100 (inclusive, counting from zero)50 100 -
- process only the records starting after the byte 5050 -
- process only the records within the last 50 bytes of the file.50
sourcepub fn set_scan_range(self, input: Option<ScanRange>) -> Self
pub fn set_scan_range(self, input: Option<ScanRange>) -> Self
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:
-
- process only the records starting between the bytes 50 and 100 (inclusive, counting from zero)50 100 -
- process only the records starting after the byte 5050 -
- process only the records within the last 50 bytes of the file.50
sourcepub fn get_scan_range(&self) -> &Option<ScanRange>
pub fn get_scan_range(&self) -> &Option<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:
-
- process only the records starting between the bytes 50 and 100 (inclusive, counting from zero)50 100 -
- process only the records starting after the byte 5050 -
- process only the records within the last 50 bytes of the file.50
sourcepub fn expected_bucket_owner(self, input: impl Into<String>) -> Self
pub fn expected_bucket_owner(self, input: impl Into<String>) -> Self
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).
sourcepub fn set_expected_bucket_owner(self, input: Option<String>) -> Self
pub fn set_expected_bucket_owner(self, input: Option<String>) -> Self
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).
sourcepub fn get_expected_bucket_owner(&self) -> &Option<String>
pub fn get_expected_bucket_owner(&self) -> &Option<String>
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).
sourcepub fn build(self) -> Result<SelectObjectContentInput, BuildError>
pub fn build(self) -> Result<SelectObjectContentInput, BuildError>
Consumes the builder and constructs a SelectObjectContentInput
.
source§impl SelectObjectContentInputBuilder
impl SelectObjectContentInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<SelectObjectContentOutput, SdkError<SelectObjectContentError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<SelectObjectContentOutput, SdkError<SelectObjectContentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SelectObjectContentInputBuilder
impl Clone for SelectObjectContentInputBuilder
source§fn clone(&self) -> SelectObjectContentInputBuilder
fn clone(&self) -> SelectObjectContentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SelectObjectContentInputBuilder
impl Default for SelectObjectContentInputBuilder
source§fn default() -> SelectObjectContentInputBuilder
fn default() -> SelectObjectContentInputBuilder
source§impl PartialEq for SelectObjectContentInputBuilder
impl PartialEq for SelectObjectContentInputBuilder
source§fn eq(&self, other: &SelectObjectContentInputBuilder) -> bool
fn eq(&self, other: &SelectObjectContentInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SelectObjectContentInputBuilder
Auto Trait Implementations§
impl Freeze for SelectObjectContentInputBuilder
impl RefUnwindSafe for SelectObjectContentInputBuilder
impl Send for SelectObjectContentInputBuilder
impl Sync for SelectObjectContentInputBuilder
impl Unpin for SelectObjectContentInputBuilder
impl UnwindSafe for SelectObjectContentInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)