Struct aws_sdk_datazone::operation::create_subscription_request::builders::CreateSubscriptionRequestOutputBuilder
source · #[non_exhaustive]pub struct CreateSubscriptionRequestOutputBuilder { /* private fields */ }
Expand description
A builder for CreateSubscriptionRequestOutput
.
Implementations§
source§impl CreateSubscriptionRequestOutputBuilder
impl CreateSubscriptionRequestOutputBuilder
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The Amazon DataZone user who created the subscription request.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The Amazon DataZone user who created the subscription request.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The Amazon DataZone user who created the subscription request.
sourcepub fn updated_by(self, input: impl Into<String>) -> Self
pub fn updated_by(self, input: impl Into<String>) -> Self
The Amazon DataZone user who updated the subscription request.
sourcepub fn set_updated_by(self, input: Option<String>) -> Self
pub fn set_updated_by(self, input: Option<String>) -> Self
The Amazon DataZone user who updated the subscription request.
sourcepub fn get_updated_by(&self) -> &Option<String>
pub fn get_updated_by(&self) -> &Option<String>
The Amazon DataZone user who updated the subscription request.
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone domain in whcih the subscription request is created.
sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The ID of the Amazon DataZone domain in whcih the subscription request is created.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The ID of the Amazon DataZone domain in whcih the subscription request is created.
sourcepub fn status(self, input: SubscriptionRequestStatus) -> Self
pub fn status(self, input: SubscriptionRequestStatus) -> Self
The status of the subscription request.
sourcepub fn set_status(self, input: Option<SubscriptionRequestStatus>) -> Self
pub fn set_status(self, input: Option<SubscriptionRequestStatus>) -> Self
The status of the subscription request.
sourcepub fn get_status(&self) -> &Option<SubscriptionRequestStatus>
pub fn get_status(&self) -> &Option<SubscriptionRequestStatus>
The status of the subscription request.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
A timestamp of when the subscription request is created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
A timestamp of when the subscription request is created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
A timestamp of when the subscription request is created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The timestamp of when the subscription request was updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The timestamp of when the subscription request was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The timestamp of when the subscription request was updated.
sourcepub fn request_reason(self, input: impl Into<String>) -> Self
pub fn request_reason(self, input: impl Into<String>) -> Self
The reason for the subscription request.
sourcepub fn set_request_reason(self, input: Option<String>) -> Self
pub fn set_request_reason(self, input: Option<String>) -> Self
The reason for the subscription request.
sourcepub fn get_request_reason(&self) -> &Option<String>
pub fn get_request_reason(&self) -> &Option<String>
The reason for the subscription request.
sourcepub fn subscribed_principals(self, input: SubscribedPrincipal) -> Self
pub fn subscribed_principals(self, input: SubscribedPrincipal) -> Self
Appends an item to subscribed_principals
.
To override the contents of this collection use set_subscribed_principals
.
The subscribed principals of the subscription request.
sourcepub fn set_subscribed_principals(
self,
input: Option<Vec<SubscribedPrincipal>>
) -> Self
pub fn set_subscribed_principals( self, input: Option<Vec<SubscribedPrincipal>> ) -> Self
The subscribed principals of the subscription request.
sourcepub fn get_subscribed_principals(&self) -> &Option<Vec<SubscribedPrincipal>>
pub fn get_subscribed_principals(&self) -> &Option<Vec<SubscribedPrincipal>>
The subscribed principals of the subscription request.
sourcepub fn subscribed_listings(self, input: SubscribedListing) -> Self
pub fn subscribed_listings(self, input: SubscribedListing) -> Self
Appends an item to subscribed_listings
.
To override the contents of this collection use set_subscribed_listings
.
sourcepub fn set_subscribed_listings(
self,
input: Option<Vec<SubscribedListing>>
) -> Self
pub fn set_subscribed_listings( self, input: Option<Vec<SubscribedListing>> ) -> Self
sourcepub fn get_subscribed_listings(&self) -> &Option<Vec<SubscribedListing>>
pub fn get_subscribed_listings(&self) -> &Option<Vec<SubscribedListing>>
sourcepub fn reviewer_id(self, input: impl Into<String>) -> Self
pub fn reviewer_id(self, input: impl Into<String>) -> Self
The ID of the reviewer of the subscription request.
sourcepub fn set_reviewer_id(self, input: Option<String>) -> Self
pub fn set_reviewer_id(self, input: Option<String>) -> Self
The ID of the reviewer of the subscription request.
sourcepub fn get_reviewer_id(&self) -> &Option<String>
pub fn get_reviewer_id(&self) -> &Option<String>
The ID of the reviewer of the subscription request.
sourcepub fn decision_comment(self, input: impl Into<String>) -> Self
pub fn decision_comment(self, input: impl Into<String>) -> Self
The decision comment of the subscription request.
sourcepub fn set_decision_comment(self, input: Option<String>) -> Self
pub fn set_decision_comment(self, input: Option<String>) -> Self
The decision comment of the subscription request.
sourcepub fn get_decision_comment(&self) -> &Option<String>
pub fn get_decision_comment(&self) -> &Option<String>
The decision comment of the subscription request.
sourcepub fn build(self) -> CreateSubscriptionRequestOutput
pub fn build(self) -> CreateSubscriptionRequestOutput
Consumes the builder and constructs a CreateSubscriptionRequestOutput
.
Trait Implementations§
source§impl Clone for CreateSubscriptionRequestOutputBuilder
impl Clone for CreateSubscriptionRequestOutputBuilder
source§fn clone(&self) -> CreateSubscriptionRequestOutputBuilder
fn clone(&self) -> CreateSubscriptionRequestOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateSubscriptionRequestOutputBuilder
impl Default for CreateSubscriptionRequestOutputBuilder
source§fn default() -> CreateSubscriptionRequestOutputBuilder
fn default() -> CreateSubscriptionRequestOutputBuilder
source§impl PartialEq for CreateSubscriptionRequestOutputBuilder
impl PartialEq for CreateSubscriptionRequestOutputBuilder
source§fn eq(&self, other: &CreateSubscriptionRequestOutputBuilder) -> bool
fn eq(&self, other: &CreateSubscriptionRequestOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.