Struct aws_sdk_dataexchange::operation::update_revision::builders::UpdateRevisionFluentBuilder
source · pub struct UpdateRevisionFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateRevision.
This operation updates a revision.
Implementations§
source§impl UpdateRevisionFluentBuilder
impl UpdateRevisionFluentBuilder
sourcepub fn as_input(&self) -> &UpdateRevisionInputBuilder
pub fn as_input(&self) -> &UpdateRevisionInputBuilder
Access the UpdateRevision as a reference.
sourcepub async fn send(
self
) -> Result<UpdateRevisionOutput, SdkError<UpdateRevisionError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateRevisionOutput, SdkError<UpdateRevisionError, 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<UpdateRevisionOutput, UpdateRevisionError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateRevisionOutput, UpdateRevisionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
An optional comment about the revision.
sourcepub fn get_comment(&self) -> &Option<String>
pub fn get_comment(&self) -> &Option<String>
An optional comment about the revision.
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 finalized(self, input: bool) -> Self
pub fn finalized(self, input: bool) -> Self
Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products.
sourcepub fn set_finalized(self, input: Option<bool>) -> Self
pub fn set_finalized(self, input: Option<bool>) -> Self
Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products.
sourcepub fn get_finalized(&self) -> &Option<bool>
pub fn get_finalized(&self) -> &Option<bool>
Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products.
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.
Trait Implementations§
source§impl Clone for UpdateRevisionFluentBuilder
impl Clone for UpdateRevisionFluentBuilder
source§fn clone(&self) -> UpdateRevisionFluentBuilder
fn clone(&self) -> UpdateRevisionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more