public class JobFlowDetail extends Object implements Serializable, Cloneable
A description of a job flow.
| Constructor and Description | 
|---|
| JobFlowDetail()Default constructor for JobFlowDetail object. | 
| JobFlowDetail(String jobFlowId,
             String name,
             JobFlowExecutionStatusDetail executionStatusDetail,
             JobFlowInstancesDetail instances)Constructs a new JobFlowDetail object. | 
| Modifier and Type | Method and Description | 
|---|---|
| JobFlowDetail | clone() | 
| boolean | equals(Object obj) | 
| String | getAmiVersion()
 The version of the AMI used to initialize Amazon EC2 instances in the job flow. | 
| String | getAutoScalingRole()
 An IAM role for automatic scaling policies. | 
| List<BootstrapActionDetail> | getBootstrapActions()
 A list of the bootstrap actions run by the job flow. | 
| JobFlowExecutionStatusDetail | getExecutionStatusDetail()
 Describes the execution status of the job flow. | 
| JobFlowInstancesDetail | getInstances()
 Describes the Amazon EC2 instances of the job flow. | 
| String | getJobFlowId()
 The job flow identifier. | 
| String | getJobFlowRole()
 The IAM role that was specified when the job flow was launched. | 
| String | getLogUri()
 The location in Amazon S3 where log files for the job are stored. | 
| String | getName()
 The name of the job flow. | 
| String | getScaleDownBehavior()
 The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance
 group is resized. | 
| String | getServiceRole()
 The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf. | 
| List<StepDetail> | getSteps()
 A list of steps run by the job flow. | 
| List<String> | getSupportedProducts()
 A list of strings set by third party software when the job flow is launched. | 
| Boolean | getVisibleToAllUsers()
 Specifies whether the job flow is visible to all IAM users of the AWS account associated with the job flow. | 
| int | hashCode() | 
| Boolean | isVisibleToAllUsers()
 Specifies whether the job flow is visible to all IAM users of the AWS account associated with the job flow. | 
| void | setAmiVersion(String amiVersion)
 The version of the AMI used to initialize Amazon EC2 instances in the job flow. | 
| void | setAutoScalingRole(String autoScalingRole)
 An IAM role for automatic scaling policies. | 
| void | setBootstrapActions(Collection<BootstrapActionDetail> bootstrapActions)
 A list of the bootstrap actions run by the job flow. | 
| void | setExecutionStatusDetail(JobFlowExecutionStatusDetail executionStatusDetail)
 Describes the execution status of the job flow. | 
| void | setInstances(JobFlowInstancesDetail instances)
 Describes the Amazon EC2 instances of the job flow. | 
| void | setJobFlowId(String jobFlowId)
 The job flow identifier. | 
| void | setJobFlowRole(String jobFlowRole)
 The IAM role that was specified when the job flow was launched. | 
| void | setLogUri(String logUri)
 The location in Amazon S3 where log files for the job are stored. | 
| void | setName(String name)
 The name of the job flow. | 
| void | setScaleDownBehavior(ScaleDownBehavior scaleDownBehavior)
 The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance
 group is resized. | 
| void | setScaleDownBehavior(String scaleDownBehavior)
 The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance
 group is resized. | 
| void | setServiceRole(String serviceRole)
 The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf. | 
| void | setSteps(Collection<StepDetail> steps)
 A list of steps run by the job flow. | 
| void | setSupportedProducts(Collection<String> supportedProducts)
 A list of strings set by third party software when the job flow is launched. | 
| void | setVisibleToAllUsers(Boolean visibleToAllUsers)
 Specifies whether the job flow is visible to all IAM users of the AWS account associated with the job flow. | 
| String | toString()Returns a string representation of this object; useful for testing and debugging. | 
| JobFlowDetail | withAmiVersion(String amiVersion)
 The version of the AMI used to initialize Amazon EC2 instances in the job flow. | 
| JobFlowDetail | withAutoScalingRole(String autoScalingRole)
 An IAM role for automatic scaling policies. | 
| JobFlowDetail | withBootstrapActions(BootstrapActionDetail... bootstrapActions)
 A list of the bootstrap actions run by the job flow. | 
| JobFlowDetail | withBootstrapActions(Collection<BootstrapActionDetail> bootstrapActions)
 A list of the bootstrap actions run by the job flow. | 
| JobFlowDetail | withExecutionStatusDetail(JobFlowExecutionStatusDetail executionStatusDetail)
 Describes the execution status of the job flow. | 
| JobFlowDetail | withInstances(JobFlowInstancesDetail instances)
 Describes the Amazon EC2 instances of the job flow. | 
| JobFlowDetail | withJobFlowId(String jobFlowId)
 The job flow identifier. | 
| JobFlowDetail | withJobFlowRole(String jobFlowRole)
 The IAM role that was specified when the job flow was launched. | 
| JobFlowDetail | withLogUri(String logUri)
 The location in Amazon S3 where log files for the job are stored. | 
| JobFlowDetail | withName(String name)
 The name of the job flow. | 
| JobFlowDetail | withScaleDownBehavior(ScaleDownBehavior scaleDownBehavior)
 The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance
 group is resized. | 
| JobFlowDetail | withScaleDownBehavior(String scaleDownBehavior)
 The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance
 group is resized. | 
| JobFlowDetail | withServiceRole(String serviceRole)
 The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf. | 
| JobFlowDetail | withSteps(Collection<StepDetail> steps)
 A list of steps run by the job flow. | 
| JobFlowDetail | withSteps(StepDetail... steps)
 A list of steps run by the job flow. | 
| JobFlowDetail | withSupportedProducts(Collection<String> supportedProducts)
 A list of strings set by third party software when the job flow is launched. | 
| JobFlowDetail | withSupportedProducts(String... supportedProducts)
 A list of strings set by third party software when the job flow is launched. | 
| JobFlowDetail | withVisibleToAllUsers(Boolean visibleToAllUsers)
 Specifies whether the job flow is visible to all IAM users of the AWS account associated with the job flow. | 
public JobFlowDetail()
public JobFlowDetail(String jobFlowId, String name, JobFlowExecutionStatusDetail executionStatusDetail, JobFlowInstancesDetail instances)
jobFlowId - The job flow identifier.name - The name of the job flow.executionStatusDetail - Describes the execution status of the job flow.instances - Describes the Amazon EC2 instances of the job flow.public void setJobFlowId(String jobFlowId)
The job flow identifier.
jobFlowId - The job flow identifier.public String getJobFlowId()
The job flow identifier.
public JobFlowDetail withJobFlowId(String jobFlowId)
The job flow identifier.
jobFlowId - The job flow identifier.public void setName(String name)
The name of the job flow.
name - The name of the job flow.public String getName()
The name of the job flow.
public JobFlowDetail withName(String name)
The name of the job flow.
name - The name of the job flow.public void setLogUri(String logUri)
The location in Amazon S3 where log files for the job are stored.
logUri - The location in Amazon S3 where log files for the job are stored.public String getLogUri()
The location in Amazon S3 where log files for the job are stored.
public JobFlowDetail withLogUri(String logUri)
The location in Amazon S3 where log files for the job are stored.
logUri - The location in Amazon S3 where log files for the job are stored.public void setAmiVersion(String amiVersion)
The version of the AMI used to initialize Amazon EC2 instances in the job flow. For a list of AMI versions currently supported by Amazon EMR, see AMI Versions Supported in EMR in the Amazon EMR Developer Guide.
amiVersion - The version of the AMI used to initialize Amazon EC2 instances in the job flow. For a list of AMI versions
        currently supported by Amazon EMR, see AMI Versions Supported in EMR in the Amazon EMR Developer Guide.public String getAmiVersion()
The version of the AMI used to initialize Amazon EC2 instances in the job flow. For a list of AMI versions currently supported by Amazon EMR, see AMI Versions Supported in EMR in the Amazon EMR Developer Guide.
public JobFlowDetail withAmiVersion(String amiVersion)
The version of the AMI used to initialize Amazon EC2 instances in the job flow. For a list of AMI versions currently supported by Amazon EMR, see AMI Versions Supported in EMR in the Amazon EMR Developer Guide.
amiVersion - The version of the AMI used to initialize Amazon EC2 instances in the job flow. For a list of AMI versions
        currently supported by Amazon EMR, see AMI Versions Supported in EMR in the Amazon EMR Developer Guide.public void setExecutionStatusDetail(JobFlowExecutionStatusDetail executionStatusDetail)
Describes the execution status of the job flow.
executionStatusDetail - Describes the execution status of the job flow.public JobFlowExecutionStatusDetail getExecutionStatusDetail()
Describes the execution status of the job flow.
public JobFlowDetail withExecutionStatusDetail(JobFlowExecutionStatusDetail executionStatusDetail)
Describes the execution status of the job flow.
executionStatusDetail - Describes the execution status of the job flow.public void setInstances(JobFlowInstancesDetail instances)
Describes the Amazon EC2 instances of the job flow.
instances - Describes the Amazon EC2 instances of the job flow.public JobFlowInstancesDetail getInstances()
Describes the Amazon EC2 instances of the job flow.
public JobFlowDetail withInstances(JobFlowInstancesDetail instances)
Describes the Amazon EC2 instances of the job flow.
instances - Describes the Amazon EC2 instances of the job flow.public List<StepDetail> getSteps()
A list of steps run by the job flow.
public void setSteps(Collection<StepDetail> steps)
A list of steps run by the job flow.
steps - A list of steps run by the job flow.public JobFlowDetail withSteps(StepDetail... steps)
A list of steps run by the job flow.
 NOTE: This method appends the values to the existing list (if any). Use
 setSteps(java.util.Collection) or withSteps(java.util.Collection) if you want to override the
 existing values.
 
steps - A list of steps run by the job flow.public JobFlowDetail withSteps(Collection<StepDetail> steps)
A list of steps run by the job flow.
steps - A list of steps run by the job flow.public List<BootstrapActionDetail> getBootstrapActions()
A list of the bootstrap actions run by the job flow.
public void setBootstrapActions(Collection<BootstrapActionDetail> bootstrapActions)
A list of the bootstrap actions run by the job flow.
bootstrapActions - A list of the bootstrap actions run by the job flow.public JobFlowDetail withBootstrapActions(BootstrapActionDetail... bootstrapActions)
A list of the bootstrap actions run by the job flow.
 NOTE: This method appends the values to the existing list (if any). Use
 setBootstrapActions(java.util.Collection) or withBootstrapActions(java.util.Collection) if you
 want to override the existing values.
 
bootstrapActions - A list of the bootstrap actions run by the job flow.public JobFlowDetail withBootstrapActions(Collection<BootstrapActionDetail> bootstrapActions)
A list of the bootstrap actions run by the job flow.
bootstrapActions - A list of the bootstrap actions run by the job flow.public List<String> getSupportedProducts()
A list of strings set by third party software when the job flow is launched. If you are not using third party software to manage the job flow this value is empty.
public void setSupportedProducts(Collection<String> supportedProducts)
A list of strings set by third party software when the job flow is launched. If you are not using third party software to manage the job flow this value is empty.
supportedProducts - A list of strings set by third party software when the job flow is launched. If you are not using third
        party software to manage the job flow this value is empty.public JobFlowDetail withSupportedProducts(String... supportedProducts)
A list of strings set by third party software when the job flow is launched. If you are not using third party software to manage the job flow this value is empty.
 NOTE: This method appends the values to the existing list (if any). Use
 setSupportedProducts(java.util.Collection) or withSupportedProducts(java.util.Collection) if
 you want to override the existing values.
 
supportedProducts - A list of strings set by third party software when the job flow is launched. If you are not using third
        party software to manage the job flow this value is empty.public JobFlowDetail withSupportedProducts(Collection<String> supportedProducts)
A list of strings set by third party software when the job flow is launched. If you are not using third party software to manage the job flow this value is empty.
supportedProducts - A list of strings set by third party software when the job flow is launched. If you are not using third
        party software to manage the job flow this value is empty.public void setVisibleToAllUsers(Boolean visibleToAllUsers)
 Specifies whether the job flow is visible to all IAM users of the AWS account associated with the job flow. If
 this value is set to true, all IAM users of that AWS account can view and (if they have the proper
 policy permissions set) manage the job flow. If it is set to false, only the IAM user that created
 the job flow can view and manage it. This value can be changed using the SetVisibleToAllUsers action.
 
visibleToAllUsers - Specifies whether the job flow is visible to all IAM users of the AWS account associated with the job
        flow. If this value is set to true, all IAM users of that AWS account can view and (if they
        have the proper policy permissions set) manage the job flow. If it is set to false, only the
        IAM user that created the job flow can view and manage it. This value can be changed using the
        SetVisibleToAllUsers action.public Boolean getVisibleToAllUsers()
 Specifies whether the job flow is visible to all IAM users of the AWS account associated with the job flow. If
 this value is set to true, all IAM users of that AWS account can view and (if they have the proper
 policy permissions set) manage the job flow. If it is set to false, only the IAM user that created
 the job flow can view and manage it. This value can be changed using the SetVisibleToAllUsers action.
 
true, all IAM users of that AWS account can view and (if they
         have the proper policy permissions set) manage the job flow. If it is set to false, only the
         IAM user that created the job flow can view and manage it. This value can be changed using the
         SetVisibleToAllUsers action.public JobFlowDetail withVisibleToAllUsers(Boolean visibleToAllUsers)
 Specifies whether the job flow is visible to all IAM users of the AWS account associated with the job flow. If
 this value is set to true, all IAM users of that AWS account can view and (if they have the proper
 policy permissions set) manage the job flow. If it is set to false, only the IAM user that created
 the job flow can view and manage it. This value can be changed using the SetVisibleToAllUsers action.
 
visibleToAllUsers - Specifies whether the job flow is visible to all IAM users of the AWS account associated with the job
        flow. If this value is set to true, all IAM users of that AWS account can view and (if they
        have the proper policy permissions set) manage the job flow. If it is set to false, only the
        IAM user that created the job flow can view and manage it. This value can be changed using the
        SetVisibleToAllUsers action.public Boolean isVisibleToAllUsers()
 Specifies whether the job flow is visible to all IAM users of the AWS account associated with the job flow. If
 this value is set to true, all IAM users of that AWS account can view and (if they have the proper
 policy permissions set) manage the job flow. If it is set to false, only the IAM user that created
 the job flow can view and manage it. This value can be changed using the SetVisibleToAllUsers action.
 
true, all IAM users of that AWS account can view and (if they
         have the proper policy permissions set) manage the job flow. If it is set to false, only the
         IAM user that created the job flow can view and manage it. This value can be changed using the
         SetVisibleToAllUsers action.public void setJobFlowRole(String jobFlowRole)
The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.
jobFlowRole - The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume
        this role.public String getJobFlowRole()
The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.
public JobFlowDetail withJobFlowRole(String jobFlowRole)
The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.
jobFlowRole - The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume
        this role.public void setServiceRole(String serviceRole)
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
serviceRole - The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.public String getServiceRole()
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
public JobFlowDetail withServiceRole(String serviceRole)
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
serviceRole - The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.public void setAutoScalingRole(String autoScalingRole)
 An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM
 role provides a way for the automatic scaling feature to get the required permissions it needs to launch and
 terminate EC2 instances in an instance group.
 
autoScalingRole - An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole.
        The IAM role provides a way for the automatic scaling feature to get the required permissions it needs to
        launch and terminate EC2 instances in an instance group.public String getAutoScalingRole()
 An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM
 role provides a way for the automatic scaling feature to get the required permissions it needs to launch and
 terminate EC2 instances in an instance group.
 
EMR_AutoScaling_DefaultRole.
         The IAM role provides a way for the automatic scaling feature to get the required permissions it needs to
         launch and terminate EC2 instances in an instance group.public JobFlowDetail withAutoScalingRole(String autoScalingRole)
 An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM
 role provides a way for the automatic scaling feature to get the required permissions it needs to launch and
 terminate EC2 instances in an instance group.
 
autoScalingRole - An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole.
        The IAM role provides a way for the automatic scaling feature to get the required permissions it needs to
        launch and terminate EC2 instances in an instance group.public void setScaleDownBehavior(String scaleDownBehavior)
 The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance
 group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the
 instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is
 only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version.
 TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR blacklists and drains tasks from nodes before
 terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR
 removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption.
 TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR version 4.1.0 and later, and is the
 default for versions of Amazon EMR earlier than 5.1.0.
 
scaleDownBehavior - The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an
        instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates
        nodes at the instance-hour boundary, regardless of when the request to terminate the instance was
        submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters
        created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR blacklists
        and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour
        boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance
        termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only
        in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.ScaleDownBehaviorpublic String getScaleDownBehavior()
 The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance
 group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the
 instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is
 only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version.
 TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR blacklists and drains tasks from nodes before
 terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR
 removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption.
 TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR version 4.1.0 and later, and is the
 default for versions of Amazon EMR earlier than 5.1.0.
 
TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates
         nodes at the instance-hour boundary, regardless of when the request to terminate the instance was
         submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters
         created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR
         blacklists and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the
         instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks
         instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION
         available only in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR
         earlier than 5.1.0.ScaleDownBehaviorpublic JobFlowDetail withScaleDownBehavior(String scaleDownBehavior)
 The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance
 group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the
 instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is
 only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version.
 TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR blacklists and drains tasks from nodes before
 terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR
 removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption.
 TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR version 4.1.0 and later, and is the
 default for versions of Amazon EMR earlier than 5.1.0.
 
scaleDownBehavior - The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an
        instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates
        nodes at the instance-hour boundary, regardless of when the request to terminate the instance was
        submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters
        created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR blacklists
        and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour
        boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance
        termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only
        in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.ScaleDownBehaviorpublic void setScaleDownBehavior(ScaleDownBehavior scaleDownBehavior)
 The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance
 group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the
 instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is
 only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version.
 TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR blacklists and drains tasks from nodes before
 terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR
 removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption.
 TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR version 4.1.0 and later, and is the
 default for versions of Amazon EMR earlier than 5.1.0.
 
scaleDownBehavior - The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an
        instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates
        nodes at the instance-hour boundary, regardless of when the request to terminate the instance was
        submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters
        created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR blacklists
        and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour
        boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance
        termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only
        in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.ScaleDownBehaviorpublic JobFlowDetail withScaleDownBehavior(ScaleDownBehavior scaleDownBehavior)
 The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance
 group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the
 instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is
 only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version.
 TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR blacklists and drains tasks from nodes before
 terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR
 removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption.
 TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR version 4.1.0 and later, and is the
 default for versions of Amazon EMR earlier than 5.1.0.
 
scaleDownBehavior - The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an
        instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates
        nodes at the instance-hour boundary, regardless of when the request to terminate the instance was
        submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters
        created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR blacklists
        and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour
        boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance
        termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only
        in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.ScaleDownBehaviorpublic String toString()
toString in class ObjectObject.toString()public JobFlowDetail clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.