Struct aws_sdk_dataexchange::operation::update_revision::builders::UpdateRevisionInputBuilder
source · #[non_exhaustive]pub struct UpdateRevisionInputBuilder { /* private fields */ }Expand description
A builder for UpdateRevisionInput.
Implementations§
source§impl UpdateRevisionInputBuilder
impl UpdateRevisionInputBuilder
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.
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 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.
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 build(self) -> Result<UpdateRevisionInput, BuildError>
pub fn build(self) -> Result<UpdateRevisionInput, BuildError>
Consumes the builder and constructs a UpdateRevisionInput.
source§impl UpdateRevisionInputBuilder
impl UpdateRevisionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateRevisionOutput, SdkError<UpdateRevisionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateRevisionOutput, SdkError<UpdateRevisionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRevisionInputBuilder
impl Clone for UpdateRevisionInputBuilder
source§fn clone(&self) -> UpdateRevisionInputBuilder
fn clone(&self) -> UpdateRevisionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateRevisionInputBuilder
impl Debug for UpdateRevisionInputBuilder
source§impl Default for UpdateRevisionInputBuilder
impl Default for UpdateRevisionInputBuilder
source§fn default() -> UpdateRevisionInputBuilder
fn default() -> UpdateRevisionInputBuilder
source§impl PartialEq for UpdateRevisionInputBuilder
impl PartialEq for UpdateRevisionInputBuilder
source§fn eq(&self, other: &UpdateRevisionInputBuilder) -> bool
fn eq(&self, other: &UpdateRevisionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.