Del via


VulnerabilityAssessmentScanRecordProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.VulnerabilityAssessmentScanRecordProperties

Implements

public final class VulnerabilityAssessmentScanRecordProperties
implements JsonSerializable<VulnerabilityAssessmentScanRecordProperties>

Properties of a vulnerability assessment scan record.

Constructor Summary

Constructor Description
VulnerabilityAssessmentScanRecordProperties()

Creates an instance of VulnerabilityAssessmentScanRecordProperties class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime endTime()

Get the endTime property: The scan end time (UTC).

List<VulnerabilityAssessmentScanError> errors()

Get the errors property: The scan errors.

static VulnerabilityAssessmentScanRecordProperties fromJson(JsonReader jsonReader)

Reads an instance of VulnerabilityAssessmentScanRecordProperties from the JsonReader.

Integer numberOfFailedSecurityChecks()

Get the numberOfFailedSecurityChecks property: The number of failed security checks.

String scanId()

Get the scanId property: The scan ID.

OffsetDateTime startTime()

Get the startTime property: The scan start time (UTC).

VulnerabilityAssessmentScanState state()

Get the state property: The scan status.

String storageContainerPath()

Get the storageContainerPath property: The scan results storage container path.

JsonWriter toJson(JsonWriter jsonWriter)
VulnerabilityAssessmentScanTriggerType triggerType()

Get the triggerType property: The scan trigger type.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

VulnerabilityAssessmentScanRecordProperties

public VulnerabilityAssessmentScanRecordProperties()

Creates an instance of VulnerabilityAssessmentScanRecordProperties class.

Method Details

endTime

public OffsetDateTime endTime()

Get the endTime property: The scan end time (UTC).

Returns:

the endTime value.

errors

public List<VulnerabilityAssessmentScanError> errors()

Get the errors property: The scan errors.

Returns:

the errors value.

fromJson

public static VulnerabilityAssessmentScanRecordProperties fromJson(JsonReader jsonReader)

Reads an instance of VulnerabilityAssessmentScanRecordProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VulnerabilityAssessmentScanRecordProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the VulnerabilityAssessmentScanRecordProperties.

numberOfFailedSecurityChecks

public Integer numberOfFailedSecurityChecks()

Get the numberOfFailedSecurityChecks property: The number of failed security checks.

Returns:

the numberOfFailedSecurityChecks value.

scanId

public String scanId()

Get the scanId property: The scan ID.

Returns:

the scanId value.

startTime

public OffsetDateTime startTime()

Get the startTime property: The scan start time (UTC).

Returns:

the startTime value.

state

public VulnerabilityAssessmentScanState state()

Get the state property: The scan status.

Returns:

the state value.

storageContainerPath

public String storageContainerPath()

Get the storageContainerPath property: The scan results storage container path.

Returns:

the storageContainerPath value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

triggerType

public VulnerabilityAssessmentScanTriggerType triggerType()

Get the triggerType property: The scan trigger type.

Returns:

the triggerType value.

validate

public void validate()

Validates the instance.

Applies to