Struct aws_sdk_datazone::operation::create_subscription_grant::builders::CreateSubscriptionGrantInputBuilder
source · #[non_exhaustive]pub struct CreateSubscriptionGrantInputBuilder { /* private fields */ }
Expand description
A builder for CreateSubscriptionGrantInput
.
Implementations§
source§impl CreateSubscriptionGrantInputBuilder
impl CreateSubscriptionGrantInputBuilder
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 asset_target_names
.
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.
sourcepub fn build(self) -> Result<CreateSubscriptionGrantInput, BuildError>
pub fn build(self) -> Result<CreateSubscriptionGrantInput, BuildError>
Consumes the builder and constructs a CreateSubscriptionGrantInput
.
source§impl CreateSubscriptionGrantInputBuilder
impl CreateSubscriptionGrantInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateSubscriptionGrantOutput, SdkError<CreateSubscriptionGrantError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateSubscriptionGrantOutput, SdkError<CreateSubscriptionGrantError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSubscriptionGrantInputBuilder
impl Clone for CreateSubscriptionGrantInputBuilder
source§fn clone(&self) -> CreateSubscriptionGrantInputBuilder
fn clone(&self) -> CreateSubscriptionGrantInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateSubscriptionGrantInputBuilder
impl Default for CreateSubscriptionGrantInputBuilder
source§fn default() -> CreateSubscriptionGrantInputBuilder
fn default() -> CreateSubscriptionGrantInputBuilder
source§impl PartialEq for CreateSubscriptionGrantInputBuilder
impl PartialEq for CreateSubscriptionGrantInputBuilder
source§fn eq(&self, other: &CreateSubscriptionGrantInputBuilder) -> bool
fn eq(&self, other: &CreateSubscriptionGrantInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.