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 id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the subscription request.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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) -> Result<AcceptSubscriptionRequestOutput, BuildError>
pub fn build(self) -> Result<AcceptSubscriptionRequestOutput, BuildError>
Consumes the builder and constructs a AcceptSubscriptionRequestOutput.
This method will fail if any of the following fields are not set:
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 ==.impl StructuralPartialEq for AcceptSubscriptionRequestOutputBuilder
Auto Trait Implementations§
impl Freeze for AcceptSubscriptionRequestOutputBuilder
impl RefUnwindSafe for AcceptSubscriptionRequestOutputBuilder
impl Send for AcceptSubscriptionRequestOutputBuilder
impl Sync for AcceptSubscriptionRequestOutputBuilder
impl Unpin for AcceptSubscriptionRequestOutputBuilder
impl UnwindSafe for AcceptSubscriptionRequestOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more