Class ImportErrorMessage.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of ImportErrorMessage.
    • Method Detail

      • setErrors

        public ImportErrorMessage.Builder setErrors​(java.util.List<ImportErrorMessageDetail> errors)
        Contains a list of errors against all network policy rules and fields failed during import.
        Parameters:
        errors - New value for the property.
      • setNetworkPolicyId

        public ImportErrorMessage.Builder setNetworkPolicyId​(java.lang.String networkPolicyId)
        K8s Network Policy ID. If it's not set, the error_message is related to the overall import operation but not to specific K8s Network Policy.
        Parameters:
        networkPolicyId - New value for the property.