Struct aws_sdk_dataexchange::operation::update_revision::builders::UpdateRevisionOutputBuilder
source · #[non_exhaustive]pub struct UpdateRevisionOutputBuilder { /* private fields */ }Expand description
A builder for UpdateRevisionOutput.
Implementations§
source§impl UpdateRevisionOutputBuilder
impl UpdateRevisionOutputBuilder
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 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 get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
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 the data set 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 the data set revision.
sourcepub fn get_data_set_id(&self) -> &Option<String>
pub fn get_data_set_id(&self) -> &Option<String>
The unique identifier for the data set associated with the data set 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 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 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 get_finalized(&self) -> &Option<bool>
pub fn get_finalized(&self) -> &Option<bool>
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 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 get_source_id(&self) -> &Option<String>
pub fn get_source_id(&self) -> &Option<String>
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 get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
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 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.
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 get_revoked(&self) -> &Option<bool>
pub fn get_revoked(&self) -> &Option<bool>
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 get_revoked_at(&self) -> &Option<DateTime>
pub fn get_revoked_at(&self) -> &Option<DateTime>
The date and time that the revision was revoked, in ISO 8601 format.
sourcepub fn build(self) -> UpdateRevisionOutput
pub fn build(self) -> UpdateRevisionOutput
Consumes the builder and constructs a UpdateRevisionOutput.
Trait Implementations§
source§impl Clone for UpdateRevisionOutputBuilder
impl Clone for UpdateRevisionOutputBuilder
source§fn clone(&self) -> UpdateRevisionOutputBuilder
fn clone(&self) -> UpdateRevisionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateRevisionOutputBuilder
impl Debug for UpdateRevisionOutputBuilder
source§impl Default for UpdateRevisionOutputBuilder
impl Default for UpdateRevisionOutputBuilder
source§fn default() -> UpdateRevisionOutputBuilder
fn default() -> UpdateRevisionOutputBuilder
source§impl PartialEq for UpdateRevisionOutputBuilder
impl PartialEq for UpdateRevisionOutputBuilder
source§fn eq(&self, other: &UpdateRevisionOutputBuilder) -> bool
fn eq(&self, other: &UpdateRevisionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.