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. -
PENDING_DELETION
: The compute fleet is pending deletion. -
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. -
PENDING_DELETION
: The compute fleet is pending deletion. -
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. -
PENDING_DELETION
: The compute fleet is pending deletion. -
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 ==
.impl StructuralPartialEq for FleetStatusBuilder
Auto Trait Implementations§
impl Freeze for FleetStatusBuilder
impl RefUnwindSafe for FleetStatusBuilder
impl Send for FleetStatusBuilder
impl Sync for FleetStatusBuilder
impl Unpin for FleetStatusBuilder
impl UnwindSafe for FleetStatusBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more