public ClientVpnConnection withPostureComplianceStatuses(String... postureComplianceStatuses) {
        if (this.postureComplianceStatuses == null) {
            setPostureComplianceStatuses(new com.amazonaws.internal.SdkInternalList<String>(postureComplianceStatuses.length));
        }
        for (String ele : postureComplianceStatuses) {
            this.postureComplianceStatuses.add(ele);
        }
        return this;
    }
<p>
The statuses returned by the client connect handler for posture compliance, if applicable.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPostureComplianceStatuses(java.util.Collection)} or
{@link #withPostureComplianceStatuses(java.util.Collection)} if you want to override the existing values.
</p>

@param postureComplianceStatuses
       The statuses returned by the client connect handler for posture compliance, if applicable.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ClientVpnConnection.java