Struct aws_sdk_ssm::types::builders::DocumentRequiresBuilder
source · #[non_exhaustive]pub struct DocumentRequiresBuilder { /* private fields */ }Expand description
A builder for DocumentRequires.
Implementations§
source§impl DocumentRequiresBuilder
impl DocumentRequiresBuilder
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.
Trait Implementations§
source§impl Clone for DocumentRequiresBuilder
impl Clone for DocumentRequiresBuilder
source§fn clone(&self) -> DocumentRequiresBuilder
fn clone(&self) -> DocumentRequiresBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DocumentRequiresBuilder
impl Debug for DocumentRequiresBuilder
source§impl Default for DocumentRequiresBuilder
impl Default for DocumentRequiresBuilder
source§fn default() -> DocumentRequiresBuilder
fn default() -> DocumentRequiresBuilder
source§impl PartialEq<DocumentRequiresBuilder> for DocumentRequiresBuilder
impl PartialEq<DocumentRequiresBuilder> for DocumentRequiresBuilder
source§fn eq(&self, other: &DocumentRequiresBuilder) -> bool
fn eq(&self, other: &DocumentRequiresBuilder) -> bool
self and other values to be equal, and is used
by ==.