public GetGuardrailResult withStatusReasons(String... statusReasons) {
        if (this.statusReasons == null) {
            setStatusReasons(new java.util.ArrayList<String>(statusReasons.length));
        }
        for (String ele : statusReasons) {
            this.statusReasons.add(ele);
        }
        return this;
    }
<p>
Appears if the <code>status</code> is <code>FAILED</code>. A list of reasons for why the guardrail failed to be
created, updated, versioned, or deleted.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setStatusReasons(java.util.Collection)} or {@link #withStatusReasons(java.util.Collection)} if you want
to override the existing values.
</p>

@param statusReasons
       Appears if the <code>status</code> is <code>FAILED</code>. A list of reasons for why the guardrail failed
       to be created, updated, versioned, or deleted.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrock/src/main/java/com/amazonaws/services/bedrock/model/GetGuardrailResult.java