Struct aws_sdk_ec2::model::destination_options_response::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DestinationOptionsResponse
.
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.
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.
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.
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.
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.
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.
sourcepub fn build(self) -> DestinationOptionsResponse
pub fn build(self) -> DestinationOptionsResponse
Consumes the builder and constructs a DestinationOptionsResponse
.