Struct aws_sdk_dataexchange::operation::revoke_revision::builders::RevokeRevisionInputBuilder
source · #[non_exhaustive]pub struct RevokeRevisionInputBuilder { /* private fields */ }Expand description
A builder for RevokeRevisionInput.
Implementations§
source§impl RevokeRevisionInputBuilder
impl RevokeRevisionInputBuilder
sourcepub fn data_set_id(self, input: impl Into<String>) -> Self
pub fn data_set_id(self, input: impl Into<String>) -> Self
The unique identifier for a data set.
This field is required.sourcepub fn set_data_set_id(self, input: Option<String>) -> Self
pub fn set_data_set_id(self, input: Option<String>) -> Self
The unique identifier for a data set.
sourcepub fn get_data_set_id(&self) -> &Option<String>
pub fn get_data_set_id(&self) -> &Option<String>
The unique identifier for a data set.
sourcepub fn revision_id(self, input: impl Into<String>) -> Self
pub fn revision_id(self, input: impl Into<String>) -> Self
The unique identifier for a revision.
This field is required.sourcepub fn set_revision_id(self, input: Option<String>) -> Self
pub fn set_revision_id(self, input: Option<String>) -> Self
The unique identifier for a revision.
sourcepub fn get_revision_id(&self) -> &Option<String>
pub fn get_revision_id(&self) -> &Option<String>
The unique identifier for a revision.
sourcepub fn revocation_comment(self, input: impl Into<String>) -> Self
pub fn revocation_comment(self, input: impl Into<String>) -> Self
A required comment to inform subscribers of the reason their access to the revision was revoked.
This field is required.sourcepub fn set_revocation_comment(self, input: Option<String>) -> Self
pub fn set_revocation_comment(self, input: Option<String>) -> Self
A required comment to inform subscribers of the reason their access to the revision was revoked.
sourcepub fn get_revocation_comment(&self) -> &Option<String>
pub fn get_revocation_comment(&self) -> &Option<String>
A required comment to inform subscribers of the reason their access to the revision was revoked.
sourcepub fn build(self) -> Result<RevokeRevisionInput, BuildError>
pub fn build(self) -> Result<RevokeRevisionInput, BuildError>
Consumes the builder and constructs a RevokeRevisionInput.
source§impl RevokeRevisionInputBuilder
impl RevokeRevisionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RevokeRevisionOutput, SdkError<RevokeRevisionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RevokeRevisionOutput, SdkError<RevokeRevisionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RevokeRevisionInputBuilder
impl Clone for RevokeRevisionInputBuilder
source§fn clone(&self) -> RevokeRevisionInputBuilder
fn clone(&self) -> RevokeRevisionInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RevokeRevisionInputBuilder
impl Debug for RevokeRevisionInputBuilder
source§impl Default for RevokeRevisionInputBuilder
impl Default for RevokeRevisionInputBuilder
source§fn default() -> RevokeRevisionInputBuilder
fn default() -> RevokeRevisionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RevokeRevisionInputBuilder
impl PartialEq for RevokeRevisionInputBuilder
source§fn eq(&self, other: &RevokeRevisionInputBuilder) -> bool
fn eq(&self, other: &RevokeRevisionInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RevokeRevisionInputBuilder
Auto Trait Implementations§
impl Freeze for RevokeRevisionInputBuilder
impl RefUnwindSafe for RevokeRevisionInputBuilder
impl Send for RevokeRevisionInputBuilder
impl Sync for RevokeRevisionInputBuilder
impl Unpin for RevokeRevisionInputBuilder
impl UnwindSafe for RevokeRevisionInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.