@Stability(value=Stable)
public static interface CfnSpotFleet.MemoryGiBPerVCpuRequestProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// 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.*;
MemoryGiBPerVCpuRequestProperty memoryGiBPerVCpuRequestProperty = MemoryGiBPerVCpuRequestProperty.builder()
.max(123)
.min(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSpotFleet.MemoryGiBPerVCpuRequestProperty.Builder
A builder for
CfnSpotFleet.MemoryGiBPerVCpuRequestProperty |
static class |
CfnSpotFleet.MemoryGiBPerVCpuRequestProperty.Jsii$Proxy
An implementation for
CfnSpotFleet.MemoryGiBPerVCpuRequestProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSpotFleet.MemoryGiBPerVCpuRequestProperty.Builder |
builder() |
default Number |
getMax()
The maximum amount of memory per vCPU, in GiB.
|
default Number |
getMin()
The minimum amount of memory per vCPU, in GiB.
|
@Stability(value=Stable) @Nullable default Number getMax()
To specify no maximum limit, omit this parameter.
@Stability(value=Stable) @Nullable default Number getMin()
To specify no minimum limit, omit this parameter.
@Stability(value=Stable) static CfnSpotFleet.MemoryGiBPerVCpuRequestProperty.Builder builder()
Copyright © 2022. All rights reserved.