Struct aws_sdk_codebuild::types::FleetStatus
source · #[non_exhaustive]pub struct FleetStatus {
pub status_code: Option<FleetStatusCode>,
pub context: Option<FleetContextCode>,
pub message: Option<String>,
}
Expand description
The status of the compute fleet.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.status_code: 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.
context: 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.
message: Option<String>
A message associated with the status of a compute fleet.
Implementations§
source§impl FleetStatus
impl FleetStatus
sourcepub fn status_code(&self) -> Option<&FleetStatusCode>
pub fn 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) -> Option<&FleetContextCode>
pub fn 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.
source§impl FleetStatus
impl FleetStatus
sourcepub fn builder() -> FleetStatusBuilder
pub fn builder() -> FleetStatusBuilder
Creates a new builder-style object to manufacture FleetStatus
.
Trait Implementations§
source§impl Clone for FleetStatus
impl Clone for FleetStatus
source§fn clone(&self) -> FleetStatus
fn clone(&self) -> FleetStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FleetStatus
impl Debug for FleetStatus
source§impl PartialEq for FleetStatus
impl PartialEq for FleetStatus
source§fn eq(&self, other: &FleetStatus) -> bool
fn eq(&self, other: &FleetStatus) -> bool
self
and other
values to be equal, and is used
by ==
.