Struct aws_sdk_dataexchange::operation::create_revision::builders::CreateRevisionInputBuilder
source · #[non_exhaustive]pub struct CreateRevisionInputBuilder { /* private fields */ }Expand description
A builder for CreateRevisionInput.
Implementations§
source§impl CreateRevisionInputBuilder
impl CreateRevisionInputBuilder
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.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
A revision tag is an optional label that you can assign to a revision when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.
A revision tag is an optional label that you can assign to a revision when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.
A revision tag is an optional label that you can assign to a revision when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.
sourcepub fn build(self) -> Result<CreateRevisionInput, BuildError>
pub fn build(self) -> Result<CreateRevisionInput, BuildError>
Consumes the builder and constructs a CreateRevisionInput.
source§impl CreateRevisionInputBuilder
impl CreateRevisionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateRevisionOutput, SdkError<CreateRevisionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateRevisionOutput, SdkError<CreateRevisionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateRevisionInputBuilder
impl Clone for CreateRevisionInputBuilder
source§fn clone(&self) -> CreateRevisionInputBuilder
fn clone(&self) -> CreateRevisionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateRevisionInputBuilder
impl Debug for CreateRevisionInputBuilder
source§impl Default for CreateRevisionInputBuilder
impl Default for CreateRevisionInputBuilder
source§fn default() -> CreateRevisionInputBuilder
fn default() -> CreateRevisionInputBuilder
source§impl PartialEq for CreateRevisionInputBuilder
impl PartialEq for CreateRevisionInputBuilder
source§fn eq(&self, other: &CreateRevisionInputBuilder) -> bool
fn eq(&self, other: &CreateRevisionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.