Struct aws_sdk_datazone::operation::update_subscription_grant_status::builders::UpdateSubscriptionGrantStatusInputBuilder
source · #[non_exhaustive]pub struct UpdateSubscriptionGrantStatusInputBuilder { /* private fields */ }
Expand description
A builder for UpdateSubscriptionGrantStatusInput
.
Implementations§
source§impl UpdateSubscriptionGrantStatusInputBuilder
impl UpdateSubscriptionGrantStatusInputBuilder
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The identifier of the subscription grant the status of which is to be updated.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The identifier of the subscription grant the status of which is to be updated.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The identifier of the subscription grant the status of which is to be updated.
sourcepub fn asset_identifier(self, input: impl Into<String>) -> Self
pub fn asset_identifier(self, input: impl Into<String>) -> Self
The identifier of the asset the subscription grant status of which is to be updated.
sourcepub fn set_asset_identifier(self, input: Option<String>) -> Self
pub fn set_asset_identifier(self, input: Option<String>) -> Self
The identifier of the asset the subscription grant status of which is to be updated.
sourcepub fn get_asset_identifier(&self) -> &Option<String>
pub fn get_asset_identifier(&self) -> &Option<String>
The identifier of the asset the subscription grant status of which is to be updated.
sourcepub fn status(self, input: SubscriptionGrantStatus) -> Self
pub fn status(self, input: SubscriptionGrantStatus) -> Self
The status to be updated as part of the UpdateSubscriptionGrantStatus
action.
sourcepub fn set_status(self, input: Option<SubscriptionGrantStatus>) -> Self
pub fn set_status(self, input: Option<SubscriptionGrantStatus>) -> Self
The status to be updated as part of the UpdateSubscriptionGrantStatus
action.
sourcepub fn get_status(&self) -> &Option<SubscriptionGrantStatus>
pub fn get_status(&self) -> &Option<SubscriptionGrantStatus>
The status to be updated as part of the UpdateSubscriptionGrantStatus
action.
sourcepub fn failure_cause(self, input: FailureCause) -> Self
pub fn failure_cause(self, input: FailureCause) -> Self
Specifies the error message that is returned if the operation cannot be successfully completed.
sourcepub fn set_failure_cause(self, input: Option<FailureCause>) -> Self
pub fn set_failure_cause(self, input: Option<FailureCause>) -> Self
Specifies the error message that is returned if the operation cannot be successfully completed.
sourcepub fn get_failure_cause(&self) -> &Option<FailureCause>
pub fn get_failure_cause(&self) -> &Option<FailureCause>
Specifies the error message that is returned if the operation cannot be successfully completed.
sourcepub fn target_name(self, input: impl Into<String>) -> Self
pub fn target_name(self, input: impl Into<String>) -> Self
The target name to be updated as part of the UpdateSubscriptionGrantStatus
action.
sourcepub fn set_target_name(self, input: Option<String>) -> Self
pub fn set_target_name(self, input: Option<String>) -> Self
The target name to be updated as part of the UpdateSubscriptionGrantStatus
action.
sourcepub fn get_target_name(&self) -> &Option<String>
pub fn get_target_name(&self) -> &Option<String>
The target name to be updated as part of the UpdateSubscriptionGrantStatus
action.
sourcepub fn build(self) -> Result<UpdateSubscriptionGrantStatusInput, BuildError>
pub fn build(self) -> Result<UpdateSubscriptionGrantStatusInput, BuildError>
Consumes the builder and constructs a UpdateSubscriptionGrantStatusInput
.
source§impl UpdateSubscriptionGrantStatusInputBuilder
impl UpdateSubscriptionGrantStatusInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateSubscriptionGrantStatusOutput, SdkError<UpdateSubscriptionGrantStatusError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateSubscriptionGrantStatusOutput, SdkError<UpdateSubscriptionGrantStatusError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateSubscriptionGrantStatusInputBuilder
impl Clone for UpdateSubscriptionGrantStatusInputBuilder
source§fn clone(&self) -> UpdateSubscriptionGrantStatusInputBuilder
fn clone(&self) -> UpdateSubscriptionGrantStatusInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateSubscriptionGrantStatusInputBuilder
impl Default for UpdateSubscriptionGrantStatusInputBuilder
source§fn default() -> UpdateSubscriptionGrantStatusInputBuilder
fn default() -> UpdateSubscriptionGrantStatusInputBuilder
source§impl PartialEq for UpdateSubscriptionGrantStatusInputBuilder
impl PartialEq for UpdateSubscriptionGrantStatusInputBuilder
source§fn eq(&self, other: &UpdateSubscriptionGrantStatusInputBuilder) -> bool
fn eq(&self, other: &UpdateSubscriptionGrantStatusInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.