#[non_exhaustive]pub struct SubscriptionGrantSummaryBuilder { /* private fields */ }
Expand description
A builder for SubscriptionGrantSummary
.
Implementations§
source§impl SubscriptionGrantSummaryBuilder
impl SubscriptionGrantSummaryBuilder
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The 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 datazone user who created the subscription grant.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The 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 identifier of the Amazon DataZone domain in which a subscription grant exists.
sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The identifier of the Amazon DataZone domain in which a subscription grant exists.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The identifier of the Amazon DataZone domain in which a subscription grant exists.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when a subscription grant 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 a subscription grant was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when a subscription grant was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The timestampf 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
The timestampf of when the subscription grant was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The timestampf 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 identifier of the target of the subscription grant.
sourcepub fn set_subscription_target_id(self, input: Option<String>) -> Self
pub fn set_subscription_target_id(self, input: Option<String>) -> Self
The identifier of the target of the subscription grant.
sourcepub fn get_subscription_target_id(&self) -> &Option<String>
pub fn get_subscription_target_id(&self) -> &Option<String>
The identifier of the target of the subscription grant.
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 included in the subscription grant.
sourcepub fn set_assets(self, input: Option<Vec<SubscribedAsset>>) -> Self
pub fn set_assets(self, input: Option<Vec<SubscribedAsset>>) -> Self
The assets included in the subscription grant.
sourcepub fn get_assets(&self) -> &Option<Vec<SubscribedAsset>>
pub fn get_assets(&self) -> &Option<Vec<SubscribedAsset>>
The assets included in the subscription grant.
sourcepub fn subscription_id(self, input: impl Into<String>) -> Self
pub fn subscription_id(self, input: impl Into<String>) -> Self
The ID 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 ID of the subscription grant.
sourcepub fn get_subscription_id(&self) -> &Option<String>
pub fn get_subscription_id(&self) -> &Option<String>
The ID of the subscription grant.
sourcepub fn build(self) -> SubscriptionGrantSummary
pub fn build(self) -> SubscriptionGrantSummary
Consumes the builder and constructs a SubscriptionGrantSummary
.
Trait Implementations§
source§impl Clone for SubscriptionGrantSummaryBuilder
impl Clone for SubscriptionGrantSummaryBuilder
source§fn clone(&self) -> SubscriptionGrantSummaryBuilder
fn clone(&self) -> SubscriptionGrantSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SubscriptionGrantSummaryBuilder
impl Default for SubscriptionGrantSummaryBuilder
source§fn default() -> SubscriptionGrantSummaryBuilder
fn default() -> SubscriptionGrantSummaryBuilder
source§impl PartialEq for SubscriptionGrantSummaryBuilder
impl PartialEq for SubscriptionGrantSummaryBuilder
source§fn eq(&self, other: &SubscriptionGrantSummaryBuilder) -> bool
fn eq(&self, other: &SubscriptionGrantSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.