pub struct Builder { /* private fields */ }
Expand description
A builder for GetRetainedMessageInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn topic(self, input: impl Into<String>) -> Self
pub fn topic(self, input: impl Into<String>) -> Self
The topic name of the retained message to retrieve.
sourcepub fn set_topic(self, input: Option<String>) -> Self
pub fn set_topic(self, input: Option<String>) -> Self
The topic name of the retained message to retrieve.
sourcepub fn build(self) -> Result<GetRetainedMessageInput, BuildError>
pub fn build(self) -> Result<GetRetainedMessageInput, BuildError>
Consumes the builder and constructs a GetRetainedMessageInput
.