#[non_exhaustive]pub struct ChannelMessagesBuilder { /* private fields */ }
Expand description
A builder for ChannelMessages
.
Implementations§
source§impl ChannelMessagesBuilder
impl ChannelMessagesBuilder
sourcepub fn s3_paths(self, input: impl Into<String>) -> Self
pub fn s3_paths(self, input: impl Into<String>) -> Self
Appends an item to s3_paths
.
To override the contents of this collection use set_s3_paths
.
Specifies one or more keys that identify the Amazon Simple Storage Service (Amazon S3) objects that save your channel messages.
You must use the full path for the key.
Example path: channel/mychannel/__dt=2020-02-29 00:00:00/1582940490000_1582940520000_123456789012_mychannel_0_2118.0.json.gz
sourcepub fn set_s3_paths(self, input: Option<Vec<String>>) -> Self
pub fn set_s3_paths(self, input: Option<Vec<String>>) -> Self
Specifies one or more keys that identify the Amazon Simple Storage Service (Amazon S3) objects that save your channel messages.
You must use the full path for the key.
Example path: channel/mychannel/__dt=2020-02-29 00:00:00/1582940490000_1582940520000_123456789012_mychannel_0_2118.0.json.gz
sourcepub fn get_s3_paths(&self) -> &Option<Vec<String>>
pub fn get_s3_paths(&self) -> &Option<Vec<String>>
Specifies one or more keys that identify the Amazon Simple Storage Service (Amazon S3) objects that save your channel messages.
You must use the full path for the key.
Example path: channel/mychannel/__dt=2020-02-29 00:00:00/1582940490000_1582940520000_123456789012_mychannel_0_2118.0.json.gz
sourcepub fn build(self) -> ChannelMessages
pub fn build(self) -> ChannelMessages
Consumes the builder and constructs a ChannelMessages
.
Trait Implementations§
source§impl Clone for ChannelMessagesBuilder
impl Clone for ChannelMessagesBuilder
source§fn clone(&self) -> ChannelMessagesBuilder
fn clone(&self) -> ChannelMessagesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChannelMessagesBuilder
impl Debug for ChannelMessagesBuilder
source§impl Default for ChannelMessagesBuilder
impl Default for ChannelMessagesBuilder
source§fn default() -> ChannelMessagesBuilder
fn default() -> ChannelMessagesBuilder
source§impl PartialEq for ChannelMessagesBuilder
impl PartialEq for ChannelMessagesBuilder
source§fn eq(&self, other: &ChannelMessagesBuilder) -> bool
fn eq(&self, other: &ChannelMessagesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.