Struct aws_sdk_ssm::model::document_requires::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DocumentRequires.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the required SSM document. The name can be an Amazon Resource Name (ARN).
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the required SSM document. The name can be an Amazon Resource Name (ARN).
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
The document version required by the current document.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The document version required by the current document.
sourcepub fn require_type(self, input: impl Into<String>) -> Self
pub fn require_type(self, input: impl Into<String>) -> Self
The document type of the required SSM document.
sourcepub fn set_require_type(self, input: Option<String>) -> Self
pub fn set_require_type(self, input: Option<String>) -> Self
The document type of the required SSM 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 build(self) -> DocumentRequires
pub fn build(self) -> DocumentRequires
Consumes the builder and constructs a DocumentRequires.