public void setFailureReason(IpamDiscoveryFailureReason failureReason) {
        this.failureReason = failureReason;
    }
<p>
The resource discovery failure reason.
</p>

@param failureReason
       The resource discovery failure reason.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/IpamDiscoveredAccount.java