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

#include <ScalingConstraints.h>

Public Member Functions

 ScalingConstraints ()
 
 ScalingConstraints (Aws::Utils::Json::JsonView jsonValue)
 
ScalingConstraintsoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
int GetMinCapacity () const
 
bool MinCapacityHasBeenSet () const
 
void SetMinCapacity (int value)
 
ScalingConstraintsWithMinCapacity (int value)
 
int GetMaxCapacity () const
 
bool MaxCapacityHasBeenSet () const
 
void SetMaxCapacity (int value)
 
ScalingConstraintsWithMaxCapacity (int value)
 

Detailed Description

The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activities triggered by automatic scaling rules will not cause an instance group to grow above or below these limits.

See Also:

AWS API Reference

Definition at line 32 of file ScalingConstraints.h.

Constructor & Destructor Documentation

◆ ScalingConstraints() [1/2]

Aws::EMR::Model::ScalingConstraints::ScalingConstraints ( )

◆ ScalingConstraints() [2/2]

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

Member Function Documentation

◆ GetMaxCapacity()

int Aws::EMR::Model::ScalingConstraints::GetMaxCapacity ( ) const
inline

The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.

Definition at line 75 of file ScalingConstraints.h.

◆ GetMinCapacity()

int Aws::EMR::Model::ScalingConstraints::GetMinCapacity ( ) const
inline

The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.

Definition at line 46 of file ScalingConstraints.h.

◆ Jsonize()

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

◆ MaxCapacityHasBeenSet()

bool Aws::EMR::Model::ScalingConstraints::MaxCapacityHasBeenSet ( ) const
inline

The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.

Definition at line 82 of file ScalingConstraints.h.

◆ MinCapacityHasBeenSet()

bool Aws::EMR::Model::ScalingConstraints::MinCapacityHasBeenSet ( ) const
inline

The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.

Definition at line 53 of file ScalingConstraints.h.

◆ operator=()

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

◆ SetMaxCapacity()

void Aws::EMR::Model::ScalingConstraints::SetMaxCapacity ( int  value)
inline

The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.

Definition at line 89 of file ScalingConstraints.h.

◆ SetMinCapacity()

void Aws::EMR::Model::ScalingConstraints::SetMinCapacity ( int  value)
inline

The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.

Definition at line 60 of file ScalingConstraints.h.

◆ WithMaxCapacity()

ScalingConstraints& Aws::EMR::Model::ScalingConstraints::WithMaxCapacity ( int  value)
inline

The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.

Definition at line 96 of file ScalingConstraints.h.

◆ WithMinCapacity()

ScalingConstraints& Aws::EMR::Model::ScalingConstraints::WithMinCapacity ( int  value)
inline

The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.

Definition at line 67 of file ScalingConstraints.h.


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