Class PolicyNonCompliantConfig.Builder

    • Constructor Detail

    • Method Detail

      • setAffectedResources

        public 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.
        Parameters:
        affectedResources - New value for the property.
      • setComplianceNames

        public PolicyNonCompliantConfig.Builder setComplianceNames​(java.util.List<java.lang.String> complianceNames)
        Names of the compliance programs according to which the affected resources are non-compliant. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        complianceNames - New value for the property.
      • setDescription

        public 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.
        Parameters:
        description - New value for the property.
      • setNonComplianceCode

        public 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.
        Parameters:
        nonComplianceCode - New value for the property.