Struct aws_sdk_datazone::operation::create_subscription_request::builders::CreateSubscriptionRequestFluentBuilder
source · pub struct CreateSubscriptionRequestFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateSubscriptionRequest
.
Creates a subscription request in Amazon DataZone.
Implementations§
source§impl CreateSubscriptionRequestFluentBuilder
impl CreateSubscriptionRequestFluentBuilder
sourcepub fn as_input(&self) -> &CreateSubscriptionRequestInputBuilder
pub fn as_input(&self) -> &CreateSubscriptionRequestInputBuilder
Access the CreateSubscriptionRequest as a reference.
sourcepub async fn send(
self
) -> Result<CreateSubscriptionRequestOutput, SdkError<CreateSubscriptionRequestError, HttpResponse>>
pub async fn send( self ) -> Result<CreateSubscriptionRequestOutput, SdkError<CreateSubscriptionRequestError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateSubscriptionRequestOutput, CreateSubscriptionRequestError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateSubscriptionRequestOutput, CreateSubscriptionRequestError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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 subscribedPrincipals
.
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 subscribedListings
.
To override the contents of this collection use set_subscribed_listings
.
sourcepub fn set_subscribed_listings(
self,
input: Option<Vec<SubscribedListingInput>>
) -> Self
pub fn set_subscribed_listings( self, input: Option<Vec<SubscribedListingInput>> ) -> Self
sourcepub fn get_subscribed_listings(&self) -> &Option<Vec<SubscribedListingInput>>
pub fn get_subscribed_listings(&self) -> &Option<Vec<SubscribedListingInput>>
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 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.
Trait Implementations§
source§impl Clone for CreateSubscriptionRequestFluentBuilder
impl Clone for CreateSubscriptionRequestFluentBuilder
source§fn clone(&self) -> CreateSubscriptionRequestFluentBuilder
fn clone(&self) -> CreateSubscriptionRequestFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more