@Stability(value=Stable)
public static interface CfnEC2Fleet.OnDemandOptionsRequestProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
OnDemandOptionsRequestProperty onDemandOptionsRequestProperty = OnDemandOptionsRequestProperty.builder()
.allocationStrategy("allocationStrategy")
.capacityReservationOptions(CapacityReservationOptionsRequestProperty.builder()
.usageStrategy("usageStrategy")
.build())
.maxTotalPrice("maxTotalPrice")
.minTargetCapacity(123)
.singleAvailabilityZone(false)
.singleInstanceType(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEC2Fleet.OnDemandOptionsRequestProperty.Builder
A builder for
CfnEC2Fleet.OnDemandOptionsRequestProperty |
static class |
CfnEC2Fleet.OnDemandOptionsRequestProperty.Jsii$Proxy
An implementation for
CfnEC2Fleet.OnDemandOptionsRequestProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnEC2Fleet.OnDemandOptionsRequestProperty.Builder |
builder() |
default String |
getAllocationStrategy()
`CfnEC2Fleet.OnDemandOptionsRequestProperty.AllocationStrategy`.
|
default Object |
getCapacityReservationOptions()
`CfnEC2Fleet.OnDemandOptionsRequestProperty.CapacityReservationOptions`.
|
default String |
getMaxTotalPrice()
`CfnEC2Fleet.OnDemandOptionsRequestProperty.MaxTotalPrice`.
|
default Number |
getMinTargetCapacity()
`CfnEC2Fleet.OnDemandOptionsRequestProperty.MinTargetCapacity`.
|
default Object |
getSingleAvailabilityZone()
`CfnEC2Fleet.OnDemandOptionsRequestProperty.SingleAvailabilityZone`.
|
default Object |
getSingleInstanceType()
`CfnEC2Fleet.OnDemandOptionsRequestProperty.SingleInstanceType`.
|
@Stability(value=Stable) @Nullable default String getAllocationStrategy()
@Stability(value=Stable) @Nullable default Object getCapacityReservationOptions()
@Stability(value=Stable) @Nullable default String getMaxTotalPrice()
@Stability(value=Stable) @Nullable default Number getMinTargetCapacity()
@Stability(value=Stable) @Nullable default Object getSingleAvailabilityZone()
@Stability(value=Stable) @Nullable default Object getSingleInstanceType()
@Stability(value=Stable) static CfnEC2Fleet.OnDemandOptionsRequestProperty.Builder builder()
Copyright © 2021. All rights reserved.