public AwsCloudFrontDistributionOriginGroupFailover withStatusCodes(AwsCloudFrontDistributionOriginGroupFailoverStatusCodes statusCodes) {
        setStatusCodes(statusCodes);
        return this;
    }
<p>
Information about the status codes that cause an origin group to fail over.
</p>

@param statusCodes
       Information about the status codes that cause an origin group to fail over.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsCloudFrontDistributionOriginGroupFailover.java