@Generated(value="software.amazon.awssdk:codegen") public class InstanceFleetModifyConfig extends Object implements StructuredPojo, ToCopyableBuilder<InstanceFleetModifyConfig.Builder,InstanceFleetModifyConfig>
Configuration parameters for an instance fleet modification request.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceFleetModifyConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InstanceFleetModifyConfig.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceFleetId()
A unique identifier for the instance fleet.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends InstanceFleetModifyConfig.Builder> |
serializableBuilderClass() |
Integer |
targetOnDemandCapacity()
The target capacity of On-Demand units for the instance fleet.
|
Integer |
targetSpotCapacity()
The target capacity of Spot units for the instance fleet.
|
InstanceFleetModifyConfig.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String instanceFleetId()
A unique identifier for the instance fleet.
public Integer targetOnDemandCapacity()
The target capacity of On-Demand units for the instance fleet. For more information see InstanceFleetConfig$TargetOnDemandCapacity.
public Integer targetSpotCapacity()
The target capacity of Spot units for the instance fleet. For more information, see InstanceFleetConfig$TargetSpotCapacity.
public InstanceFleetModifyConfig.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<InstanceFleetModifyConfig.Builder,InstanceFleetModifyConfig>public static InstanceFleetModifyConfig.Builder builder()
public static Class<? extends InstanceFleetModifyConfig.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.