AWS SDK for C++  1.8.99
AWS SDK for C++
Public Member Functions | List of all members
Aws::EMR::Model::InstanceFleet Class Reference

#include <InstanceFleet.h>

Public Member Functions

 InstanceFleet ()
 
 InstanceFleet (Aws::Utils::Json::JsonView jsonValue)
 
InstanceFleetoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetId () const
 
bool IdHasBeenSet () const
 
void SetId (const Aws::String &value)
 
void SetId (Aws::String &&value)
 
void SetId (const char *value)
 
InstanceFleetWithId (const Aws::String &value)
 
InstanceFleetWithId (Aws::String &&value)
 
InstanceFleetWithId (const char *value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
InstanceFleetWithName (const Aws::String &value)
 
InstanceFleetWithName (Aws::String &&value)
 
InstanceFleetWithName (const char *value)
 
const InstanceFleetStatusGetStatus () const
 
bool StatusHasBeenSet () const
 
void SetStatus (const InstanceFleetStatus &value)
 
void SetStatus (InstanceFleetStatus &&value)
 
InstanceFleetWithStatus (const InstanceFleetStatus &value)
 
InstanceFleetWithStatus (InstanceFleetStatus &&value)
 
const InstanceFleetTypeGetInstanceFleetType () const
 
bool InstanceFleetTypeHasBeenSet () const
 
void SetInstanceFleetType (const InstanceFleetType &value)
 
void SetInstanceFleetType (InstanceFleetType &&value)
 
InstanceFleetWithInstanceFleetType (const InstanceFleetType &value)
 
InstanceFleetWithInstanceFleetType (InstanceFleetType &&value)
 
int GetTargetOnDemandCapacity () const
 
bool TargetOnDemandCapacityHasBeenSet () const
 
void SetTargetOnDemandCapacity (int value)
 
InstanceFleetWithTargetOnDemandCapacity (int value)
 
int GetTargetSpotCapacity () const
 
bool TargetSpotCapacityHasBeenSet () const
 
void SetTargetSpotCapacity (int value)
 
InstanceFleetWithTargetSpotCapacity (int value)
 
int GetProvisionedOnDemandCapacity () const
 
bool ProvisionedOnDemandCapacityHasBeenSet () const
 
void SetProvisionedOnDemandCapacity (int value)
 
InstanceFleetWithProvisionedOnDemandCapacity (int value)
 
int GetProvisionedSpotCapacity () const
 
bool ProvisionedSpotCapacityHasBeenSet () const
 
void SetProvisionedSpotCapacity (int value)
 
InstanceFleetWithProvisionedSpotCapacity (int value)
 
const Aws::Vector< InstanceTypeSpecification > & GetInstanceTypeSpecifications () const
 
bool InstanceTypeSpecificationsHasBeenSet () const
 
void SetInstanceTypeSpecifications (const Aws::Vector< InstanceTypeSpecification > &value)
 
void SetInstanceTypeSpecifications (Aws::Vector< InstanceTypeSpecification > &&value)
 
InstanceFleetWithInstanceTypeSpecifications (const Aws::Vector< InstanceTypeSpecification > &value)
 
InstanceFleetWithInstanceTypeSpecifications (Aws::Vector< InstanceTypeSpecification > &&value)
 
InstanceFleetAddInstanceTypeSpecifications (const InstanceTypeSpecification &value)
 
InstanceFleetAddInstanceTypeSpecifications (InstanceTypeSpecification &&value)
 
const InstanceFleetProvisioningSpecificationsGetLaunchSpecifications () const
 
bool LaunchSpecificationsHasBeenSet () const
 
void SetLaunchSpecifications (const InstanceFleetProvisioningSpecifications &value)
 
void SetLaunchSpecifications (InstanceFleetProvisioningSpecifications &&value)
 
InstanceFleetWithLaunchSpecifications (const InstanceFleetProvisioningSpecifications &value)
 
InstanceFleetWithLaunchSpecifications (InstanceFleetProvisioningSpecifications &&value)
 

Detailed Description

Describes an instance fleet, which is a group of EC2 instances that host a particular node type (master, core, or task) in an Amazon EMR cluster. Instance fleets can consist of a mix of instance types and On-Demand and Spot Instances, which are provisioned to meet a defined target capacity.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

See Also:

AWS API Reference

Definition at line 41 of file InstanceFleet.h.

Constructor & Destructor Documentation

◆ InstanceFleet() [1/2]

Aws::EMR::Model::InstanceFleet::InstanceFleet ( )

◆ InstanceFleet() [2/2]

Aws::EMR::Model::InstanceFleet::InstanceFleet ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddInstanceTypeSpecifications() [1/2]

InstanceFleet& Aws::EMR::Model::InstanceFleet::AddInstanceTypeSpecifications ( const InstanceTypeSpecification value)
inline

The specification for the instance types that comprise an instance fleet. Up to five unique instance specifications may be defined for each instance fleet.

Definition at line 487 of file InstanceFleet.h.

◆ AddInstanceTypeSpecifications() [2/2]

InstanceFleet& Aws::EMR::Model::InstanceFleet::AddInstanceTypeSpecifications ( InstanceTypeSpecification &&  value)
inline

The specification for the instance types that comprise an instance fleet. Up to five unique instance specifications may be defined for each instance fleet.

Definition at line 494 of file InstanceFleet.h.

◆ GetId()

const Aws::String& Aws::EMR::Model::InstanceFleet::GetId ( ) const
inline

The unique identifier of the instance fleet.

Definition at line 53 of file InstanceFleet.h.

◆ GetInstanceFleetType()

const InstanceFleetType& Aws::EMR::Model::InstanceFleet::GetInstanceFleetType ( ) const
inline

The node type that the instance fleet hosts. Valid values are MASTER, CORE, or TASK.

Definition at line 167 of file InstanceFleet.h.

◆ GetInstanceTypeSpecifications()

const Aws::Vector<InstanceTypeSpecification>& Aws::EMR::Model::InstanceFleet::GetInstanceTypeSpecifications ( ) const
inline

The specification for the instance types that comprise an instance fleet. Up to five unique instance specifications may be defined for each instance fleet.

Definition at line 445 of file InstanceFleet.h.

◆ GetLaunchSpecifications()

const InstanceFleetProvisioningSpecifications& Aws::EMR::Model::InstanceFleet::GetLaunchSpecifications ( ) const
inline

Describes the launch specification for an instance fleet.

Definition at line 500 of file InstanceFleet.h.

◆ GetName()

const Aws::String& Aws::EMR::Model::InstanceFleet::GetName ( ) const
inline

A friendly name for the instance fleet.

Definition at line 94 of file InstanceFleet.h.

◆ GetProvisionedOnDemandCapacity()

int Aws::EMR::Model::InstanceFleet::GetProvisionedOnDemandCapacity ( ) const
inline

The number of On-Demand units that have been provisioned for the instance fleet to fulfill TargetOnDemandCapacity. This provisioned capacity might be less than or greater than TargetOnDemandCapacity.

Definition at line 387 of file InstanceFleet.h.

◆ GetProvisionedSpotCapacity()

int Aws::EMR::Model::InstanceFleet::GetProvisionedSpotCapacity ( ) const
inline

The number of Spot units that have been provisioned for this instance fleet to fulfill TargetSpotCapacity. This provisioned capacity might be less than or greater than TargetSpotCapacity.

Definition at line 416 of file InstanceFleet.h.

◆ GetStatus()

const InstanceFleetStatus& Aws::EMR::Model::InstanceFleet::GetStatus ( ) const
inline

The current status of the instance fleet.

Definition at line 135 of file InstanceFleet.h.

◆ GetTargetOnDemandCapacity()

int Aws::EMR::Model::InstanceFleet::GetTargetOnDemandCapacity ( ) const
inline

The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand Instances to provision. When the instance fleet launches, Amazon EMR tries to provision On-Demand Instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When an On-Demand Instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units. You can use InstanceFleet$ProvisionedOnDemandCapacity to determine the Spot capacity units that have been provisioned for the instance fleet.

If not specified or set to 0, only Spot Instances are provisioned for the instance fleet using TargetSpotCapacity. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1.

Definition at line 221 of file InstanceFleet.h.

◆ GetTargetSpotCapacity()

int Aws::EMR::Model::InstanceFleet::GetTargetSpotCapacity ( ) const
inline

The target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision. When the instance fleet launches, Amazon EMR tries to provision Spot instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When a Spot instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units. You can use InstanceFleet$ProvisionedSpotCapacity to determine the Spot capacity units that have been provisioned for the instance fleet.

If not specified or set to 0, only On-Demand instances are provisioned for the instance fleet. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1.

Definition at line 313 of file InstanceFleet.h.

◆ IdHasBeenSet()

bool Aws::EMR::Model::InstanceFleet::IdHasBeenSet ( ) const
inline

The unique identifier of the instance fleet.

Definition at line 58 of file InstanceFleet.h.

◆ InstanceFleetTypeHasBeenSet()

bool Aws::EMR::Model::InstanceFleet::InstanceFleetTypeHasBeenSet ( ) const
inline

The node type that the instance fleet hosts. Valid values are MASTER, CORE, or TASK.

Definition at line 173 of file InstanceFleet.h.

◆ InstanceTypeSpecificationsHasBeenSet()

bool Aws::EMR::Model::InstanceFleet::InstanceTypeSpecificationsHasBeenSet ( ) const
inline

The specification for the instance types that comprise an instance fleet. Up to five unique instance specifications may be defined for each instance fleet.

Definition at line 452 of file InstanceFleet.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::EMR::Model::InstanceFleet::Jsonize ( ) const

◆ LaunchSpecificationsHasBeenSet()

bool Aws::EMR::Model::InstanceFleet::LaunchSpecificationsHasBeenSet ( ) const
inline

Describes the launch specification for an instance fleet.

Definition at line 505 of file InstanceFleet.h.

◆ NameHasBeenSet()

bool Aws::EMR::Model::InstanceFleet::NameHasBeenSet ( ) const
inline

A friendly name for the instance fleet.

Definition at line 99 of file InstanceFleet.h.

◆ operator=()

InstanceFleet& Aws::EMR::Model::InstanceFleet::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ProvisionedOnDemandCapacityHasBeenSet()

bool Aws::EMR::Model::InstanceFleet::ProvisionedOnDemandCapacityHasBeenSet ( ) const
inline

The number of On-Demand units that have been provisioned for the instance fleet to fulfill TargetOnDemandCapacity. This provisioned capacity might be less than or greater than TargetOnDemandCapacity.

Definition at line 394 of file InstanceFleet.h.

◆ ProvisionedSpotCapacityHasBeenSet()

bool Aws::EMR::Model::InstanceFleet::ProvisionedSpotCapacityHasBeenSet ( ) const
inline

The number of Spot units that have been provisioned for this instance fleet to fulfill TargetSpotCapacity. This provisioned capacity might be less than or greater than TargetSpotCapacity.

Definition at line 423 of file InstanceFleet.h.

◆ SetId() [1/3]

void Aws::EMR::Model::InstanceFleet::SetId ( const Aws::String value)
inline

The unique identifier of the instance fleet.

Definition at line 63 of file InstanceFleet.h.

◆ SetId() [2/3]

void Aws::EMR::Model::InstanceFleet::SetId ( Aws::String &&  value)
inline

The unique identifier of the instance fleet.

Definition at line 68 of file InstanceFleet.h.

◆ SetId() [3/3]

void Aws::EMR::Model::InstanceFleet::SetId ( const char *  value)
inline

The unique identifier of the instance fleet.

Definition at line 73 of file InstanceFleet.h.

◆ SetInstanceFleetType() [1/2]

void Aws::EMR::Model::InstanceFleet::SetInstanceFleetType ( const InstanceFleetType value)
inline

The node type that the instance fleet hosts. Valid values are MASTER, CORE, or TASK.

Definition at line 179 of file InstanceFleet.h.

◆ SetInstanceFleetType() [2/2]

void Aws::EMR::Model::InstanceFleet::SetInstanceFleetType ( InstanceFleetType &&  value)
inline

The node type that the instance fleet hosts. Valid values are MASTER, CORE, or TASK.

Definition at line 185 of file InstanceFleet.h.

◆ SetInstanceTypeSpecifications() [1/2]

void Aws::EMR::Model::InstanceFleet::SetInstanceTypeSpecifications ( const Aws::Vector< InstanceTypeSpecification > &  value)
inline

The specification for the instance types that comprise an instance fleet. Up to five unique instance specifications may be defined for each instance fleet.

Definition at line 459 of file InstanceFleet.h.

◆ SetInstanceTypeSpecifications() [2/2]

void Aws::EMR::Model::InstanceFleet::SetInstanceTypeSpecifications ( Aws::Vector< InstanceTypeSpecification > &&  value)
inline

The specification for the instance types that comprise an instance fleet. Up to five unique instance specifications may be defined for each instance fleet.

Definition at line 466 of file InstanceFleet.h.

◆ SetLaunchSpecifications() [1/2]

void Aws::EMR::Model::InstanceFleet::SetLaunchSpecifications ( const InstanceFleetProvisioningSpecifications value)
inline

Describes the launch specification for an instance fleet.

Definition at line 510 of file InstanceFleet.h.

◆ SetLaunchSpecifications() [2/2]

void Aws::EMR::Model::InstanceFleet::SetLaunchSpecifications ( InstanceFleetProvisioningSpecifications &&  value)
inline

Describes the launch specification for an instance fleet.

Definition at line 515 of file InstanceFleet.h.

◆ SetName() [1/3]

void Aws::EMR::Model::InstanceFleet::SetName ( const Aws::String value)
inline

A friendly name for the instance fleet.

Definition at line 104 of file InstanceFleet.h.

◆ SetName() [2/3]

void Aws::EMR::Model::InstanceFleet::SetName ( Aws::String &&  value)
inline

A friendly name for the instance fleet.

Definition at line 109 of file InstanceFleet.h.

◆ SetName() [3/3]

void Aws::EMR::Model::InstanceFleet::SetName ( const char *  value)
inline

A friendly name for the instance fleet.

Definition at line 114 of file InstanceFleet.h.

◆ SetProvisionedOnDemandCapacity()

void Aws::EMR::Model::InstanceFleet::SetProvisionedOnDemandCapacity ( int  value)
inline

The number of On-Demand units that have been provisioned for the instance fleet to fulfill TargetOnDemandCapacity. This provisioned capacity might be less than or greater than TargetOnDemandCapacity.

Definition at line 401 of file InstanceFleet.h.

◆ SetProvisionedSpotCapacity()

void Aws::EMR::Model::InstanceFleet::SetProvisionedSpotCapacity ( int  value)
inline

The number of Spot units that have been provisioned for this instance fleet to fulfill TargetSpotCapacity. This provisioned capacity might be less than or greater than TargetSpotCapacity.

Definition at line 430 of file InstanceFleet.h.

◆ SetStatus() [1/2]

void Aws::EMR::Model::InstanceFleet::SetStatus ( const InstanceFleetStatus value)
inline

The current status of the instance fleet.

Definition at line 145 of file InstanceFleet.h.

◆ SetStatus() [2/2]

void Aws::EMR::Model::InstanceFleet::SetStatus ( InstanceFleetStatus &&  value)
inline

The current status of the instance fleet.

Definition at line 150 of file InstanceFleet.h.

◆ SetTargetOnDemandCapacity()

void Aws::EMR::Model::InstanceFleet::SetTargetOnDemandCapacity ( int  value)
inline

The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand Instances to provision. When the instance fleet launches, Amazon EMR tries to provision On-Demand Instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When an On-Demand Instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units. You can use InstanceFleet$ProvisionedOnDemandCapacity to determine the Spot capacity units that have been provisioned for the instance fleet.

If not specified or set to 0, only Spot Instances are provisioned for the instance fleet using TargetSpotCapacity. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1.

Definition at line 267 of file InstanceFleet.h.

◆ SetTargetSpotCapacity()

void Aws::EMR::Model::InstanceFleet::SetTargetSpotCapacity ( int  value)
inline

The target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision. When the instance fleet launches, Amazon EMR tries to provision Spot instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When a Spot instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units. You can use InstanceFleet$ProvisionedSpotCapacity to determine the Spot capacity units that have been provisioned for the instance fleet.

If not specified or set to 0, only On-Demand instances are provisioned for the instance fleet. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1.

Definition at line 357 of file InstanceFleet.h.

◆ StatusHasBeenSet()

bool Aws::EMR::Model::InstanceFleet::StatusHasBeenSet ( ) const
inline

The current status of the instance fleet.

Definition at line 140 of file InstanceFleet.h.

◆ TargetOnDemandCapacityHasBeenSet()

bool Aws::EMR::Model::InstanceFleet::TargetOnDemandCapacityHasBeenSet ( ) const
inline

The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand Instances to provision. When the instance fleet launches, Amazon EMR tries to provision On-Demand Instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When an On-Demand Instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units. You can use InstanceFleet$ProvisionedOnDemandCapacity to determine the Spot capacity units that have been provisioned for the instance fleet.

If not specified or set to 0, only Spot Instances are provisioned for the instance fleet using TargetSpotCapacity. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1.

Definition at line 244 of file InstanceFleet.h.

◆ TargetSpotCapacityHasBeenSet()

bool Aws::EMR::Model::InstanceFleet::TargetSpotCapacityHasBeenSet ( ) const
inline

The target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision. When the instance fleet launches, Amazon EMR tries to provision Spot instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When a Spot instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units. You can use InstanceFleet$ProvisionedSpotCapacity to determine the Spot capacity units that have been provisioned for the instance fleet.

If not specified or set to 0, only On-Demand instances are provisioned for the instance fleet. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1.

Definition at line 335 of file InstanceFleet.h.

◆ WithId() [1/3]

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithId ( const Aws::String value)
inline

The unique identifier of the instance fleet.

Definition at line 78 of file InstanceFleet.h.

◆ WithId() [2/3]

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithId ( Aws::String &&  value)
inline

The unique identifier of the instance fleet.

Definition at line 83 of file InstanceFleet.h.

◆ WithId() [3/3]

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithId ( const char *  value)
inline

The unique identifier of the instance fleet.

Definition at line 88 of file InstanceFleet.h.

◆ WithInstanceFleetType() [1/2]

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithInstanceFleetType ( const InstanceFleetType value)
inline

The node type that the instance fleet hosts. Valid values are MASTER, CORE, or TASK.

Definition at line 191 of file InstanceFleet.h.

◆ WithInstanceFleetType() [2/2]

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithInstanceFleetType ( InstanceFleetType &&  value)
inline

The node type that the instance fleet hosts. Valid values are MASTER, CORE, or TASK.

Definition at line 197 of file InstanceFleet.h.

◆ WithInstanceTypeSpecifications() [1/2]

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithInstanceTypeSpecifications ( const Aws::Vector< InstanceTypeSpecification > &  value)
inline

The specification for the instance types that comprise an instance fleet. Up to five unique instance specifications may be defined for each instance fleet.

Definition at line 473 of file InstanceFleet.h.

◆ WithInstanceTypeSpecifications() [2/2]

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithInstanceTypeSpecifications ( Aws::Vector< InstanceTypeSpecification > &&  value)
inline

The specification for the instance types that comprise an instance fleet. Up to five unique instance specifications may be defined for each instance fleet.

Definition at line 480 of file InstanceFleet.h.

◆ WithLaunchSpecifications() [1/2]

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithLaunchSpecifications ( const InstanceFleetProvisioningSpecifications value)
inline

Describes the launch specification for an instance fleet.

Definition at line 520 of file InstanceFleet.h.

◆ WithLaunchSpecifications() [2/2]

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithLaunchSpecifications ( InstanceFleetProvisioningSpecifications &&  value)
inline

Describes the launch specification for an instance fleet.

Definition at line 525 of file InstanceFleet.h.

◆ WithName() [1/3]

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithName ( const Aws::String value)
inline

A friendly name for the instance fleet.

Definition at line 119 of file InstanceFleet.h.

◆ WithName() [2/3]

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithName ( Aws::String &&  value)
inline

A friendly name for the instance fleet.

Definition at line 124 of file InstanceFleet.h.

◆ WithName() [3/3]

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithName ( const char *  value)
inline

A friendly name for the instance fleet.

Definition at line 129 of file InstanceFleet.h.

◆ WithProvisionedOnDemandCapacity()

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithProvisionedOnDemandCapacity ( int  value)
inline

The number of On-Demand units that have been provisioned for the instance fleet to fulfill TargetOnDemandCapacity. This provisioned capacity might be less than or greater than TargetOnDemandCapacity.

Definition at line 408 of file InstanceFleet.h.

◆ WithProvisionedSpotCapacity()

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithProvisionedSpotCapacity ( int  value)
inline

The number of Spot units that have been provisioned for this instance fleet to fulfill TargetSpotCapacity. This provisioned capacity might be less than or greater than TargetSpotCapacity.

Definition at line 437 of file InstanceFleet.h.

◆ WithStatus() [1/2]

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithStatus ( const InstanceFleetStatus value)
inline

The current status of the instance fleet.

Definition at line 155 of file InstanceFleet.h.

◆ WithStatus() [2/2]

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithStatus ( InstanceFleetStatus &&  value)
inline

The current status of the instance fleet.

Definition at line 160 of file InstanceFleet.h.

◆ WithTargetOnDemandCapacity()

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithTargetOnDemandCapacity ( int  value)
inline

The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand Instances to provision. When the instance fleet launches, Amazon EMR tries to provision On-Demand Instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When an On-Demand Instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units. You can use InstanceFleet$ProvisionedOnDemandCapacity to determine the Spot capacity units that have been provisioned for the instance fleet.

If not specified or set to 0, only Spot Instances are provisioned for the instance fleet using TargetSpotCapacity. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1.

Definition at line 290 of file InstanceFleet.h.

◆ WithTargetSpotCapacity()

InstanceFleet& Aws::EMR::Model::InstanceFleet::WithTargetSpotCapacity ( int  value)
inline

The target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision. When the instance fleet launches, Amazon EMR tries to provision Spot instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When a Spot instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units. You can use InstanceFleet$ProvisionedSpotCapacity to determine the Spot capacity units that have been provisioned for the instance fleet.

If not specified or set to 0, only On-Demand instances are provisioned for the instance fleet. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1.

Definition at line 379 of file InstanceFleet.h.


The documentation for this class was generated from the following file: