AWS SDK for .NET Documentation
WithOnFailure Method (onFailure)
AmazonAmazon.ElasticMapReduce.ModelResizeJobFlowStepWithOnFailure(OnFailure) Did this page help you?   Yes   No    Tell us about it...
What action this step should take if the modification fails. This can happen when you request to perform an invalid action, such as shrink a core instance group.
Declaration Syntax
C#
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")]
public ResizeJobFlowStep WithOnFailure(
	OnFailure onFailure
)
Parameters
onFailure (OnFailure)
OnFailure enum specifying which action to take.
Return Value
A reference to this updated object so that method calls can be chained together.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)