Struct aws_sdk_codecatalyst::model::event_payload::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EventPayload
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
The type of content in the event payload.
sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
The type of content in the event payload.
sourcepub fn build(self) -> EventPayload
pub fn build(self) -> EventPayload
Consumes the builder and constructs a EventPayload
.