Struct aws_sdk_dataexchange::model::revision_entry::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for RevisionEntry
Implementations
sourceimpl Builder
impl Builder
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 created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time that the revision was created, in ISO 8601 format.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time that the revision was created, in ISO 8601 format.
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 the data set associated with this revision.
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 the data set associated with this revision.
sourcepub fn finalized(self, input: bool) -> Self
pub fn finalized(self, input: bool) -> Self
To publish a revision to a data set in a product, the revision must first be finalized. 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.
Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
sourcepub fn set_finalized(self, input: Option<bool>) -> Self
pub fn set_finalized(self, input: Option<bool>) -> Self
To publish a revision to a data set in a product, the revision must first be finalized. 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.
Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
sourcepub fn source_id(self, input: impl Into<String>) -> Self
pub fn source_id(self, input: impl Into<String>) -> Self
The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
sourcepub fn set_source_id(self, input: Option<String>) -> Self
pub fn set_source_id(self, input: Option<String>) -> Self
The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The date and time that the revision was last updated, in ISO 8601 format.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The date and time that the revision was last updated, in ISO 8601 format.
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 revoked(self, input: bool) -> Self
pub fn revoked(self, input: bool) -> Self
A status indicating that subscribers' access to the revision was revoked.
sourcepub fn set_revoked(self, input: Option<bool>) -> Self
pub fn set_revoked(self, input: Option<bool>) -> Self
A status indicating that subscribers' access to the revision was revoked.
sourcepub fn revoked_at(self, input: DateTime) -> Self
pub fn revoked_at(self, input: DateTime) -> Self
The date and time that the revision was revoked, in ISO 8601 format.
sourcepub fn set_revoked_at(self, input: Option<DateTime>) -> Self
pub fn set_revoked_at(self, input: Option<DateTime>) -> Self
The date and time that the revision was revoked, in ISO 8601 format.
sourcepub fn build(self) -> RevisionEntry
pub fn build(self) -> RevisionEntry
Consumes the builder and constructs a RevisionEntry
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more