public SpotInstanceRequest withInstanceInterruptionBehavior(String instanceInterruptionBehavior) {
        setInstanceInterruptionBehavior(instanceInterruptionBehavior);
        return this;
    }
<p>
The behavior when a Spot Instance is interrupted.
</p>

@param instanceInterruptionBehavior
       The behavior when a Spot Instance is interrupted.
@return Returns a reference to this object so that method calls can be chained together.
@see InstanceInterruptionBehavior
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/SpotInstanceRequest.java