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.
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
.
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.
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 ==
.