Class ScanReport.Compliance.Builder
-
- All Implemented Interfaces:
public final class ScanReport.Compliance.BuilderA builder for Compliance.
-
-
Method Summary
-
-
Method Detail
-
evaluatedAt
final ScanReport.Compliance.Builder evaluatedAt(OffsetDateTime evaluatedAt)
The datetime when the rule set was evaluated against the scan result
-
evaluatedAt
final ScanReport.Compliance.Builder evaluatedAt(JsonField<OffsetDateTime> evaluatedAt)
Sets Builder.evaluatedAt to an arbitrary JSON value.
You should usually call Builder.evaluatedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
ruleSetIds
final ScanReport.Compliance.Builder ruleSetIds(List<String> ruleSetIds)
A list of non-default rule sets that were used when evaluating the scan result
-
ruleSetIds
final ScanReport.Compliance.Builder ruleSetIds(JsonField<List<String>> ruleSetIds)
Sets Builder.ruleSetIds to an arbitrary JSON value.
You should usually call Builder.ruleSetIds with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addRuleSetId
final ScanReport.Compliance.Builder addRuleSetId(String ruleSetId)
Adds a single String to ruleSetIds.
-
status
final ScanReport.Compliance.Builder status(ScanReport.Compliance.Status status)
-
status
final ScanReport.Compliance.Builder status(JsonField<ScanReport.Compliance.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ScanReport.Compliance.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ScanReport.Compliance.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ScanReport.Compliance.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ScanReport.Compliance.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ScanReport.Compliance.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ScanReport.Compliance build()
Returns an immutable instance of Compliance.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-