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

#include <InstanceGroup.h>

Public Member Functions

 InstanceGroup ()
 
 InstanceGroup (Aws::Utils::Json::JsonView jsonValue)
 
InstanceGroupoperator= (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)
 
InstanceGroupWithId (const Aws::String &value)
 
InstanceGroupWithId (Aws::String &&value)
 
InstanceGroupWithId (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)
 
InstanceGroupWithName (const Aws::String &value)
 
InstanceGroupWithName (Aws::String &&value)
 
InstanceGroupWithName (const char *value)
 
const MarketTypeGetMarket () const
 
bool MarketHasBeenSet () const
 
void SetMarket (const MarketType &value)
 
void SetMarket (MarketType &&value)
 
InstanceGroupWithMarket (const MarketType &value)
 
InstanceGroupWithMarket (MarketType &&value)
 
const InstanceGroupTypeGetInstanceGroupType () const
 
bool InstanceGroupTypeHasBeenSet () const
 
void SetInstanceGroupType (const InstanceGroupType &value)
 
void SetInstanceGroupType (InstanceGroupType &&value)
 
InstanceGroupWithInstanceGroupType (const InstanceGroupType &value)
 
InstanceGroupWithInstanceGroupType (InstanceGroupType &&value)
 
const Aws::StringGetBidPrice () const
 
bool BidPriceHasBeenSet () const
 
void SetBidPrice (const Aws::String &value)
 
void SetBidPrice (Aws::String &&value)
 
void SetBidPrice (const char *value)
 
InstanceGroupWithBidPrice (const Aws::String &value)
 
InstanceGroupWithBidPrice (Aws::String &&value)
 
InstanceGroupWithBidPrice (const char *value)
 
const Aws::StringGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const Aws::String &value)
 
void SetInstanceType (Aws::String &&value)
 
void SetInstanceType (const char *value)
 
InstanceGroupWithInstanceType (const Aws::String &value)
 
InstanceGroupWithInstanceType (Aws::String &&value)
 
InstanceGroupWithInstanceType (const char *value)
 
int GetRequestedInstanceCount () const
 
bool RequestedInstanceCountHasBeenSet () const
 
void SetRequestedInstanceCount (int value)
 
InstanceGroupWithRequestedInstanceCount (int value)
 
int GetRunningInstanceCount () const
 
bool RunningInstanceCountHasBeenSet () const
 
void SetRunningInstanceCount (int value)
 
InstanceGroupWithRunningInstanceCount (int value)
 
const InstanceGroupStatusGetStatus () const
 
bool StatusHasBeenSet () const
 
void SetStatus (const InstanceGroupStatus &value)
 
void SetStatus (InstanceGroupStatus &&value)
 
InstanceGroupWithStatus (const InstanceGroupStatus &value)
 
InstanceGroupWithStatus (InstanceGroupStatus &&value)
 
const Aws::Vector< Configuration > & GetConfigurations () const
 
bool ConfigurationsHasBeenSet () const
 
void SetConfigurations (const Aws::Vector< Configuration > &value)
 
void SetConfigurations (Aws::Vector< Configuration > &&value)
 
InstanceGroupWithConfigurations (const Aws::Vector< Configuration > &value)
 
InstanceGroupWithConfigurations (Aws::Vector< Configuration > &&value)
 
InstanceGroupAddConfigurations (const Configuration &value)
 
InstanceGroupAddConfigurations (Configuration &&value)
 
long long GetConfigurationsVersion () const
 
bool ConfigurationsVersionHasBeenSet () const
 
void SetConfigurationsVersion (long long value)
 
InstanceGroupWithConfigurationsVersion (long long value)
 
const Aws::Vector< Configuration > & GetLastSuccessfullyAppliedConfigurations () const
 
bool LastSuccessfullyAppliedConfigurationsHasBeenSet () const
 
void SetLastSuccessfullyAppliedConfigurations (const Aws::Vector< Configuration > &value)
 
void SetLastSuccessfullyAppliedConfigurations (Aws::Vector< Configuration > &&value)
 
InstanceGroupWithLastSuccessfullyAppliedConfigurations (const Aws::Vector< Configuration > &value)
 
InstanceGroupWithLastSuccessfullyAppliedConfigurations (Aws::Vector< Configuration > &&value)
 
InstanceGroupAddLastSuccessfullyAppliedConfigurations (const Configuration &value)
 
InstanceGroupAddLastSuccessfullyAppliedConfigurations (Configuration &&value)
 
long long GetLastSuccessfullyAppliedConfigurationsVersion () const
 
bool LastSuccessfullyAppliedConfigurationsVersionHasBeenSet () const
 
void SetLastSuccessfullyAppliedConfigurationsVersion (long long value)
 
InstanceGroupWithLastSuccessfullyAppliedConfigurationsVersion (long long value)
 
const Aws::Vector< EbsBlockDevice > & GetEbsBlockDevices () const
 
bool EbsBlockDevicesHasBeenSet () const
 
void SetEbsBlockDevices (const Aws::Vector< EbsBlockDevice > &value)
 
void SetEbsBlockDevices (Aws::Vector< EbsBlockDevice > &&value)
 
InstanceGroupWithEbsBlockDevices (const Aws::Vector< EbsBlockDevice > &value)
 
InstanceGroupWithEbsBlockDevices (Aws::Vector< EbsBlockDevice > &&value)
 
InstanceGroupAddEbsBlockDevices (const EbsBlockDevice &value)
 
InstanceGroupAddEbsBlockDevices (EbsBlockDevice &&value)
 
bool GetEbsOptimized () const
 
bool EbsOptimizedHasBeenSet () const
 
void SetEbsOptimized (bool value)
 
InstanceGroupWithEbsOptimized (bool value)
 
const ShrinkPolicyGetShrinkPolicy () const
 
bool ShrinkPolicyHasBeenSet () const
 
void SetShrinkPolicy (const ShrinkPolicy &value)
 
void SetShrinkPolicy (ShrinkPolicy &&value)
 
InstanceGroupWithShrinkPolicy (const ShrinkPolicy &value)
 
InstanceGroupWithShrinkPolicy (ShrinkPolicy &&value)
 
const AutoScalingPolicyDescriptionGetAutoScalingPolicy () const
 
bool AutoScalingPolicyHasBeenSet () const
 
void SetAutoScalingPolicy (const AutoScalingPolicyDescription &value)
 
void SetAutoScalingPolicy (AutoScalingPolicyDescription &&value)
 
InstanceGroupWithAutoScalingPolicy (const AutoScalingPolicyDescription &value)
 
InstanceGroupWithAutoScalingPolicy (AutoScalingPolicyDescription &&value)
 

Detailed Description

This entity represents an instance group, which is a group of instances that have common purpose. For example, CORE instance group is used for HDFS.

See Also:

AWS API Reference

Definition at line 41 of file InstanceGroup.h.

Constructor & Destructor Documentation

◆ InstanceGroup() [1/2]

Aws::EMR::Model::InstanceGroup::InstanceGroup ( )

◆ InstanceGroup() [2/2]

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

Member Function Documentation

◆ AddConfigurations() [1/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::AddConfigurations ( const Configuration value)
inline

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Definition at line 426 of file InstanceGroup.h.

◆ AddConfigurations() [2/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::AddConfigurations ( Configuration &&  value)
inline

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Definition at line 433 of file InstanceGroup.h.

◆ AddEbsBlockDevices() [1/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::AddEbsBlockDevices ( const EbsBlockDevice value)
inline

The EBS block devices that are mapped to this instance group.

Definition at line 568 of file InstanceGroup.h.

◆ AddEbsBlockDevices() [2/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::AddEbsBlockDevices ( EbsBlockDevice &&  value)
inline

The EBS block devices that are mapped to this instance group.

Definition at line 573 of file InstanceGroup.h.

◆ AddLastSuccessfullyAppliedConfigurations() [1/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::AddLastSuccessfullyAppliedConfigurations ( const Configuration value)
inline

A list of configurations that were successfully applied for an instance group last time.

Definition at line 501 of file InstanceGroup.h.

◆ AddLastSuccessfullyAppliedConfigurations() [2/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::AddLastSuccessfullyAppliedConfigurations ( Configuration &&  value)
inline

A list of configurations that were successfully applied for an instance group last time.

Definition at line 507 of file InstanceGroup.h.

◆ AutoScalingPolicyHasBeenSet()

bool Aws::EMR::Model::InstanceGroup::AutoScalingPolicyHasBeenSet ( ) const
inline

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Definition at line 650 of file InstanceGroup.h.

◆ BidPriceHasBeenSet()

bool Aws::EMR::Model::InstanceGroup::BidPriceHasBeenSet ( ) const
inline

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 214 of file InstanceGroup.h.

◆ ConfigurationsHasBeenSet()

bool Aws::EMR::Model::InstanceGroup::ConfigurationsHasBeenSet ( ) const
inline

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Definition at line 391 of file InstanceGroup.h.

◆ ConfigurationsVersionHasBeenSet()

bool Aws::EMR::Model::InstanceGroup::ConfigurationsVersionHasBeenSet ( ) const
inline

The version number of the requested configuration specification for this instance group.

Definition at line 446 of file InstanceGroup.h.

◆ EbsBlockDevicesHasBeenSet()

bool Aws::EMR::Model::InstanceGroup::EbsBlockDevicesHasBeenSet ( ) const
inline

The EBS block devices that are mapped to this instance group.

Definition at line 543 of file InstanceGroup.h.

◆ EbsOptimizedHasBeenSet()

bool Aws::EMR::Model::InstanceGroup::EbsOptimizedHasBeenSet ( ) const
inline

If the instance group is EBS-optimized. An Amazon EBS-optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O.

Definition at line 588 of file InstanceGroup.h.

◆ GetAutoScalingPolicy()

const AutoScalingPolicyDescription& Aws::EMR::Model::InstanceGroup::GetAutoScalingPolicy ( ) const
inline

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Definition at line 642 of file InstanceGroup.h.

◆ GetBidPrice()

const Aws::String& Aws::EMR::Model::InstanceGroup::GetBidPrice ( ) const
inline

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 206 of file InstanceGroup.h.

◆ GetConfigurations()

const Aws::Vector<Configuration>& Aws::EMR::Model::InstanceGroup::GetConfigurations ( ) const
inline

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Definition at line 384 of file InstanceGroup.h.

◆ GetConfigurationsVersion()

long long Aws::EMR::Model::InstanceGroup::GetConfigurationsVersion ( ) const
inline

The version number of the requested configuration specification for this instance group.

Definition at line 440 of file InstanceGroup.h.

◆ GetEbsBlockDevices()

const Aws::Vector<EbsBlockDevice>& Aws::EMR::Model::InstanceGroup::GetEbsBlockDevices ( ) const
inline

The EBS block devices that are mapped to this instance group.

Definition at line 538 of file InstanceGroup.h.

◆ GetEbsOptimized()

bool Aws::EMR::Model::InstanceGroup::GetEbsOptimized ( ) const
inline

If the instance group is EBS-optimized. An Amazon EBS-optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O.

Definition at line 581 of file InstanceGroup.h.

◆ GetId()

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

The identifier of the instance group.

Definition at line 53 of file InstanceGroup.h.

◆ GetInstanceGroupType()

const InstanceGroupType& Aws::EMR::Model::InstanceGroup::GetInstanceGroupType ( ) const
inline

The type of the instance group. Valid values are MASTER, CORE or TASK.

Definition at line 172 of file InstanceGroup.h.

◆ GetInstanceType()

const Aws::String& Aws::EMR::Model::InstanceGroup::GetInstanceType ( ) const
inline

The EC2 instance type for all instances in the instance group.

Definition at line 268 of file InstanceGroup.h.

◆ GetLastSuccessfullyAppliedConfigurations()

const Aws::Vector<Configuration>& Aws::EMR::Model::InstanceGroup::GetLastSuccessfullyAppliedConfigurations ( ) const
inline

A list of configurations that were successfully applied for an instance group last time.

Definition at line 465 of file InstanceGroup.h.

◆ GetLastSuccessfullyAppliedConfigurationsVersion()

long long Aws::EMR::Model::InstanceGroup::GetLastSuccessfullyAppliedConfigurationsVersion ( ) const
inline

The version number of a configuration specification that was successfully applied for an instance group last time.

Definition at line 514 of file InstanceGroup.h.

◆ GetMarket()

const MarketType& Aws::EMR::Model::InstanceGroup::GetMarket ( ) const
inline

The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.

Definition at line 136 of file InstanceGroup.h.

◆ GetName()

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

The name of the instance group.

Definition at line 94 of file InstanceGroup.h.

◆ GetRequestedInstanceCount()

int Aws::EMR::Model::InstanceGroup::GetRequestedInstanceCount ( ) const
inline

The target number of instances for the instance group.

Definition at line 309 of file InstanceGroup.h.

◆ GetRunningInstanceCount()

int Aws::EMR::Model::InstanceGroup::GetRunningInstanceCount ( ) const
inline

The number of instances currently running in this instance group.

Definition at line 330 of file InstanceGroup.h.

◆ GetShrinkPolicy()

const ShrinkPolicy& Aws::EMR::Model::InstanceGroup::GetShrinkPolicy ( ) const
inline

Policy for customizing shrink operations.

Definition at line 608 of file InstanceGroup.h.

◆ GetStatus()

const InstanceGroupStatus& Aws::EMR::Model::InstanceGroup::GetStatus ( ) const
inline

The current status of the instance group.

Definition at line 351 of file InstanceGroup.h.

◆ IdHasBeenSet()

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

The identifier of the instance group.

Definition at line 58 of file InstanceGroup.h.

◆ InstanceGroupTypeHasBeenSet()

bool Aws::EMR::Model::InstanceGroup::InstanceGroupTypeHasBeenSet ( ) const
inline

The type of the instance group. Valid values are MASTER, CORE or TASK.

Definition at line 177 of file InstanceGroup.h.

◆ InstanceTypeHasBeenSet()

bool Aws::EMR::Model::InstanceGroup::InstanceTypeHasBeenSet ( ) const
inline

The EC2 instance type for all instances in the instance group.

Definition at line 273 of file InstanceGroup.h.

◆ Jsonize()

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

◆ LastSuccessfullyAppliedConfigurationsHasBeenSet()

bool Aws::EMR::Model::InstanceGroup::LastSuccessfullyAppliedConfigurationsHasBeenSet ( ) const
inline

A list of configurations that were successfully applied for an instance group last time.

Definition at line 471 of file InstanceGroup.h.

◆ LastSuccessfullyAppliedConfigurationsVersionHasBeenSet()

bool Aws::EMR::Model::InstanceGroup::LastSuccessfullyAppliedConfigurationsVersionHasBeenSet ( ) const
inline

The version number of a configuration specification that was successfully applied for an instance group last time.

Definition at line 520 of file InstanceGroup.h.

◆ MarketHasBeenSet()

bool Aws::EMR::Model::InstanceGroup::MarketHasBeenSet ( ) const
inline

The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.

Definition at line 142 of file InstanceGroup.h.

◆ NameHasBeenSet()

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

The name of the instance group.

Definition at line 99 of file InstanceGroup.h.

◆ operator=()

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

◆ RequestedInstanceCountHasBeenSet()

bool Aws::EMR::Model::InstanceGroup::RequestedInstanceCountHasBeenSet ( ) const
inline

The target number of instances for the instance group.

Definition at line 314 of file InstanceGroup.h.

◆ RunningInstanceCountHasBeenSet()

bool Aws::EMR::Model::InstanceGroup::RunningInstanceCountHasBeenSet ( ) const
inline

The number of instances currently running in this instance group.

Definition at line 335 of file InstanceGroup.h.

◆ SetAutoScalingPolicy() [1/2]

void Aws::EMR::Model::InstanceGroup::SetAutoScalingPolicy ( const AutoScalingPolicyDescription value)
inline

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Definition at line 658 of file InstanceGroup.h.

◆ SetAutoScalingPolicy() [2/2]

void Aws::EMR::Model::InstanceGroup::SetAutoScalingPolicy ( AutoScalingPolicyDescription &&  value)
inline

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Definition at line 666 of file InstanceGroup.h.

◆ SetBidPrice() [1/3]

void Aws::EMR::Model::InstanceGroup::SetBidPrice ( const Aws::String value)
inline

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 222 of file InstanceGroup.h.

◆ SetBidPrice() [2/3]

void Aws::EMR::Model::InstanceGroup::SetBidPrice ( Aws::String &&  value)
inline

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 230 of file InstanceGroup.h.

◆ SetBidPrice() [3/3]

void Aws::EMR::Model::InstanceGroup::SetBidPrice ( const char *  value)
inline

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 238 of file InstanceGroup.h.

◆ SetConfigurations() [1/2]

void Aws::EMR::Model::InstanceGroup::SetConfigurations ( const Aws::Vector< Configuration > &  value)
inline

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Definition at line 398 of file InstanceGroup.h.

◆ SetConfigurations() [2/2]

void Aws::EMR::Model::InstanceGroup::SetConfigurations ( Aws::Vector< Configuration > &&  value)
inline

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Definition at line 405 of file InstanceGroup.h.

◆ SetConfigurationsVersion()

void Aws::EMR::Model::InstanceGroup::SetConfigurationsVersion ( long long  value)
inline

The version number of the requested configuration specification for this instance group.

Definition at line 452 of file InstanceGroup.h.

◆ SetEbsBlockDevices() [1/2]

void Aws::EMR::Model::InstanceGroup::SetEbsBlockDevices ( const Aws::Vector< EbsBlockDevice > &  value)
inline

The EBS block devices that are mapped to this instance group.

Definition at line 548 of file InstanceGroup.h.

◆ SetEbsBlockDevices() [2/2]

void Aws::EMR::Model::InstanceGroup::SetEbsBlockDevices ( Aws::Vector< EbsBlockDevice > &&  value)
inline

The EBS block devices that are mapped to this instance group.

Definition at line 553 of file InstanceGroup.h.

◆ SetEbsOptimized()

void Aws::EMR::Model::InstanceGroup::SetEbsOptimized ( bool  value)
inline

If the instance group is EBS-optimized. An Amazon EBS-optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O.

Definition at line 595 of file InstanceGroup.h.

◆ SetId() [1/3]

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

The identifier of the instance group.

Definition at line 63 of file InstanceGroup.h.

◆ SetId() [2/3]

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

The identifier of the instance group.

Definition at line 68 of file InstanceGroup.h.

◆ SetId() [3/3]

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

The identifier of the instance group.

Definition at line 73 of file InstanceGroup.h.

◆ SetInstanceGroupType() [1/2]

void Aws::EMR::Model::InstanceGroup::SetInstanceGroupType ( const InstanceGroupType value)
inline

The type of the instance group. Valid values are MASTER, CORE or TASK.

Definition at line 182 of file InstanceGroup.h.

◆ SetInstanceGroupType() [2/2]

void Aws::EMR::Model::InstanceGroup::SetInstanceGroupType ( InstanceGroupType &&  value)
inline

The type of the instance group. Valid values are MASTER, CORE or TASK.

Definition at line 187 of file InstanceGroup.h.

◆ SetInstanceType() [1/3]

void Aws::EMR::Model::InstanceGroup::SetInstanceType ( const Aws::String value)
inline

The EC2 instance type for all instances in the instance group.

Definition at line 278 of file InstanceGroup.h.

◆ SetInstanceType() [2/3]

void Aws::EMR::Model::InstanceGroup::SetInstanceType ( Aws::String &&  value)
inline

The EC2 instance type for all instances in the instance group.

Definition at line 283 of file InstanceGroup.h.

◆ SetInstanceType() [3/3]

void Aws::EMR::Model::InstanceGroup::SetInstanceType ( const char *  value)
inline

The EC2 instance type for all instances in the instance group.

Definition at line 288 of file InstanceGroup.h.

◆ SetLastSuccessfullyAppliedConfigurations() [1/2]

void Aws::EMR::Model::InstanceGroup::SetLastSuccessfullyAppliedConfigurations ( const Aws::Vector< Configuration > &  value)
inline

A list of configurations that were successfully applied for an instance group last time.

Definition at line 477 of file InstanceGroup.h.

◆ SetLastSuccessfullyAppliedConfigurations() [2/2]

void Aws::EMR::Model::InstanceGroup::SetLastSuccessfullyAppliedConfigurations ( Aws::Vector< Configuration > &&  value)
inline

A list of configurations that were successfully applied for an instance group last time.

Definition at line 483 of file InstanceGroup.h.

◆ SetLastSuccessfullyAppliedConfigurationsVersion()

void Aws::EMR::Model::InstanceGroup::SetLastSuccessfullyAppliedConfigurationsVersion ( long long  value)
inline

The version number of a configuration specification that was successfully applied for an instance group last time.

Definition at line 526 of file InstanceGroup.h.

◆ SetMarket() [1/2]

void Aws::EMR::Model::InstanceGroup::SetMarket ( const MarketType value)
inline

The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.

Definition at line 148 of file InstanceGroup.h.

◆ SetMarket() [2/2]

void Aws::EMR::Model::InstanceGroup::SetMarket ( MarketType &&  value)
inline

The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.

Definition at line 154 of file InstanceGroup.h.

◆ SetName() [1/3]

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

The name of the instance group.

Definition at line 104 of file InstanceGroup.h.

◆ SetName() [2/3]

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

The name of the instance group.

Definition at line 109 of file InstanceGroup.h.

◆ SetName() [3/3]

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

The name of the instance group.

Definition at line 114 of file InstanceGroup.h.

◆ SetRequestedInstanceCount()

void Aws::EMR::Model::InstanceGroup::SetRequestedInstanceCount ( int  value)
inline

The target number of instances for the instance group.

Definition at line 319 of file InstanceGroup.h.

◆ SetRunningInstanceCount()

void Aws::EMR::Model::InstanceGroup::SetRunningInstanceCount ( int  value)
inline

The number of instances currently running in this instance group.

Definition at line 340 of file InstanceGroup.h.

◆ SetShrinkPolicy() [1/2]

void Aws::EMR::Model::InstanceGroup::SetShrinkPolicy ( const ShrinkPolicy value)
inline

Policy for customizing shrink operations.

Definition at line 618 of file InstanceGroup.h.

◆ SetShrinkPolicy() [2/2]

void Aws::EMR::Model::InstanceGroup::SetShrinkPolicy ( ShrinkPolicy &&  value)
inline

Policy for customizing shrink operations.

Definition at line 623 of file InstanceGroup.h.

◆ SetStatus() [1/2]

void Aws::EMR::Model::InstanceGroup::SetStatus ( const InstanceGroupStatus value)
inline

The current status of the instance group.

Definition at line 361 of file InstanceGroup.h.

◆ SetStatus() [2/2]

void Aws::EMR::Model::InstanceGroup::SetStatus ( InstanceGroupStatus &&  value)
inline

The current status of the instance group.

Definition at line 366 of file InstanceGroup.h.

◆ ShrinkPolicyHasBeenSet()

bool Aws::EMR::Model::InstanceGroup::ShrinkPolicyHasBeenSet ( ) const
inline

Policy for customizing shrink operations.

Definition at line 613 of file InstanceGroup.h.

◆ StatusHasBeenSet()

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

The current status of the instance group.

Definition at line 356 of file InstanceGroup.h.

◆ WithAutoScalingPolicy() [1/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithAutoScalingPolicy ( const AutoScalingPolicyDescription value)
inline

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Definition at line 674 of file InstanceGroup.h.

◆ WithAutoScalingPolicy() [2/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithAutoScalingPolicy ( AutoScalingPolicyDescription &&  value)
inline

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Definition at line 682 of file InstanceGroup.h.

◆ WithBidPrice() [1/3]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithBidPrice ( const Aws::String value)
inline

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 246 of file InstanceGroup.h.

◆ WithBidPrice() [2/3]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithBidPrice ( Aws::String &&  value)
inline

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 254 of file InstanceGroup.h.

◆ WithBidPrice() [3/3]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithBidPrice ( const char *  value)
inline

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 262 of file InstanceGroup.h.

◆ WithConfigurations() [1/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithConfigurations ( const Aws::Vector< Configuration > &  value)
inline

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Definition at line 412 of file InstanceGroup.h.

◆ WithConfigurations() [2/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithConfigurations ( Aws::Vector< Configuration > &&  value)
inline

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Definition at line 419 of file InstanceGroup.h.

◆ WithConfigurationsVersion()

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithConfigurationsVersion ( long long  value)
inline

The version number of the requested configuration specification for this instance group.

Definition at line 458 of file InstanceGroup.h.

◆ WithEbsBlockDevices() [1/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithEbsBlockDevices ( const Aws::Vector< EbsBlockDevice > &  value)
inline

The EBS block devices that are mapped to this instance group.

Definition at line 558 of file InstanceGroup.h.

◆ WithEbsBlockDevices() [2/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithEbsBlockDevices ( Aws::Vector< EbsBlockDevice > &&  value)
inline

The EBS block devices that are mapped to this instance group.

Definition at line 563 of file InstanceGroup.h.

◆ WithEbsOptimized()

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithEbsOptimized ( bool  value)
inline

If the instance group is EBS-optimized. An Amazon EBS-optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O.

Definition at line 602 of file InstanceGroup.h.

◆ WithId() [1/3]

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

The identifier of the instance group.

Definition at line 78 of file InstanceGroup.h.

◆ WithId() [2/3]

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

The identifier of the instance group.

Definition at line 83 of file InstanceGroup.h.

◆ WithId() [3/3]

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

The identifier of the instance group.

Definition at line 88 of file InstanceGroup.h.

◆ WithInstanceGroupType() [1/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithInstanceGroupType ( const InstanceGroupType value)
inline

The type of the instance group. Valid values are MASTER, CORE or TASK.

Definition at line 192 of file InstanceGroup.h.

◆ WithInstanceGroupType() [2/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithInstanceGroupType ( InstanceGroupType &&  value)
inline

The type of the instance group. Valid values are MASTER, CORE or TASK.

Definition at line 197 of file InstanceGroup.h.

◆ WithInstanceType() [1/3]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithInstanceType ( const Aws::String value)
inline

The EC2 instance type for all instances in the instance group.

Definition at line 293 of file InstanceGroup.h.

◆ WithInstanceType() [2/3]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithInstanceType ( Aws::String &&  value)
inline

The EC2 instance type for all instances in the instance group.

Definition at line 298 of file InstanceGroup.h.

◆ WithInstanceType() [3/3]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithInstanceType ( const char *  value)
inline

The EC2 instance type for all instances in the instance group.

Definition at line 303 of file InstanceGroup.h.

◆ WithLastSuccessfullyAppliedConfigurations() [1/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithLastSuccessfullyAppliedConfigurations ( const Aws::Vector< Configuration > &  value)
inline

A list of configurations that were successfully applied for an instance group last time.

Definition at line 489 of file InstanceGroup.h.

◆ WithLastSuccessfullyAppliedConfigurations() [2/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithLastSuccessfullyAppliedConfigurations ( Aws::Vector< Configuration > &&  value)
inline

A list of configurations that were successfully applied for an instance group last time.

Definition at line 495 of file InstanceGroup.h.

◆ WithLastSuccessfullyAppliedConfigurationsVersion()

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithLastSuccessfullyAppliedConfigurationsVersion ( long long  value)
inline

The version number of a configuration specification that was successfully applied for an instance group last time.

Definition at line 532 of file InstanceGroup.h.

◆ WithMarket() [1/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithMarket ( const MarketType value)
inline

The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.

Definition at line 160 of file InstanceGroup.h.

◆ WithMarket() [2/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithMarket ( MarketType &&  value)
inline

The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.

Definition at line 166 of file InstanceGroup.h.

◆ WithName() [1/3]

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

The name of the instance group.

Definition at line 119 of file InstanceGroup.h.

◆ WithName() [2/3]

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

The name of the instance group.

Definition at line 124 of file InstanceGroup.h.

◆ WithName() [3/3]

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

The name of the instance group.

Definition at line 129 of file InstanceGroup.h.

◆ WithRequestedInstanceCount()

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithRequestedInstanceCount ( int  value)
inline

The target number of instances for the instance group.

Definition at line 324 of file InstanceGroup.h.

◆ WithRunningInstanceCount()

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithRunningInstanceCount ( int  value)
inline

The number of instances currently running in this instance group.

Definition at line 345 of file InstanceGroup.h.

◆ WithShrinkPolicy() [1/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithShrinkPolicy ( const ShrinkPolicy value)
inline

Policy for customizing shrink operations.

Definition at line 628 of file InstanceGroup.h.

◆ WithShrinkPolicy() [2/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithShrinkPolicy ( ShrinkPolicy &&  value)
inline

Policy for customizing shrink operations.

Definition at line 633 of file InstanceGroup.h.

◆ WithStatus() [1/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithStatus ( const InstanceGroupStatus value)
inline

The current status of the instance group.

Definition at line 371 of file InstanceGroup.h.

◆ WithStatus() [2/2]

InstanceGroup& Aws::EMR::Model::InstanceGroup::WithStatus ( InstanceGroupStatus &&  value)
inline

The current status of the instance group.

Definition at line 376 of file InstanceGroup.h.


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