Struct aws_sdk_datazone::operation::create_subscription_grant::builders::CreateSubscriptionGrantOutputBuilder
source · #[non_exhaustive]pub struct CreateSubscriptionGrantOutputBuilder { /* private fields */ }
Expand description
A builder for CreateSubscriptionGrantOutput
.
Implementations§
source§impl CreateSubscriptionGrantOutputBuilder
impl CreateSubscriptionGrantOutputBuilder
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.
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.
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.
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.
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.
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.
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 created.
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 created.
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 created.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
A timestamp of when the subscription grant is created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
A timestamp of when the subscription grant is created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
A timestamp of when the subscription grant is created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
A timestamp of when the subscription grant was updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
A timestamp of when the subscription grant was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
A timestamp of when the subscription grant 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 for which the subscription grant is created.
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 for which the subscription grant is created.
sourcepub fn get_subscription_target_id(&self) -> &Option<String>
pub fn get_subscription_target_id(&self) -> &Option<String>
The ID of the subscription target for which the subscription grant is created.
sourcepub fn granted_entity(self, input: GrantedEntity) -> Self
pub fn granted_entity(self, input: GrantedEntity) -> Self
The entity to which the subscription is granted.
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 granted.
sourcepub fn get_granted_entity(&self) -> &Option<GrantedEntity>
pub fn get_granted_entity(&self) -> &Option<GrantedEntity>
The entity to which the subscription is granted.
sourcepub fn status(self, input: SubscriptionGrantOverallStatus) -> Self
pub fn status(self, input: SubscriptionGrantOverallStatus) -> Self
The status of the subscription grant.
sourcepub fn set_status(self, input: Option<SubscriptionGrantOverallStatus>) -> Self
pub fn set_status(self, input: Option<SubscriptionGrantOverallStatus>) -> Self
The status of the subscription grant.
sourcepub fn get_status(&self) -> &Option<SubscriptionGrantOverallStatus>
pub fn get_status(&self) -> &Option<SubscriptionGrantOverallStatus>
The status of the subscription grant.
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 subscription grant is created.
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 subscription grant is created.
sourcepub fn get_assets(&self) -> &Option<Vec<SubscribedAsset>>
pub fn get_assets(&self) -> &Option<Vec<SubscribedAsset>>
The assets for which the subscription grant is created.
sourcepub fn subscription_id(self, input: impl Into<String>) -> Self
pub fn subscription_id(self, input: impl Into<String>) -> Self
The identifier of the subscription grant.
sourcepub fn set_subscription_id(self, input: Option<String>) -> Self
pub fn set_subscription_id(self, input: Option<String>) -> Self
The identifier of the subscription grant.
sourcepub fn get_subscription_id(&self) -> &Option<String>
pub fn get_subscription_id(&self) -> &Option<String>
The identifier of the subscription grant.
sourcepub fn build(self) -> CreateSubscriptionGrantOutput
pub fn build(self) -> CreateSubscriptionGrantOutput
Consumes the builder and constructs a CreateSubscriptionGrantOutput
.
Trait Implementations§
source§impl Clone for CreateSubscriptionGrantOutputBuilder
impl Clone for CreateSubscriptionGrantOutputBuilder
source§fn clone(&self) -> CreateSubscriptionGrantOutputBuilder
fn clone(&self) -> CreateSubscriptionGrantOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateSubscriptionGrantOutputBuilder
impl Default for CreateSubscriptionGrantOutputBuilder
source§fn default() -> CreateSubscriptionGrantOutputBuilder
fn default() -> CreateSubscriptionGrantOutputBuilder
source§impl PartialEq for CreateSubscriptionGrantOutputBuilder
impl PartialEq for CreateSubscriptionGrantOutputBuilder
source§fn eq(&self, other: &CreateSubscriptionGrantOutputBuilder) -> bool
fn eq(&self, other: &CreateSubscriptionGrantOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.