@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceFleetModifyConfig extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
InstanceFleetModifyConfig() |
Modifier and Type | Method and Description |
---|---|
InstanceFleetModifyConfig |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceFleetId()
A unique identifier for the instance fleet.
|
Integer |
getTargetOnDemandCapacity()
The target capacity of On-Demand units for the instance fleet.
|
Integer |
getTargetSpotCapacity()
The target capacity of Spot units for the instance fleet.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInstanceFleetId(String instanceFleetId)
A unique identifier for the instance fleet.
|
void |
setTargetOnDemandCapacity(Integer targetOnDemandCapacity)
The target capacity of On-Demand units for the instance fleet.
|
void |
setTargetSpotCapacity(Integer targetSpotCapacity)
The target capacity of Spot units for the instance fleet.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InstanceFleetModifyConfig |
withInstanceFleetId(String instanceFleetId)
A unique identifier for the instance fleet.
|
InstanceFleetModifyConfig |
withTargetOnDemandCapacity(Integer targetOnDemandCapacity)
The target capacity of On-Demand units for the instance fleet.
|
InstanceFleetModifyConfig |
withTargetSpotCapacity(Integer targetSpotCapacity)
The target capacity of Spot units for the instance fleet.
|
public void setInstanceFleetId(String instanceFleetId)
A unique identifier for the instance fleet.
instanceFleetId
- A unique identifier for the instance fleet.public String getInstanceFleetId()
A unique identifier for the instance fleet.
public InstanceFleetModifyConfig withInstanceFleetId(String instanceFleetId)
A unique identifier for the instance fleet.
instanceFleetId
- A unique identifier for the instance fleet.public void setTargetOnDemandCapacity(Integer targetOnDemandCapacity)
The target capacity of On-Demand units for the instance fleet. For more information see InstanceFleetConfig$TargetOnDemandCapacity.
targetOnDemandCapacity
- The target capacity of On-Demand units for the instance fleet. For more information see
InstanceFleetConfig$TargetOnDemandCapacity.public Integer getTargetOnDemandCapacity()
The target capacity of On-Demand units for the instance fleet. For more information see InstanceFleetConfig$TargetOnDemandCapacity.
public InstanceFleetModifyConfig withTargetOnDemandCapacity(Integer targetOnDemandCapacity)
The target capacity of On-Demand units for the instance fleet. For more information see InstanceFleetConfig$TargetOnDemandCapacity.
targetOnDemandCapacity
- The target capacity of On-Demand units for the instance fleet. For more information see
InstanceFleetConfig$TargetOnDemandCapacity.public void setTargetSpotCapacity(Integer targetSpotCapacity)
The target capacity of Spot units for the instance fleet. For more information, see InstanceFleetConfig$TargetSpotCapacity.
targetSpotCapacity
- The target capacity of Spot units for the instance fleet. For more information, see
InstanceFleetConfig$TargetSpotCapacity.public Integer getTargetSpotCapacity()
The target capacity of Spot units for the instance fleet. For more information, see InstanceFleetConfig$TargetSpotCapacity.
public InstanceFleetModifyConfig withTargetSpotCapacity(Integer targetSpotCapacity)
The target capacity of Spot units for the instance fleet. For more information, see InstanceFleetConfig$TargetSpotCapacity.
targetSpotCapacity
- The target capacity of Spot units for the instance fleet. For more information, see
InstanceFleetConfig$TargetSpotCapacity.public String toString()
toString
in class Object
Object.toString()
public InstanceFleetModifyConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.