Struct aws_sdk_ec2::types::builders::SpotFleetRequestConfigBuilder
source · #[non_exhaustive]pub struct SpotFleetRequestConfigBuilder { /* private fields */ }
Expand description
A builder for SpotFleetRequestConfig
.
Implementations§
source§impl SpotFleetRequestConfigBuilder
impl SpotFleetRequestConfigBuilder
sourcepub fn activity_status(self, input: ActivityStatus) -> Self
pub fn activity_status(self, input: ActivityStatus) -> Self
The progress of the Spot Fleet request. If there is an error, the status is error
. After all requests are placed, the status is pending_fulfillment
. If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled
. If the size of the fleet is decreased, the status is pending_termination
while Spot Instances are terminating.
sourcepub fn set_activity_status(self, input: Option<ActivityStatus>) -> Self
pub fn set_activity_status(self, input: Option<ActivityStatus>) -> Self
The progress of the Spot Fleet request. If there is an error, the status is error
. After all requests are placed, the status is pending_fulfillment
. If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled
. If the size of the fleet is decreased, the status is pending_termination
while Spot Instances are terminating.
sourcepub fn get_activity_status(&self) -> &Option<ActivityStatus>
pub fn get_activity_status(&self) -> &Option<ActivityStatus>
The progress of the Spot Fleet request. If there is an error, the status is error
. After all requests are placed, the status is pending_fulfillment
. If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled
. If the size of the fleet is decreased, the status is pending_termination
while Spot Instances are terminating.
sourcepub fn create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
The creation date and time of the request.
sourcepub fn set_create_time(self, input: Option<DateTime>) -> Self
pub fn set_create_time(self, input: Option<DateTime>) -> Self
The creation date and time of the request.
sourcepub fn get_create_time(&self) -> &Option<DateTime>
pub fn get_create_time(&self) -> &Option<DateTime>
The creation date and time of the request.
sourcepub fn spot_fleet_request_config(
self,
input: SpotFleetRequestConfigData
) -> Self
pub fn spot_fleet_request_config( self, input: SpotFleetRequestConfigData ) -> Self
The configuration of the Spot Fleet request.
sourcepub fn set_spot_fleet_request_config(
self,
input: Option<SpotFleetRequestConfigData>
) -> Self
pub fn set_spot_fleet_request_config( self, input: Option<SpotFleetRequestConfigData> ) -> Self
The configuration of the Spot Fleet request.
sourcepub fn get_spot_fleet_request_config(
&self
) -> &Option<SpotFleetRequestConfigData>
pub fn get_spot_fleet_request_config( &self ) -> &Option<SpotFleetRequestConfigData>
The configuration of the Spot Fleet request.
sourcepub fn spot_fleet_request_id(self, input: impl Into<String>) -> Self
pub fn spot_fleet_request_id(self, input: impl Into<String>) -> Self
The ID of the Spot Fleet request.
sourcepub fn set_spot_fleet_request_id(self, input: Option<String>) -> Self
pub fn set_spot_fleet_request_id(self, input: Option<String>) -> Self
The ID of the Spot Fleet request.
sourcepub fn get_spot_fleet_request_id(&self) -> &Option<String>
pub fn get_spot_fleet_request_id(&self) -> &Option<String>
The ID of the Spot Fleet request.
sourcepub fn spot_fleet_request_state(self, input: BatchState) -> Self
pub fn spot_fleet_request_state(self, input: BatchState) -> Self
The state of the Spot Fleet request.
sourcepub fn set_spot_fleet_request_state(self, input: Option<BatchState>) -> Self
pub fn set_spot_fleet_request_state(self, input: Option<BatchState>) -> Self
The state of the Spot Fleet request.
sourcepub fn get_spot_fleet_request_state(&self) -> &Option<BatchState>
pub fn get_spot_fleet_request_state(&self) -> &Option<BatchState>
The state of the Spot Fleet request.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags for a Spot Fleet resource.
The tags for a Spot Fleet resource.
The tags for a Spot Fleet resource.
sourcepub fn build(self) -> SpotFleetRequestConfig
pub fn build(self) -> SpotFleetRequestConfig
Consumes the builder and constructs a SpotFleetRequestConfig
.
Trait Implementations§
source§impl Clone for SpotFleetRequestConfigBuilder
impl Clone for SpotFleetRequestConfigBuilder
source§fn clone(&self) -> SpotFleetRequestConfigBuilder
fn clone(&self) -> SpotFleetRequestConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SpotFleetRequestConfigBuilder
impl Default for SpotFleetRequestConfigBuilder
source§fn default() -> SpotFleetRequestConfigBuilder
fn default() -> SpotFleetRequestConfigBuilder
source§impl PartialEq<SpotFleetRequestConfigBuilder> for SpotFleetRequestConfigBuilder
impl PartialEq<SpotFleetRequestConfigBuilder> for SpotFleetRequestConfigBuilder
source§fn eq(&self, other: &SpotFleetRequestConfigBuilder) -> bool
fn eq(&self, other: &SpotFleetRequestConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.