Struct aws_sdk_ec2::model::destination_options_request::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DestinationOptionsRequest
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn file_format(self, input: DestinationFileFormat) -> Self
pub fn file_format(self, input: DestinationFileFormat) -> Self
The format for the flow log. The default is plain-text
.
sourcepub fn set_file_format(self, input: Option<DestinationFileFormat>) -> Self
pub fn set_file_format(self, input: Option<DestinationFileFormat>) -> Self
The format for the flow log. The default is plain-text
.
sourcepub fn hive_compatible_partitions(self, input: bool) -> Self
pub fn hive_compatible_partitions(self, input: bool) -> Self
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. The default is false
.
sourcepub fn set_hive_compatible_partitions(self, input: Option<bool>) -> Self
pub fn set_hive_compatible_partitions(self, input: Option<bool>) -> Self
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. The default is false
.
sourcepub fn per_hour_partition(self, input: bool) -> Self
pub fn per_hour_partition(self, input: bool) -> Self
Indicates whether to partition the flow log per hour. This reduces the cost and response time for queries. The default is false
.
sourcepub fn set_per_hour_partition(self, input: Option<bool>) -> Self
pub fn set_per_hour_partition(self, input: Option<bool>) -> Self
Indicates whether to partition the flow log per hour. This reduces the cost and response time for queries. The default is false
.
sourcepub fn build(self) -> DestinationOptionsRequest
pub fn build(self) -> DestinationOptionsRequest
Consumes the builder and constructs a DestinationOptionsRequest
.