Struct aws_sdk_codestar::model::project_status::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ProjectStatus
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn state(self, input: impl Into<String>) -> Self
pub fn state(self, input: impl Into<String>) -> Self
The phase of completion for a project creation or deletion.
sourcepub fn set_state(self, input: Option<String>) -> Self
pub fn set_state(self, input: Option<String>) -> Self
The phase of completion for a project creation or deletion.
sourcepub fn reason(self, input: impl Into<String>) -> Self
pub fn reason(self, input: impl Into<String>) -> Self
In the case of a project creation or deletion failure, a reason for the failure.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
In the case of a project creation or deletion failure, a reason for the failure.
sourcepub fn build(self) -> ProjectStatus
pub fn build(self) -> ProjectStatus
Consumes the builder and constructs a ProjectStatus
.