Struct aws_sdk_datazone::operation::delete_subscription_grant::builders::DeleteSubscriptionGrantOutputBuilder
source · #[non_exhaustive]pub struct DeleteSubscriptionGrantOutputBuilder { /* private fields */ }
Expand description
A builder for DeleteSubscriptionGrantOutput
.
Implementations§
source§impl DeleteSubscriptionGrantOutputBuilder
impl DeleteSubscriptionGrantOutputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the subscription grant that is deleted.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID of the subscription grant that is deleted.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The Amazon DataZone user who created the subscription grant that is deleted.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The Amazon DataZone user who created the subscription grant that is deleted.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The Amazon DataZone user who created the subscription grant that is deleted.
sourcepub fn updated_by(self, input: impl Into<String>) -> Self
pub fn updated_by(self, input: impl Into<String>) -> Self
The Amazon DataZone user who updated the subscription grant that is deleted.
sourcepub fn set_updated_by(self, input: Option<String>) -> Self
pub fn set_updated_by(self, input: Option<String>) -> Self
The Amazon DataZone user who updated the subscription grant that is deleted.
sourcepub fn get_updated_by(&self) -> &Option<String>
pub fn get_updated_by(&self) -> &Option<String>
The Amazon DataZone user who updated the subscription grant that is deleted.
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone domain in which the subscription grant is deleted.
sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The ID of the Amazon DataZone domain in which the subscription grant is deleted.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The ID of the Amazon DataZone domain in which the subscription grant is deleted.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when the subscription grant that is deleted was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp of when the subscription grant that is deleted was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when the subscription grant that is deleted was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The timestamp of when the subscription grant that is deleted was updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The timestamp of when the subscription grant that is deleted was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The timestamp of when the subscription grant that is deleted was updated.
sourcepub fn subscription_target_id(self, input: impl Into<String>) -> Self
pub fn subscription_target_id(self, input: impl Into<String>) -> Self
The ID of the subscription target associated with the subscription grant that is deleted.
sourcepub fn set_subscription_target_id(self, input: Option<String>) -> Self
pub fn set_subscription_target_id(self, input: Option<String>) -> Self
The ID of the subscription target associated with the subscription grant that is deleted.
sourcepub fn get_subscription_target_id(&self) -> &Option<String>
pub fn get_subscription_target_id(&self) -> &Option<String>
The ID of the subscription target associated with the subscription grant that is deleted.
sourcepub fn granted_entity(self, input: GrantedEntity) -> Self
pub fn granted_entity(self, input: GrantedEntity) -> Self
The entity to which the subscription is deleted.
sourcepub fn set_granted_entity(self, input: Option<GrantedEntity>) -> Self
pub fn set_granted_entity(self, input: Option<GrantedEntity>) -> Self
The entity to which the subscription is deleted.
sourcepub fn get_granted_entity(&self) -> &Option<GrantedEntity>
pub fn get_granted_entity(&self) -> &Option<GrantedEntity>
The entity to which the subscription is deleted.
sourcepub fn status(self, input: SubscriptionGrantOverallStatus) -> Self
pub fn status(self, input: SubscriptionGrantOverallStatus) -> Self
The status of the subscription grant that is deleted.
sourcepub fn set_status(self, input: Option<SubscriptionGrantOverallStatus>) -> Self
pub fn set_status(self, input: Option<SubscriptionGrantOverallStatus>) -> Self
The status of the subscription grant that is deleted.
sourcepub fn get_status(&self) -> &Option<SubscriptionGrantOverallStatus>
pub fn get_status(&self) -> &Option<SubscriptionGrantOverallStatus>
The status of the subscription grant that is deleted.
sourcepub fn assets(self, input: SubscribedAsset) -> Self
pub fn assets(self, input: SubscribedAsset) -> Self
Appends an item to assets
.
To override the contents of this collection use set_assets
.
The assets for which the subsctiption grant that is deleted gave access.
sourcepub fn set_assets(self, input: Option<Vec<SubscribedAsset>>) -> Self
pub fn set_assets(self, input: Option<Vec<SubscribedAsset>>) -> Self
The assets for which the subsctiption grant that is deleted gave access.
sourcepub fn get_assets(&self) -> &Option<Vec<SubscribedAsset>>
pub fn get_assets(&self) -> &Option<Vec<SubscribedAsset>>
The assets for which the subsctiption grant that is deleted gave access.
sourcepub fn subscription_id(self, input: impl Into<String>) -> Self
pub fn subscription_id(self, input: impl Into<String>) -> Self
The identifier of the subsctiption whose subscription grant is to be deleted.
sourcepub fn set_subscription_id(self, input: Option<String>) -> Self
pub fn set_subscription_id(self, input: Option<String>) -> Self
The identifier of the subsctiption whose subscription grant is to be deleted.
sourcepub fn get_subscription_id(&self) -> &Option<String>
pub fn get_subscription_id(&self) -> &Option<String>
The identifier of the subsctiption whose subscription grant is to be deleted.
sourcepub fn build(self) -> DeleteSubscriptionGrantOutput
pub fn build(self) -> DeleteSubscriptionGrantOutput
Consumes the builder and constructs a DeleteSubscriptionGrantOutput
.
Trait Implementations§
source§impl Clone for DeleteSubscriptionGrantOutputBuilder
impl Clone for DeleteSubscriptionGrantOutputBuilder
source§fn clone(&self) -> DeleteSubscriptionGrantOutputBuilder
fn clone(&self) -> DeleteSubscriptionGrantOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeleteSubscriptionGrantOutputBuilder
impl Default for DeleteSubscriptionGrantOutputBuilder
source§fn default() -> DeleteSubscriptionGrantOutputBuilder
fn default() -> DeleteSubscriptionGrantOutputBuilder
source§impl PartialEq for DeleteSubscriptionGrantOutputBuilder
impl PartialEq for DeleteSubscriptionGrantOutputBuilder
source§fn eq(&self, other: &DeleteSubscriptionGrantOutputBuilder) -> bool
fn eq(&self, other: &DeleteSubscriptionGrantOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.