Struct aws_sdk_iotfleetwise::types::builders::S3ConfigBuilder
source · #[non_exhaustive]pub struct S3ConfigBuilder { /* private fields */ }Expand description
A builder for S3Config.
Implementations§
source§impl S3ConfigBuilder
impl S3ConfigBuilder
sourcepub fn bucket_arn(self, input: impl Into<String>) -> Self
pub fn bucket_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon S3 bucket.
This field is required.sourcepub fn set_bucket_arn(self, input: Option<String>) -> Self
pub fn set_bucket_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon S3 bucket.
sourcepub fn get_bucket_arn(&self) -> &Option<String>
pub fn get_bucket_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon S3 bucket.
sourcepub fn data_format(self, input: DataFormat) -> Self
pub fn data_format(self, input: DataFormat) -> Self
Specify the format that files are saved in the Amazon S3 bucket. You can save files in an Apache Parquet or JSON format.
-
Parquet - Store data in a columnar storage file format. Parquet is optimal for fast data retrieval and can reduce costs. This option is selected by default.
-
JSON - Store data in a standard text-based JSON file format.
sourcepub fn set_data_format(self, input: Option<DataFormat>) -> Self
pub fn set_data_format(self, input: Option<DataFormat>) -> Self
Specify the format that files are saved in the Amazon S3 bucket. You can save files in an Apache Parquet or JSON format.
-
Parquet - Store data in a columnar storage file format. Parquet is optimal for fast data retrieval and can reduce costs. This option is selected by default.
-
JSON - Store data in a standard text-based JSON file format.
sourcepub fn get_data_format(&self) -> &Option<DataFormat>
pub fn get_data_format(&self) -> &Option<DataFormat>
Specify the format that files are saved in the Amazon S3 bucket. You can save files in an Apache Parquet or JSON format.
-
Parquet - Store data in a columnar storage file format. Parquet is optimal for fast data retrieval and can reduce costs. This option is selected by default.
-
JSON - Store data in a standard text-based JSON file format.
sourcepub fn storage_compression_format(self, input: StorageCompressionFormat) -> Self
pub fn storage_compression_format(self, input: StorageCompressionFormat) -> Self
By default, stored data is compressed as a .gzip file. Compressed files have a reduced file size, which can optimize the cost of data storage.
sourcepub fn set_storage_compression_format(
self,
input: Option<StorageCompressionFormat>
) -> Self
pub fn set_storage_compression_format( self, input: Option<StorageCompressionFormat> ) -> Self
By default, stored data is compressed as a .gzip file. Compressed files have a reduced file size, which can optimize the cost of data storage.
sourcepub fn get_storage_compression_format(
&self
) -> &Option<StorageCompressionFormat>
pub fn get_storage_compression_format( &self ) -> &Option<StorageCompressionFormat>
By default, stored data is compressed as a .gzip file. Compressed files have a reduced file size, which can optimize the cost of data storage.
sourcepub fn prefix(self, input: impl Into<String>) -> Self
pub fn prefix(self, input: impl Into<String>) -> Self
(Optional) Enter an S3 bucket prefix. The prefix is the string of characters after the bucket name and before the object name. You can use the prefix to organize data stored in Amazon S3 buckets. For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
By default, Amazon Web Services IoT FleetWise sets the prefix processed-data/year=YY/month=MM/date=DD/hour=HH/ (in UTC) to data it delivers to Amazon S3. You can enter a prefix to append it to this default prefix. For example, if you enter the prefix vehicles, the prefix will be vehicles/processed-data/year=YY/month=MM/date=DD/hour=HH/.
sourcepub fn set_prefix(self, input: Option<String>) -> Self
pub fn set_prefix(self, input: Option<String>) -> Self
(Optional) Enter an S3 bucket prefix. The prefix is the string of characters after the bucket name and before the object name. You can use the prefix to organize data stored in Amazon S3 buckets. For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
By default, Amazon Web Services IoT FleetWise sets the prefix processed-data/year=YY/month=MM/date=DD/hour=HH/ (in UTC) to data it delivers to Amazon S3. You can enter a prefix to append it to this default prefix. For example, if you enter the prefix vehicles, the prefix will be vehicles/processed-data/year=YY/month=MM/date=DD/hour=HH/.
sourcepub fn get_prefix(&self) -> &Option<String>
pub fn get_prefix(&self) -> &Option<String>
(Optional) Enter an S3 bucket prefix. The prefix is the string of characters after the bucket name and before the object name. You can use the prefix to organize data stored in Amazon S3 buckets. For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
By default, Amazon Web Services IoT FleetWise sets the prefix processed-data/year=YY/month=MM/date=DD/hour=HH/ (in UTC) to data it delivers to Amazon S3. You can enter a prefix to append it to this default prefix. For example, if you enter the prefix vehicles, the prefix will be vehicles/processed-data/year=YY/month=MM/date=DD/hour=HH/.
Trait Implementations§
source§impl Clone for S3ConfigBuilder
impl Clone for S3ConfigBuilder
source§fn clone(&self) -> S3ConfigBuilder
fn clone(&self) -> S3ConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for S3ConfigBuilder
impl Debug for S3ConfigBuilder
source§impl Default for S3ConfigBuilder
impl Default for S3ConfigBuilder
source§fn default() -> S3ConfigBuilder
fn default() -> S3ConfigBuilder
source§impl PartialEq for S3ConfigBuilder
impl PartialEq for S3ConfigBuilder
source§fn eq(&self, other: &S3ConfigBuilder) -> bool
fn eq(&self, other: &S3ConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.