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 id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID 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
The Amazon DataZone user who created the 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
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.
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 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.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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.
The published asset for which the subscription grant is to be created.
sourcepub fn set_subscribed_listings(
self,
input: Option<Vec<SubscribedListing>>,
) -> Self
pub fn set_subscribed_listings( self, input: Option<Vec<SubscribedListing>>, ) -> Self
The published asset for which the subscription grant is to be created.
sourcepub fn get_subscribed_listings(&self) -> &Option<Vec<SubscribedListing>>
pub fn get_subscribed_listings(&self) -> &Option<Vec<SubscribedListing>>
The published asset for which the subscription grant is to be created.
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) -> Result<CreateSubscriptionRequestOutput, BuildError>
pub fn build(self) -> Result<CreateSubscriptionRequestOutput, BuildError>
Consumes the builder and constructs a CreateSubscriptionRequestOutput.
This method will fail if any of the following fields are not set:
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 ==.impl StructuralPartialEq for CreateSubscriptionRequestOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateSubscriptionRequestOutputBuilder
impl RefUnwindSafe for CreateSubscriptionRequestOutputBuilder
impl Send for CreateSubscriptionRequestOutputBuilder
impl Sync for CreateSubscriptionRequestOutputBuilder
impl Unpin for CreateSubscriptionRequestOutputBuilder
impl UnwindSafe for CreateSubscriptionRequestOutputBuilder
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