Struct aws_sdk_dataexchange::operation::revoke_revision::builders::RevokeRevisionFluentBuilder
source · pub struct RevokeRevisionFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to RevokeRevision.
This operation revokes subscribers' access to a revision.
Implementations§
source§impl RevokeRevisionFluentBuilder
impl RevokeRevisionFluentBuilder
sourcepub fn as_input(&self) -> &RevokeRevisionInputBuilder
pub fn as_input(&self) -> &RevokeRevisionInputBuilder
Access the RevokeRevision as a reference.
sourcepub async fn send(
self
) -> Result<RevokeRevisionOutput, SdkError<RevokeRevisionError, HttpResponse>>
pub async fn send( self ) -> Result<RevokeRevisionOutput, SdkError<RevokeRevisionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<RevokeRevisionOutput, RevokeRevisionError, Self>
pub fn customize( self ) -> CustomizableOperation<RevokeRevisionOutput, RevokeRevisionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
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.
Trait Implementations§
source§impl Clone for RevokeRevisionFluentBuilder
impl Clone for RevokeRevisionFluentBuilder
source§fn clone(&self) -> RevokeRevisionFluentBuilder
fn clone(&self) -> RevokeRevisionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more