Struct aws_sdk_workdocs::model::subscription::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Subscription
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn subscription_id(self, input: impl Into<String>) -> Self
pub fn subscription_id(self, input: impl Into<String>) -> Self
The ID of the subscription.
sourcepub fn set_subscription_id(self, input: Option<String>) -> Self
pub fn set_subscription_id(self, input: Option<String>) -> Self
The ID of the subscription.
sourcepub fn set_end_point(self, input: Option<String>) -> Self
pub fn set_end_point(self, input: Option<String>) -> Self
The endpoint of the subscription.
sourcepub fn protocol(self, input: SubscriptionProtocolType) -> Self
pub fn protocol(self, input: SubscriptionProtocolType) -> Self
The protocol of the subscription.
sourcepub fn set_protocol(self, input: Option<SubscriptionProtocolType>) -> Self
pub fn set_protocol(self, input: Option<SubscriptionProtocolType>) -> Self
The protocol of the subscription.
sourcepub fn build(self) -> Subscription
pub fn build(self) -> Subscription
Consumes the builder and constructs a Subscription
.