public GetConfigurationPolicyResult withConfigurationPolicy(Policy configurationPolicy) {
        setConfigurationPolicy(configurationPolicy);
        return this;
    }
<p>
An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a
list of enabled security standards, a list of enabled or disabled security controls, and a list of custom
parameter values for specified controls. If the policy includes a list of security controls that are enabled,
Security Hub disables all other controls (including newly released controls). If the policy includes a list of
security controls that are disabled, Security Hub enables all other controls (including newly released controls).
</p>

@param configurationPolicy
       An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or
       disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a
       list of custom parameter values for specified controls. If the policy includes a list of security controls
       that are enabled, Security Hub disables all other controls (including newly released controls). If the
       policy includes a list of security controls that are disabled, Security Hub enables all other controls
       (including newly released controls).
@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/GetConfigurationPolicyResult.java