Struct aws_sdk_codebuild::types::builders::FleetStatusBuilder
source · #[non_exhaustive]pub struct FleetStatusBuilder { /* private fields */ }
Expand description
A builder for FleetStatus
.
Implementations§
source§impl FleetStatusBuilder
impl FleetStatusBuilder
sourcepub fn status_code(self, input: FleetStatusCode) -> Self
pub fn status_code(self, input: FleetStatusCode) -> Self
The status code of the compute fleet. Valid values include:
-
CREATING
: The compute fleet is being created. -
UPDATING
: The compute fleet is being updated. -
ROTATING
: The compute fleet is being rotated. -
DELETING
: The compute fleet is being deleted. -
CREATE_FAILED
: The compute fleet has failed to create. -
UPDATE_ROLLBACK_FAILED
: The compute fleet has failed to update and could not rollback to previous state. -
ACTIVE
: The compute fleet has succeeded and is active.
sourcepub fn set_status_code(self, input: Option<FleetStatusCode>) -> Self
pub fn set_status_code(self, input: Option<FleetStatusCode>) -> Self
The status code of the compute fleet. Valid values include:
-
CREATING
: The compute fleet is being created. -
UPDATING
: The compute fleet is being updated. -
ROTATING
: The compute fleet is being rotated. -
DELETING
: The compute fleet is being deleted. -
CREATE_FAILED
: The compute fleet has failed to create. -
UPDATE_ROLLBACK_FAILED
: The compute fleet has failed to update and could not rollback to previous state. -
ACTIVE
: The compute fleet has succeeded and is active.
sourcepub fn get_status_code(&self) -> &Option<FleetStatusCode>
pub fn get_status_code(&self) -> &Option<FleetStatusCode>
The status code of the compute fleet. Valid values include:
-
CREATING
: The compute fleet is being created. -
UPDATING
: The compute fleet is being updated. -
ROTATING
: The compute fleet is being rotated. -
DELETING
: The compute fleet is being deleted. -
CREATE_FAILED
: The compute fleet has failed to create. -
UPDATE_ROLLBACK_FAILED
: The compute fleet has failed to update and could not rollback to previous state. -
ACTIVE
: The compute fleet has succeeded and is active.
sourcepub fn context(self, input: FleetContextCode) -> Self
pub fn context(self, input: FleetContextCode) -> Self
Additional information about a compute fleet. Valid values include:
-
CREATE_FAILED
: The compute fleet has failed to create. -
UPDATE_FAILED
: The compute fleet has failed to update.
sourcepub fn set_context(self, input: Option<FleetContextCode>) -> Self
pub fn set_context(self, input: Option<FleetContextCode>) -> Self
Additional information about a compute fleet. Valid values include:
-
CREATE_FAILED
: The compute fleet has failed to create. -
UPDATE_FAILED
: The compute fleet has failed to update.
sourcepub fn get_context(&self) -> &Option<FleetContextCode>
pub fn get_context(&self) -> &Option<FleetContextCode>
Additional information about a compute fleet. Valid values include:
-
CREATE_FAILED
: The compute fleet has failed to create. -
UPDATE_FAILED
: The compute fleet has failed to update.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
A message associated with the status of a compute fleet.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A message associated with the status of a compute fleet.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
A message associated with the status of a compute fleet.
sourcepub fn build(self) -> FleetStatus
pub fn build(self) -> FleetStatus
Consumes the builder and constructs a FleetStatus
.
Trait Implementations§
source§impl Clone for FleetStatusBuilder
impl Clone for FleetStatusBuilder
source§fn clone(&self) -> FleetStatusBuilder
fn clone(&self) -> FleetStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FleetStatusBuilder
impl Debug for FleetStatusBuilder
source§impl Default for FleetStatusBuilder
impl Default for FleetStatusBuilder
source§fn default() -> FleetStatusBuilder
fn default() -> FleetStatusBuilder
source§impl PartialEq for FleetStatusBuilder
impl PartialEq for FleetStatusBuilder
source§fn eq(&self, other: &FleetStatusBuilder) -> bool
fn eq(&self, other: &FleetStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.