public SecurityHubPolicy withServiceEnabled(Boolean serviceEnabled) {
        setServiceEnabled(serviceEnabled);
        return this;
    }
<p>
Indicates whether Security Hub is enabled in the policy.
</p>

@param serviceEnabled
       Indicates whether Security Hub is enabled in the policy.
@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/SecurityHubPolicy.java