Struct aws_sdk_proton::types::builders::ServiceSummaryBuilder
source · #[non_exhaustive]pub struct ServiceSummaryBuilder { /* private fields */ }
Expand description
A builder for ServiceSummary
.
Implementations§
source§impl ServiceSummaryBuilder
impl ServiceSummaryBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the service.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the service.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the service.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the service.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the service.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the service.
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the service template.
This field is required.sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The name of the service template.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the service template.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time when the service was created.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The time when the service was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The time when the service was created.
sourcepub fn last_modified_at(self, input: DateTime) -> Self
pub fn last_modified_at(self, input: DateTime) -> Self
The time when the service was last modified.
This field is required.sourcepub fn set_last_modified_at(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_at(self, input: Option<DateTime>) -> Self
The time when the service was last modified.
sourcepub fn get_last_modified_at(&self) -> &Option<DateTime>
pub fn get_last_modified_at(&self) -> &Option<DateTime>
The time when the service was last modified.
sourcepub fn status(self, input: ServiceStatus) -> Self
pub fn status(self, input: ServiceStatus) -> Self
The status of the service.
This field is required.sourcepub fn set_status(self, input: Option<ServiceStatus>) -> Self
pub fn set_status(self, input: Option<ServiceStatus>) -> Self
The status of the service.
sourcepub fn get_status(&self) -> &Option<ServiceStatus>
pub fn get_status(&self) -> &Option<ServiceStatus>
The status of the service.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
A service status message.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
A service status message.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
A service status message.
sourcepub fn build(self) -> Result<ServiceSummary, BuildError>
pub fn build(self) -> Result<ServiceSummary, BuildError>
Consumes the builder and constructs a ServiceSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ServiceSummaryBuilder
impl Clone for ServiceSummaryBuilder
source§fn clone(&self) -> ServiceSummaryBuilder
fn clone(&self) -> ServiceSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServiceSummaryBuilder
impl Debug for ServiceSummaryBuilder
source§impl Default for ServiceSummaryBuilder
impl Default for ServiceSummaryBuilder
source§fn default() -> ServiceSummaryBuilder
fn default() -> ServiceSummaryBuilder
source§impl PartialEq for ServiceSummaryBuilder
impl PartialEq for ServiceSummaryBuilder
source§fn eq(&self, other: &ServiceSummaryBuilder) -> bool
fn eq(&self, other: &ServiceSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.