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

#include <AutoTerminationPolicy.h>

Public Member Functions

 AutoTerminationPolicy ()
 
 AutoTerminationPolicy (Aws::Utils::Json::JsonView jsonValue)
 
AutoTerminationPolicyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
long long GetIdleTimeout () const
 
bool IdleTimeoutHasBeenSet () const
 
void SetIdleTimeout (long long value)
 
AutoTerminationPolicyWithIdleTimeout (long long value)
 

Detailed Description

An auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination.

See Also:

AWS API Reference

Definition at line 33 of file AutoTerminationPolicy.h.

Constructor & Destructor Documentation

◆ AutoTerminationPolicy() [1/2]

Aws::EMR::Model::AutoTerminationPolicy::AutoTerminationPolicy ( )

◆ AutoTerminationPolicy() [2/2]

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

Member Function Documentation

◆ GetIdleTimeout()

long long Aws::EMR::Model::AutoTerminationPolicy::GetIdleTimeout ( ) const
inline

Specifies the amount of idle time in seconds after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).

Definition at line 47 of file AutoTerminationPolicy.h.

◆ IdleTimeoutHasBeenSet()

bool Aws::EMR::Model::AutoTerminationPolicy::IdleTimeoutHasBeenSet ( ) const
inline

Specifies the amount of idle time in seconds after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).

Definition at line 54 of file AutoTerminationPolicy.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetIdleTimeout()

void Aws::EMR::Model::AutoTerminationPolicy::SetIdleTimeout ( long long  value)
inline

Specifies the amount of idle time in seconds after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).

Definition at line 61 of file AutoTerminationPolicy.h.

◆ WithIdleTimeout()

AutoTerminationPolicy& Aws::EMR::Model::AutoTerminationPolicy::WithIdleTimeout ( long long  value)
inline

Specifies the amount of idle time in seconds after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).

Definition at line 68 of file AutoTerminationPolicy.h.


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