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.
This field is required.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.
This field is required.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 ==.impl StructuralPartialEq for RevokeSubscriptionInputBuilder
Auto Trait Implementations§
impl Freeze for RevokeSubscriptionInputBuilder
impl RefUnwindSafe for RevokeSubscriptionInputBuilder
impl Send for RevokeSubscriptionInputBuilder
impl Sync for RevokeSubscriptionInputBuilder
impl Unpin for RevokeSubscriptionInputBuilder
impl UnwindSafe for RevokeSubscriptionInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more