public AwsCloudFrontDistributionOriginGroup withFailoverCriteria(AwsCloudFrontDistributionOriginGroupFailover failoverCriteria) {
        setFailoverCriteria(failoverCriteria);
        return this;
    }
<p>
Provides the criteria for an origin group to fail over.
</p>

@param failoverCriteria
       Provides the criteria for 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/AwsCloudFrontDistributionOriginGroup.java