Interface CfnCluster.ClusterCapacityRequirementsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.ClusterCapacityRequirementsProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.ClusterCapacityRequirementsProperty
extends software.amazon.jsii.JsiiSerializable
Defines the instance capacity requirements for an instance group, including configurations for both Spot and On-Demand capacity types.
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.sagemaker.*;
Object onDemand;
Object spot;
ClusterCapacityRequirementsProperty clusterCapacityRequirementsProperty = ClusterCapacityRequirementsProperty.builder()
.onDemand(onDemand)
.spot(spot)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.ClusterCapacityRequirementsPropertystatic final classAn implementation forCfnCluster.ClusterCapacityRequirementsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOnDemand
Configuration options specific to On-Demand instances.- See Also:
-
getSpot
Configuration options specific to Spot instances.- See Also:
-
builder
-