#[non_exhaustive]pub struct GetRevisionOutputBuilder { /* private fields */ }Expand description
A builder for GetRevisionOutput.
Implementations§
source§impl GetRevisionOutputBuilder
impl GetRevisionOutputBuilder
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 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 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 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 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.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags for the revision.
The tags for the revision.
The tags for the 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) -> GetRevisionOutput
pub fn build(self) -> GetRevisionOutput
Consumes the builder and constructs a GetRevisionOutput.
Trait Implementations§
source§impl Clone for GetRevisionOutputBuilder
impl Clone for GetRevisionOutputBuilder
source§fn clone(&self) -> GetRevisionOutputBuilder
fn clone(&self) -> GetRevisionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetRevisionOutputBuilder
impl Debug for GetRevisionOutputBuilder
source§impl Default for GetRevisionOutputBuilder
impl Default for GetRevisionOutputBuilder
source§fn default() -> GetRevisionOutputBuilder
fn default() -> GetRevisionOutputBuilder
source§impl PartialEq for GetRevisionOutputBuilder
impl PartialEq for GetRevisionOutputBuilder
source§fn eq(&self, other: &GetRevisionOutputBuilder) -> bool
fn eq(&self, other: &GetRevisionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.