Struct aws_sdk_migrationhub::model::created_artifact::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CreatedArtifact.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
An ARN that uniquely identifies the result of a migration task.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
An ARN that uniquely identifies the result of a migration task.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description that can be free-form text to record additional detail about the artifact for clarity or for later reference.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description that can be free-form text to record additional detail about the artifact for clarity or for later reference.
sourcepub fn build(self) -> CreatedArtifact
pub fn build(self) -> CreatedArtifact
Consumes the builder and constructs a CreatedArtifact.