public static final class ScanResult.Builder
extends java.lang.Object
ScanResult
.Constructor and Description |
---|
Builder(ScanResult.ComplianceStatus status,
Notifications notifications,
java.util.Calendar startTime,
java.lang.String profile,
java.lang.String version,
java.util.Set<java.lang.String> compliant,
java.util.Set<java.lang.String> nonCompliant,
java.util.Set<java.lang.String> unavailable,
java.util.Map<java.lang.String,ComplianceResult> complianceResult)
Constructor with parameters for the required properties of
ScanResult . |
Modifier and Type | Method and Description |
---|---|
ScanResult |
build() |
ScanResult.Builder |
setEndTime(java.util.Calendar endTime)
Time when the method completed.
|
public Builder(ScanResult.ComplianceStatus status, Notifications notifications, java.util.Calendar startTime, java.lang.String profile, java.lang.String version, java.util.Set<java.lang.String> compliant, java.util.Set<java.lang.String> nonCompliant, java.util.Set<java.lang.String> unavailable, java.util.Map<java.lang.String,ComplianceResult> complianceResult)
ScanResult
.public ScanResult.Builder setEndTime(java.util.Calendar endTime)
null
, the endTime will be empty.endTime
- New value for the property.public ScanResult build()