Struct aws_sdk_ssm::types::builders::DocumentVersionInfoBuilder
source · #[non_exhaustive]pub struct DocumentVersionInfoBuilder { /* private fields */ }
Expand description
A builder for DocumentVersionInfo
.
Implementations§
source§impl DocumentVersionInfoBuilder
impl DocumentVersionInfoBuilder
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The friendly name of the SSM document. This value can differ for each version of the document. If you want to update this value, see UpdateDocument
.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The friendly name of the SSM document. This value can differ for each version of the document. If you want to update this value, see UpdateDocument
.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
The friendly name of the SSM document. This value can differ for each version of the document. If you want to update this value, see UpdateDocument
.
sourcepub fn document_version(self, input: impl Into<String>) -> Self
pub fn document_version(self, input: impl Into<String>) -> Self
The document version.
sourcepub fn set_document_version(self, input: Option<String>) -> Self
pub fn set_document_version(self, input: Option<String>) -> Self
The document version.
sourcepub fn get_document_version(&self) -> &Option<String>
pub fn get_document_version(&self) -> &Option<String>
The document version.
sourcepub fn version_name(self, input: impl Into<String>) -> Self
pub fn version_name(self, input: impl Into<String>) -> Self
The version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.
sourcepub fn set_version_name(self, input: Option<String>) -> Self
pub fn set_version_name(self, input: Option<String>) -> Self
The version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.
sourcepub fn get_version_name(&self) -> &Option<String>
pub fn get_version_name(&self) -> &Option<String>
The version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date the document was created.
sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The date the document was created.
sourcepub fn get_created_date(&self) -> &Option<DateTime>
pub fn get_created_date(&self) -> &Option<DateTime>
The date the document was created.
sourcepub fn is_default_version(self, input: bool) -> Self
pub fn is_default_version(self, input: bool) -> Self
An identifier for the default version of the document.
sourcepub fn set_is_default_version(self, input: Option<bool>) -> Self
pub fn set_is_default_version(self, input: Option<bool>) -> Self
An identifier for the default version of the document.
sourcepub fn get_is_default_version(&self) -> &Option<bool>
pub fn get_is_default_version(&self) -> &Option<bool>
An identifier for the default version of the document.
sourcepub fn document_format(self, input: DocumentFormat) -> Self
pub fn document_format(self, input: DocumentFormat) -> Self
The document format, either JSON or YAML.
sourcepub fn set_document_format(self, input: Option<DocumentFormat>) -> Self
pub fn set_document_format(self, input: Option<DocumentFormat>) -> Self
The document format, either JSON or YAML.
sourcepub fn get_document_format(&self) -> &Option<DocumentFormat>
pub fn get_document_format(&self) -> &Option<DocumentFormat>
The document format, either JSON or YAML.
sourcepub fn status(self, input: DocumentStatus) -> Self
pub fn status(self, input: DocumentStatus) -> Self
The status of the SSM document, such as Creating
, Active
, Failed
, and Deleting
.
sourcepub fn set_status(self, input: Option<DocumentStatus>) -> Self
pub fn set_status(self, input: Option<DocumentStatus>) -> Self
The status of the SSM document, such as Creating
, Active
, Failed
, and Deleting
.
sourcepub fn get_status(&self) -> &Option<DocumentStatus>
pub fn get_status(&self) -> &Option<DocumentStatus>
The status of the SSM document, such as Creating
, Active
, Failed
, and Deleting
.
sourcepub fn status_information(self, input: impl Into<String>) -> Self
pub fn status_information(self, input: impl Into<String>) -> Self
A message returned by Amazon Web Services Systems Manager that explains the Status
value. For example, a Failed
status might be explained by the StatusInformation
message, "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."
sourcepub fn set_status_information(self, input: Option<String>) -> Self
pub fn set_status_information(self, input: Option<String>) -> Self
A message returned by Amazon Web Services Systems Manager that explains the Status
value. For example, a Failed
status might be explained by the StatusInformation
message, "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."
sourcepub fn get_status_information(&self) -> &Option<String>
pub fn get_status_information(&self) -> &Option<String>
A message returned by Amazon Web Services Systems Manager that explains the Status
value. For example, a Failed
status might be explained by the StatusInformation
message, "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."
sourcepub fn review_status(self, input: ReviewStatus) -> Self
pub fn review_status(self, input: ReviewStatus) -> Self
The current status of the approval review for the latest version of the document.
sourcepub fn set_review_status(self, input: Option<ReviewStatus>) -> Self
pub fn set_review_status(self, input: Option<ReviewStatus>) -> Self
The current status of the approval review for the latest version of the document.
sourcepub fn get_review_status(&self) -> &Option<ReviewStatus>
pub fn get_review_status(&self) -> &Option<ReviewStatus>
The current status of the approval review for the latest version of the document.
sourcepub fn build(self) -> DocumentVersionInfo
pub fn build(self) -> DocumentVersionInfo
Consumes the builder and constructs a DocumentVersionInfo
.
Trait Implementations§
source§impl Clone for DocumentVersionInfoBuilder
impl Clone for DocumentVersionInfoBuilder
source§fn clone(&self) -> DocumentVersionInfoBuilder
fn clone(&self) -> DocumentVersionInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DocumentVersionInfoBuilder
impl Debug for DocumentVersionInfoBuilder
source§impl Default for DocumentVersionInfoBuilder
impl Default for DocumentVersionInfoBuilder
source§fn default() -> DocumentVersionInfoBuilder
fn default() -> DocumentVersionInfoBuilder
source§impl PartialEq for DocumentVersionInfoBuilder
impl PartialEq for DocumentVersionInfoBuilder
source§fn eq(&self, other: &DocumentVersionInfoBuilder) -> bool
fn eq(&self, other: &DocumentVersionInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.