Struct aws_sdk_securityhub::model::AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails
source · #[non_exhaustive]pub struct AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails { /* private fields */ }Expand description
Provides details about the market (purchasing) options for Spot Instances.
Implementations§
source§impl AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails
impl AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails
sourcepub fn block_duration_minutes(&self) -> i32
pub fn block_duration_minutes(&self) -> i32
Deprecated.
sourcepub fn instance_interruption_behavior(&self) -> Option<&str>
pub fn instance_interruption_behavior(&self) -> Option<&str>
The behavior when a Spot Instance is interrupted.
sourcepub fn max_price(&self) -> Option<&str>
pub fn max_price(&self) -> Option<&str>
The maximum hourly price you're willing to pay for the Spot Instances.
sourcepub fn spot_instance_type(&self) -> Option<&str>
pub fn spot_instance_type(&self) -> Option<&str>
The Spot Instance request type.
sourcepub fn valid_until(&self) -> Option<&str>
pub fn valid_until(&self) -> Option<&str>
The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ), for persistent requests.
source§impl AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails
impl AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.
Trait Implementations§
source§impl Clone for AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails
impl Clone for AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails
source§fn clone(
&self
) -> AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails
fn clone(
&self
) -> AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails
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 PartialEq<AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails> for AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails
impl PartialEq<AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails> for AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails
source§fn eq(
&self,
other: &AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails
) -> bool
fn eq(
&self,
other: &AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails
) -> bool
This method tests for
self and other values to be equal, and is used
by ==.