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.
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 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.
This field is required.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.
This field is required.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.
This field is required.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 ==.impl StructuralPartialEq for CreateSubscriptionGrantInputBuilder
Auto Trait Implementations§
impl Freeze for CreateSubscriptionGrantInputBuilder
impl RefUnwindSafe for CreateSubscriptionGrantInputBuilder
impl Send for CreateSubscriptionGrantInputBuilder
impl Sync for CreateSubscriptionGrantInputBuilder
impl Unpin for CreateSubscriptionGrantInputBuilder
impl UnwindSafe for CreateSubscriptionGrantInputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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