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

#include <ShrinkPolicy.h>

Public Member Functions

 ShrinkPolicy ()
 
 ShrinkPolicy (Aws::Utils::Json::JsonView jsonValue)
 
ShrinkPolicyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
int GetDecommissionTimeout () const
 
bool DecommissionTimeoutHasBeenSet () const
 
void SetDecommissionTimeout (int value)
 
ShrinkPolicyWithDecommissionTimeout (int value)
 
const InstanceResizePolicyGetInstanceResizePolicy () const
 
bool InstanceResizePolicyHasBeenSet () const
 
void SetInstanceResizePolicy (const InstanceResizePolicy &value)
 
void SetInstanceResizePolicy (InstanceResizePolicy &&value)
 
ShrinkPolicyWithInstanceResizePolicy (const InstanceResizePolicy &value)
 
ShrinkPolicyWithInstanceResizePolicy (InstanceResizePolicy &&value)
 

Detailed Description

Policy for customizing shrink operations. Allows configuration of decommissioning timeout and targeted instance shrinking.

See Also:

AWS API Reference

Definition at line 33 of file ShrinkPolicy.h.

Constructor & Destructor Documentation

◆ ShrinkPolicy() [1/2]

Aws::EMR::Model::ShrinkPolicy::ShrinkPolicy ( )

◆ ShrinkPolicy() [2/2]

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

Member Function Documentation

◆ DecommissionTimeoutHasBeenSet()

bool Aws::EMR::Model::ShrinkPolicy::DecommissionTimeoutHasBeenSet ( ) const
inline

The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.

Definition at line 52 of file ShrinkPolicy.h.

◆ GetDecommissionTimeout()

int Aws::EMR::Model::ShrinkPolicy::GetDecommissionTimeout ( ) const
inline

The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.

Definition at line 46 of file ShrinkPolicy.h.

◆ GetInstanceResizePolicy()

const InstanceResizePolicy& Aws::EMR::Model::ShrinkPolicy::GetInstanceResizePolicy ( ) const
inline

Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.

Definition at line 71 of file ShrinkPolicy.h.

◆ InstanceResizePolicyHasBeenSet()

bool Aws::EMR::Model::ShrinkPolicy::InstanceResizePolicyHasBeenSet ( ) const
inline

Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.

Definition at line 77 of file ShrinkPolicy.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetDecommissionTimeout()

void Aws::EMR::Model::ShrinkPolicy::SetDecommissionTimeout ( int  value)
inline

The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.

Definition at line 58 of file ShrinkPolicy.h.

◆ SetInstanceResizePolicy() [1/2]

void Aws::EMR::Model::ShrinkPolicy::SetInstanceResizePolicy ( const InstanceResizePolicy value)
inline

Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.

Definition at line 83 of file ShrinkPolicy.h.

◆ SetInstanceResizePolicy() [2/2]

void Aws::EMR::Model::ShrinkPolicy::SetInstanceResizePolicy ( InstanceResizePolicy &&  value)
inline

Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.

Definition at line 89 of file ShrinkPolicy.h.

◆ WithDecommissionTimeout()

ShrinkPolicy& Aws::EMR::Model::ShrinkPolicy::WithDecommissionTimeout ( int  value)
inline

The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.

Definition at line 64 of file ShrinkPolicy.h.

◆ WithInstanceResizePolicy() [1/2]

ShrinkPolicy& Aws::EMR::Model::ShrinkPolicy::WithInstanceResizePolicy ( const InstanceResizePolicy value)
inline

Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.

Definition at line 95 of file ShrinkPolicy.h.

◆ WithInstanceResizePolicy() [2/2]

ShrinkPolicy& Aws::EMR::Model::ShrinkPolicy::WithInstanceResizePolicy ( InstanceResizePolicy &&  value)
inline

Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.

Definition at line 101 of file ShrinkPolicy.h.


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