Struct aws_sdk_datazone::operation::accept_subscription_request::builders::AcceptSubscriptionRequestOutputBuilder
source · #[non_exhaustive]pub struct AcceptSubscriptionRequestOutputBuilder { /* private fields */ }
Expand description
A builder for AcceptSubscriptionRequestOutput
.
Implementations§
source§impl AcceptSubscriptionRequestOutputBuilder
impl AcceptSubscriptionRequestOutputBuilder
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
Specifies the Amazon DataZone user that accepted the specified subscription request.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
Specifies the Amazon DataZone user that accepted the specified subscription request.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
Specifies the Amazon DataZone user that accepted the specified subscription request.
sourcepub fn updated_by(self, input: impl Into<String>) -> Self
pub fn updated_by(self, input: impl Into<String>) -> Self
Specifies 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
Specifies 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>
Specifies 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 unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.
sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.
sourcepub fn status(self, input: SubscriptionRequestStatus) -> Self
pub fn status(self, input: SubscriptionRequestStatus) -> Self
Specifies the status of the subscription request.
sourcepub fn set_status(self, input: Option<SubscriptionRequestStatus>) -> Self
pub fn set_status(self, input: Option<SubscriptionRequestStatus>) -> Self
Specifies the status of the subscription request.
sourcepub fn get_status(&self) -> &Option<SubscriptionRequestStatus>
pub fn get_status(&self) -> &Option<SubscriptionRequestStatus>
Specifies the status of the subscription request.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp that specifies when the subscription request was accepted.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp that specifies when the subscription request was accepted.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp that specifies when the subscription request was accepted.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
Specifies the timestamp when subscription request was updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
Specifies the timestamp when subscription request was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
Specifies the timestamp when subscription request was updated.
sourcepub fn request_reason(self, input: impl Into<String>) -> Self
pub fn request_reason(self, input: impl Into<String>) -> Self
Specifies the reason for requesting a subscription to the asset.
sourcepub fn set_request_reason(self, input: Option<String>) -> Self
pub fn set_request_reason(self, input: Option<String>) -> Self
Specifies the reason for requesting a subscription to the asset.
sourcepub fn get_request_reason(&self) -> &Option<String>
pub fn get_request_reason(&self) -> &Option<String>
Specifies the reason for requesting a subscription to the asset.
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
.
Specifies the Amazon DataZone users who are subscribed to the asset specified in 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
Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.
sourcepub fn get_subscribed_principals(&self) -> &Option<Vec<SubscribedPrincipal>>
pub fn get_subscribed_principals(&self) -> &Option<Vec<SubscribedPrincipal>>
Specifies the Amazon DataZone users who are subscribed to the asset specified in 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
.
Specifies the asset for which the subscription request was created.
sourcepub fn set_subscribed_listings(
self,
input: Option<Vec<SubscribedListing>>
) -> Self
pub fn set_subscribed_listings( self, input: Option<Vec<SubscribedListing>> ) -> Self
Specifies the asset for which the subscription request was created.
sourcepub fn get_subscribed_listings(&self) -> &Option<Vec<SubscribedListing>>
pub fn get_subscribed_listings(&self) -> &Option<Vec<SubscribedListing>>
Specifies the asset for which the subscription request was created.
sourcepub fn reviewer_id(self, input: impl Into<String>) -> Self
pub fn reviewer_id(self, input: impl Into<String>) -> Self
Specifes the ID of the Amazon DataZone user who reviewed the subscription request.
sourcepub fn set_reviewer_id(self, input: Option<String>) -> Self
pub fn set_reviewer_id(self, input: Option<String>) -> Self
Specifes the ID of the Amazon DataZone user who reviewed the subscription request.
sourcepub fn get_reviewer_id(&self) -> &Option<String>
pub fn get_reviewer_id(&self) -> &Option<String>
Specifes the ID of the Amazon DataZone user who reviewed the subscription request.
sourcepub fn decision_comment(self, input: impl Into<String>) -> Self
pub fn decision_comment(self, input: impl Into<String>) -> Self
Specifies the reason for accepting the subscription request.
sourcepub fn set_decision_comment(self, input: Option<String>) -> Self
pub fn set_decision_comment(self, input: Option<String>) -> Self
Specifies the reason for accepting the subscription request.
sourcepub fn get_decision_comment(&self) -> &Option<String>
pub fn get_decision_comment(&self) -> &Option<String>
Specifies the reason for accepting the subscription request.
sourcepub fn build(self) -> AcceptSubscriptionRequestOutput
pub fn build(self) -> AcceptSubscriptionRequestOutput
Consumes the builder and constructs a AcceptSubscriptionRequestOutput
.
Trait Implementations§
source§impl Clone for AcceptSubscriptionRequestOutputBuilder
impl Clone for AcceptSubscriptionRequestOutputBuilder
source§fn clone(&self) -> AcceptSubscriptionRequestOutputBuilder
fn clone(&self) -> AcceptSubscriptionRequestOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AcceptSubscriptionRequestOutputBuilder
impl Default for AcceptSubscriptionRequestOutputBuilder
source§fn default() -> AcceptSubscriptionRequestOutputBuilder
fn default() -> AcceptSubscriptionRequestOutputBuilder
source§impl PartialEq for AcceptSubscriptionRequestOutputBuilder
impl PartialEq for AcceptSubscriptionRequestOutputBuilder
source§fn eq(&self, other: &AcceptSubscriptionRequestOutputBuilder) -> bool
fn eq(&self, other: &AcceptSubscriptionRequestOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.