Struct aws_sdk_ec2::types::builders::FpgaImageStateBuilder
source · #[non_exhaustive]pub struct FpgaImageStateBuilder { /* private fields */ }
Expand description
A builder for FpgaImageState
.
Implementations§
source§impl FpgaImageStateBuilder
impl FpgaImageStateBuilder
sourcepub fn code(self, input: FpgaImageStateCode) -> Self
pub fn code(self, input: FpgaImageStateCode) -> Self
The state. The following are the possible values:
-
pending
- AFI bitstream generation is in progress. -
available
- The AFI is available for use. -
failed
- AFI bitstream generation failed. -
unavailable
- The AFI is no longer available for use.
sourcepub fn set_code(self, input: Option<FpgaImageStateCode>) -> Self
pub fn set_code(self, input: Option<FpgaImageStateCode>) -> Self
The state. The following are the possible values:
-
pending
- AFI bitstream generation is in progress. -
available
- The AFI is available for use. -
failed
- AFI bitstream generation failed. -
unavailable
- The AFI is no longer available for use.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
If the state is failed
, this is the error message.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
If the state is failed
, this is the error message.
sourcepub fn build(self) -> FpgaImageState
pub fn build(self) -> FpgaImageState
Consumes the builder and constructs a FpgaImageState
.
Trait Implementations§
source§impl Clone for FpgaImageStateBuilder
impl Clone for FpgaImageStateBuilder
source§fn clone(&self) -> FpgaImageStateBuilder
fn clone(&self) -> FpgaImageStateBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FpgaImageStateBuilder
impl Debug for FpgaImageStateBuilder
source§impl Default for FpgaImageStateBuilder
impl Default for FpgaImageStateBuilder
source§fn default() -> FpgaImageStateBuilder
fn default() -> FpgaImageStateBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<FpgaImageStateBuilder> for FpgaImageStateBuilder
impl PartialEq<FpgaImageStateBuilder> for FpgaImageStateBuilder
source§fn eq(&self, other: &FpgaImageStateBuilder) -> bool
fn eq(&self, other: &FpgaImageStateBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FpgaImageStateBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FpgaImageStateBuilder
impl Send for FpgaImageStateBuilder
impl Sync for FpgaImageStateBuilder
impl Unpin for FpgaImageStateBuilder
impl UnwindSafe for FpgaImageStateBuilder
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
Mutably borrows from an owned value. Read more