Struct aws_sdk_datazone::operation::create_subscription_grant::builders::CreateSubscriptionGrantFluentBuilder
source · pub struct CreateSubscriptionGrantFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateSubscriptionGrant
.
Creates a subsscription grant in Amazon DataZone.
Implementations§
source§impl CreateSubscriptionGrantFluentBuilder
impl CreateSubscriptionGrantFluentBuilder
sourcepub fn as_input(&self) -> &CreateSubscriptionGrantInputBuilder
pub fn as_input(&self) -> &CreateSubscriptionGrantInputBuilder
Access the CreateSubscriptionGrant as a reference.
sourcepub async fn send(
self
) -> Result<CreateSubscriptionGrantOutput, SdkError<CreateSubscriptionGrantError, HttpResponse>>
pub async fn send( self ) -> Result<CreateSubscriptionGrantOutput, SdkError<CreateSubscriptionGrantError, 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 async fn customize(
self
) -> Result<CustomizableOperation<CreateSubscriptionGrantOutput, CreateSubscriptionGrantError, Self>, SdkError<CreateSubscriptionGrantError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateSubscriptionGrantOutput, CreateSubscriptionGrantError, Self>, SdkError<CreateSubscriptionGrantError>>
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 grant 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 grant 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 grant is created.
sourcepub fn environment_identifier(self, input: impl Into<String>) -> Self
pub fn environment_identifier(self, input: impl Into<String>) -> Self
The ID of the environment in which the subscription grant is created.
sourcepub fn set_environment_identifier(self, input: Option<String>) -> Self
pub fn set_environment_identifier(self, input: Option<String>) -> Self
The ID of the environment in which the subscription grant is created.
sourcepub fn get_environment_identifier(&self) -> &Option<String>
pub fn get_environment_identifier(&self) -> &Option<String>
The ID of the environment in which the subscription grant is created.
sourcepub fn subscription_target_identifier(self, input: impl Into<String>) -> Self
pub fn subscription_target_identifier(self, input: impl Into<String>) -> Self
The ID of the subscription target for which the subscription grant is created.
sourcepub fn set_subscription_target_identifier(self, input: Option<String>) -> Self
pub fn set_subscription_target_identifier(self, input: Option<String>) -> Self
The ID of the subscription target for which the subscription grant is created.
sourcepub fn get_subscription_target_identifier(&self) -> &Option<String>
pub fn get_subscription_target_identifier(&self) -> &Option<String>
The ID of the subscription target for which the subscription grant is created.
sourcepub fn granted_entity(self, input: GrantedEntityInput) -> Self
pub fn granted_entity(self, input: GrantedEntityInput) -> Self
The entity to which the subscription is to be granted.
sourcepub fn set_granted_entity(self, input: Option<GrantedEntityInput>) -> Self
pub fn set_granted_entity(self, input: Option<GrantedEntityInput>) -> Self
The entity to which the subscription is to be granted.
sourcepub fn get_granted_entity(&self) -> &Option<GrantedEntityInput>
pub fn get_granted_entity(&self) -> &Option<GrantedEntityInput>
The entity to which the subscription is to be granted.
sourcepub fn asset_target_names(self, input: AssetTargetNameMap) -> Self
pub fn asset_target_names(self, input: AssetTargetNameMap) -> Self
Appends an item to assetTargetNames
.
To override the contents of this collection use set_asset_target_names
.
The names of the assets for which the subscription grant is created.
sourcepub fn set_asset_target_names(
self,
input: Option<Vec<AssetTargetNameMap>>
) -> Self
pub fn set_asset_target_names( self, input: Option<Vec<AssetTargetNameMap>> ) -> Self
The names of the assets for which the subscription grant is created.
sourcepub fn get_asset_target_names(&self) -> &Option<Vec<AssetTargetNameMap>>
pub fn get_asset_target_names(&self) -> &Option<Vec<AssetTargetNameMap>>
The names of the assets for which the subscription grant is created.
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 CreateSubscriptionGrantFluentBuilder
impl Clone for CreateSubscriptionGrantFluentBuilder
source§fn clone(&self) -> CreateSubscriptionGrantFluentBuilder
fn clone(&self) -> CreateSubscriptionGrantFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more