Struct aws_sdk_datazone::types::builders::SubscribedAssetBuilder
source · #[non_exhaustive]pub struct SubscribedAssetBuilder { /* private fields */ }
Expand description
A builder for SubscribedAsset
.
Implementations§
source§impl SubscribedAssetBuilder
impl SubscribedAssetBuilder
sourcepub fn asset_id(self, input: impl Into<String>) -> Self
pub fn asset_id(self, input: impl Into<String>) -> Self
The identifier of the asset for which the subscription grant is created.
sourcepub fn set_asset_id(self, input: Option<String>) -> Self
pub fn set_asset_id(self, input: Option<String>) -> Self
The identifier of the asset for which the subscription grant is created.
sourcepub fn get_asset_id(&self) -> &Option<String>
pub fn get_asset_id(&self) -> &Option<String>
The identifier of the asset for which the subscription grant is created.
sourcepub fn asset_revision(self, input: impl Into<String>) -> Self
pub fn asset_revision(self, input: impl Into<String>) -> Self
The revision of the asset for which the subscription grant is created.
sourcepub fn set_asset_revision(self, input: Option<String>) -> Self
pub fn set_asset_revision(self, input: Option<String>) -> Self
The revision of the asset for which the subscription grant is created.
sourcepub fn get_asset_revision(&self) -> &Option<String>
pub fn get_asset_revision(&self) -> &Option<String>
The revision of the asset for which the subscription grant is created.
sourcepub fn status(self, input: SubscriptionGrantStatus) -> Self
pub fn status(self, input: SubscriptionGrantStatus) -> Self
The status of the asset for which the subscription grant is created.
sourcepub fn set_status(self, input: Option<SubscriptionGrantStatus>) -> Self
pub fn set_status(self, input: Option<SubscriptionGrantStatus>) -> Self
The status of the asset for which the subscription grant is created.
sourcepub fn get_status(&self) -> &Option<SubscriptionGrantStatus>
pub fn get_status(&self) -> &Option<SubscriptionGrantStatus>
The status of the asset for which the subscription grant is created.
sourcepub fn target_name(self, input: impl Into<String>) -> Self
pub fn target_name(self, input: impl Into<String>) -> Self
The target name of the asset for which the subscription grant is created.
sourcepub fn set_target_name(self, input: Option<String>) -> Self
pub fn set_target_name(self, input: Option<String>) -> Self
The target name of the asset for which the subscription grant is created.
sourcepub fn get_target_name(&self) -> &Option<String>
pub fn get_target_name(&self) -> &Option<String>
The target name of the asset for which the subscription grant is created.
sourcepub fn failure_cause(self, input: FailureCause) -> Self
pub fn failure_cause(self, input: FailureCause) -> Self
The failure cause included in the details of the asset for which the subscription grant is created.
sourcepub fn set_failure_cause(self, input: Option<FailureCause>) -> Self
pub fn set_failure_cause(self, input: Option<FailureCause>) -> Self
The failure cause included in the details of the asset for which the subscription grant is created.
sourcepub fn get_failure_cause(&self) -> &Option<FailureCause>
pub fn get_failure_cause(&self) -> &Option<FailureCause>
The failure cause included in the details of the asset for which the subscription grant is created.
sourcepub fn granted_timestamp(self, input: DateTime) -> Self
pub fn granted_timestamp(self, input: DateTime) -> Self
The timestamp of when the subscription grant to the asset is created.
sourcepub fn set_granted_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_granted_timestamp(self, input: Option<DateTime>) -> Self
The timestamp of when the subscription grant to the asset is created.
sourcepub fn get_granted_timestamp(&self) -> &Option<DateTime>
pub fn get_granted_timestamp(&self) -> &Option<DateTime>
The timestamp of when the subscription grant to the asset is created.
sourcepub fn failure_timestamp(self, input: DateTime) -> Self
pub fn failure_timestamp(self, input: DateTime) -> Self
The failure timestamp included in the details of the asset for which the subscription grant is created.
sourcepub fn set_failure_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_failure_timestamp(self, input: Option<DateTime>) -> Self
The failure timestamp included in the details of the asset for which the subscription grant is created.
sourcepub fn get_failure_timestamp(&self) -> &Option<DateTime>
pub fn get_failure_timestamp(&self) -> &Option<DateTime>
The failure timestamp included in the details of the asset for which the subscription grant is created.
sourcepub fn build(self) -> SubscribedAsset
pub fn build(self) -> SubscribedAsset
Consumes the builder and constructs a SubscribedAsset
.
Trait Implementations§
source§impl Clone for SubscribedAssetBuilder
impl Clone for SubscribedAssetBuilder
source§fn clone(&self) -> SubscribedAssetBuilder
fn clone(&self) -> SubscribedAssetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SubscribedAssetBuilder
impl Debug for SubscribedAssetBuilder
source§impl Default for SubscribedAssetBuilder
impl Default for SubscribedAssetBuilder
source§fn default() -> SubscribedAssetBuilder
fn default() -> SubscribedAssetBuilder
source§impl PartialEq for SubscribedAssetBuilder
impl PartialEq for SubscribedAssetBuilder
source§fn eq(&self, other: &SubscribedAssetBuilder) -> bool
fn eq(&self, other: &SubscribedAssetBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.