public static final class PolicyNonCompliantConfig.Builder
extends java.lang.Object
PolicyNonCompliantConfig.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
PolicyNonCompliantConfig. |
| Modifier and Type | Method and Description |
|---|---|
PolicyNonCompliantConfig |
build() |
PolicyNonCompliantConfig.Builder |
setAffectedResources(java.util.List<PolicyResourceReference> affectedResources)
Resources/Services impacted by non compliant configuration
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
PolicyNonCompliantConfig.Builder |
setComplianceNames(java.util.List<java.lang.String> complianceNames)
Names of the compliance programs according to which the affected resources are
non-compliant.
|
PolicyNonCompliantConfig.Builder |
setDescription(java.lang.String description)
Detail description of non compliant configuration with suggestive action
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
PolicyNonCompliantConfig.Builder |
setNonComplianceCode(java.lang.Long nonComplianceCode)
Code for non compliant configuration format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
PolicyNonCompliantConfig.Builder |
setReportedBy(PolicyResourceReference reportedBy) |
public Builder()
PolicyNonCompliantConfig.public PolicyNonCompliantConfig.Builder setAffectedResources(java.util.List<PolicyResourceReference> affectedResources)
affectedResources - New value for the property.public PolicyNonCompliantConfig.Builder setComplianceNames(java.util.List<java.lang.String> complianceNames)
complianceNames - New value for the property.public PolicyNonCompliantConfig.Builder setDescription(java.lang.String description)
description - New value for the property.public PolicyNonCompliantConfig.Builder setNonComplianceCode(java.lang.Long nonComplianceCode)
nonComplianceCode - New value for the property.public PolicyNonCompliantConfig.Builder setReportedBy(PolicyResourceReference reportedBy)
reportedBy - New value for the property.public PolicyNonCompliantConfig build()