Struct aws_sdk_datazone::operation::create_subscription_request::builders::CreateSubscriptionRequestInputBuilder
source · #[non_exhaustive]pub struct CreateSubscriptionRequestInputBuilder { /* private fields */ }Expand description
A builder for CreateSubscriptionRequestInput.
Implementations§
source§impl CreateSubscriptionRequestInputBuilder
impl CreateSubscriptionRequestInputBuilder
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone domain in which the subscription request is created.
This field is required.sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The ID of the Amazon DataZone domain in which the subscription request is created.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The ID of the Amazon DataZone domain in which the subscription request is created.
sourcepub fn subscribed_principals(self, input: SubscribedPrincipalInput) -> Self
pub fn subscribed_principals(self, input: SubscribedPrincipalInput) -> Self
Appends an item to subscribed_principals.
To override the contents of this collection use set_subscribed_principals.
The Amazon DataZone principals for whom the subscription request is created.
sourcepub fn set_subscribed_principals(
self,
input: Option<Vec<SubscribedPrincipalInput>>,
) -> Self
pub fn set_subscribed_principals( self, input: Option<Vec<SubscribedPrincipalInput>>, ) -> Self
The Amazon DataZone principals for whom the subscription request is created.
sourcepub fn get_subscribed_principals(
&self,
) -> &Option<Vec<SubscribedPrincipalInput>>
pub fn get_subscribed_principals( &self, ) -> &Option<Vec<SubscribedPrincipalInput>>
The Amazon DataZone principals for whom the subscription request is created.
sourcepub fn subscribed_listings(self, input: SubscribedListingInput) -> Self
pub fn subscribed_listings(self, input: SubscribedListingInput) -> 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<SubscribedListingInput>>,
) -> Self
pub fn set_subscribed_listings( self, input: Option<Vec<SubscribedListingInput>>, ) -> Self
The published asset for which the subscription grant is to be created.
sourcepub fn get_subscribed_listings(&self) -> &Option<Vec<SubscribedListingInput>>
pub fn get_subscribed_listings(&self) -> &Option<Vec<SubscribedListingInput>>
The published asset for which the subscription grant is to be created.
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 client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
sourcepub fn build(self) -> Result<CreateSubscriptionRequestInput, BuildError>
pub fn build(self) -> Result<CreateSubscriptionRequestInput, BuildError>
Consumes the builder and constructs a CreateSubscriptionRequestInput.
source§impl CreateSubscriptionRequestInputBuilder
impl CreateSubscriptionRequestInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateSubscriptionRequestOutput, SdkError<CreateSubscriptionRequestError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateSubscriptionRequestOutput, SdkError<CreateSubscriptionRequestError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSubscriptionRequestInputBuilder
impl Clone for CreateSubscriptionRequestInputBuilder
source§fn clone(&self) -> CreateSubscriptionRequestInputBuilder
fn clone(&self) -> CreateSubscriptionRequestInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateSubscriptionRequestInputBuilder
impl Default for CreateSubscriptionRequestInputBuilder
source§fn default() -> CreateSubscriptionRequestInputBuilder
fn default() -> CreateSubscriptionRequestInputBuilder
source§impl PartialEq for CreateSubscriptionRequestInputBuilder
impl PartialEq for CreateSubscriptionRequestInputBuilder
source§fn eq(&self, other: &CreateSubscriptionRequestInputBuilder) -> bool
fn eq(&self, other: &CreateSubscriptionRequestInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateSubscriptionRequestInputBuilder
Auto Trait Implementations§
impl Freeze for CreateSubscriptionRequestInputBuilder
impl RefUnwindSafe for CreateSubscriptionRequestInputBuilder
impl Send for CreateSubscriptionRequestInputBuilder
impl Sync for CreateSubscriptionRequestInputBuilder
impl Unpin for CreateSubscriptionRequestInputBuilder
impl UnwindSafe for CreateSubscriptionRequestInputBuilder
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