Struct aws_sdk_ssm::types::builders::DocumentIdentifierBuilder
source · #[non_exhaustive]pub struct DocumentIdentifierBuilder { /* private fields */ }
Expand description
A builder for DocumentIdentifier
.
Implementations§
source§impl DocumentIdentifierBuilder
impl DocumentIdentifierBuilder
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date the SSM 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 SSM document was created.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
An optional field where you can specify a friendly name for 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
An optional field where you can specify a friendly name for the SSM document. This value can differ for each version of the document. If you want to update this value, see UpdateDocument
.
sourcepub fn owner(self, input: impl Into<String>) -> Self
pub fn owner(self, input: impl Into<String>) -> Self
The Amazon Web Services user that created the document.
sourcepub fn set_owner(self, input: Option<String>) -> Self
pub fn set_owner(self, input: Option<String>) -> Self
The Amazon Web Services user that created the document.
sourcepub fn version_name(self, input: impl Into<String>) -> Self
pub fn version_name(self, input: impl Into<String>) -> Self
An optional field specifying the version of the artifact associated with the document. For example, "Release 12, Update 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
An optional field specifying the version of the artifact associated with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and can't be changed.
sourcepub fn platform_types(self, input: PlatformType) -> Self
pub fn platform_types(self, input: PlatformType) -> Self
Appends an item to platform_types
.
To override the contents of this collection use set_platform_types
.
The operating system platform.
sourcepub fn set_platform_types(self, input: Option<Vec<PlatformType>>) -> Self
pub fn set_platform_types(self, input: Option<Vec<PlatformType>>) -> Self
The operating system platform.
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 document_type(self, input: DocumentType) -> Self
pub fn document_type(self, input: DocumentType) -> Self
The document type.
sourcepub fn set_document_type(self, input: Option<DocumentType>) -> Self
pub fn set_document_type(self, input: Option<DocumentType>) -> Self
The document type.
sourcepub fn schema_version(self, input: impl Into<String>) -> Self
pub fn schema_version(self, input: impl Into<String>) -> Self
The schema version.
sourcepub fn set_schema_version(self, input: Option<String>) -> Self
pub fn set_schema_version(self, input: Option<String>) -> Self
The schema version.
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 target_type(self, input: impl Into<String>) -> Self
pub fn target_type(self, input: impl Into<String>) -> Self
The target type which defines the kinds of resources the document can run on. For example, /AWS::EC2::Instance
. For a list of valid resource types, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.
sourcepub fn set_target_type(self, input: Option<String>) -> Self
pub fn set_target_type(self, input: Option<String>) -> Self
The target type which defines the kinds of resources the document can run on. For example, /AWS::EC2::Instance
. For a list of valid resource types, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags, or metadata, that have been applied to the document.
The tags, or metadata, that have been applied to the document.
sourcepub fn requires(self, input: DocumentRequires) -> Self
pub fn requires(self, input: DocumentRequires) -> Self
Appends an item to requires
.
To override the contents of this collection use set_requires
.
A list of SSM documents required by a document. For example, an ApplicationConfiguration
document requires an ApplicationConfigurationSchema
document.
sourcepub fn set_requires(self, input: Option<Vec<DocumentRequires>>) -> Self
pub fn set_requires(self, input: Option<Vec<DocumentRequires>>) -> Self
A list of SSM documents required by a document. For example, an ApplicationConfiguration
document requires an ApplicationConfigurationSchema
document.
sourcepub fn review_status(self, input: ReviewStatus) -> Self
pub fn review_status(self, input: ReviewStatus) -> Self
The current status of a document review.
sourcepub fn set_review_status(self, input: Option<ReviewStatus>) -> Self
pub fn set_review_status(self, input: Option<ReviewStatus>) -> Self
The current status of a document review.
The user in your organization who created the document.
The user in your organization who created the document.
sourcepub fn build(self) -> DocumentIdentifier
pub fn build(self) -> DocumentIdentifier
Consumes the builder and constructs a DocumentIdentifier
.
Trait Implementations§
source§impl Clone for DocumentIdentifierBuilder
impl Clone for DocumentIdentifierBuilder
source§fn clone(&self) -> DocumentIdentifierBuilder
fn clone(&self) -> DocumentIdentifierBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DocumentIdentifierBuilder
impl Debug for DocumentIdentifierBuilder
source§impl Default for DocumentIdentifierBuilder
impl Default for DocumentIdentifierBuilder
source§fn default() -> DocumentIdentifierBuilder
fn default() -> DocumentIdentifierBuilder
source§impl PartialEq<DocumentIdentifierBuilder> for DocumentIdentifierBuilder
impl PartialEq<DocumentIdentifierBuilder> for DocumentIdentifierBuilder
source§fn eq(&self, other: &DocumentIdentifierBuilder) -> bool
fn eq(&self, other: &DocumentIdentifierBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.