Struct aws_sdk_datazone::operation::revoke_subscription::builders::RevokeSubscriptionInputBuilder
source · #[non_exhaustive]pub struct RevokeSubscriptionInputBuilder { /* private fields */ }
Expand description
A builder for RevokeSubscriptionInput
.
Implementations§
source§impl RevokeSubscriptionInputBuilder
impl RevokeSubscriptionInputBuilder
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 where you want to revoke a subscription.
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 where you want to revoke a subscription.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The identifier of the Amazon DataZone domain where you want to revoke a subscription.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The identifier of the revoked subscription.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The identifier of the revoked subscription.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The identifier of the revoked subscription.
sourcepub fn retain_permissions(self, input: bool) -> Self
pub fn retain_permissions(self, input: bool) -> Self
Specifies whether permissions are retained when the subscription is revoked.
sourcepub fn set_retain_permissions(self, input: Option<bool>) -> Self
pub fn set_retain_permissions(self, input: Option<bool>) -> Self
Specifies whether permissions are retained when the subscription is revoked.
sourcepub fn get_retain_permissions(&self) -> &Option<bool>
pub fn get_retain_permissions(&self) -> &Option<bool>
Specifies whether permissions are retained when the subscription is revoked.
sourcepub fn build(self) -> Result<RevokeSubscriptionInput, BuildError>
pub fn build(self) -> Result<RevokeSubscriptionInput, BuildError>
Consumes the builder and constructs a RevokeSubscriptionInput
.
source§impl RevokeSubscriptionInputBuilder
impl RevokeSubscriptionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RevokeSubscriptionOutput, SdkError<RevokeSubscriptionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RevokeSubscriptionOutput, SdkError<RevokeSubscriptionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RevokeSubscriptionInputBuilder
impl Clone for RevokeSubscriptionInputBuilder
source§fn clone(&self) -> RevokeSubscriptionInputBuilder
fn clone(&self) -> RevokeSubscriptionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RevokeSubscriptionInputBuilder
impl Default for RevokeSubscriptionInputBuilder
source§fn default() -> RevokeSubscriptionInputBuilder
fn default() -> RevokeSubscriptionInputBuilder
source§impl PartialEq for RevokeSubscriptionInputBuilder
impl PartialEq for RevokeSubscriptionInputBuilder
source§fn eq(&self, other: &RevokeSubscriptionInputBuilder) -> bool
fn eq(&self, other: &RevokeSubscriptionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.