@Stability(value=Stable)
public static interface CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
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.*;
TargetCapacitySpecificationRequestProperty targetCapacitySpecificationRequestProperty = TargetCapacitySpecificationRequestProperty.builder()
.totalTargetCapacity(123)
// the properties below are optional
.defaultTargetCapacityType("defaultTargetCapacityType")
.onDemandTargetCapacity(123)
.spotTargetCapacity(123)
.targetCapacityUnitType("targetCapacityUnitType")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder
A builder for
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty |
static class |
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Jsii$Proxy
An implementation for
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder |
builder() |
default String |
getDefaultTargetCapacityType()
`CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.DefaultTargetCapacityType`.
|
default Number |
getOnDemandTargetCapacity()
`CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.OnDemandTargetCapacity`.
|
default Number |
getSpotTargetCapacity()
`CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.SpotTargetCapacity`.
|
default String |
getTargetCapacityUnitType()
`CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.TargetCapacityUnitType`.
|
Number |
getTotalTargetCapacity()
`CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.TotalTargetCapacity`.
|
@Stability(value=Stable) @Nullable default String getDefaultTargetCapacityType()
@Stability(value=Stable) @Nullable default Number getOnDemandTargetCapacity()
@Stability(value=Stable) @Nullable default Number getSpotTargetCapacity()
@Stability(value=Stable) @Nullable default String getTargetCapacityUnitType()
@Stability(value=Stable) @NotNull Number getTotalTargetCapacity()
@Stability(value=Stable) static CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder builder()
Copyright © 2021. All rights reserved.