RegulatoryComplianceAssessmentInner Class

public final class RegulatoryComplianceAssessmentInner
extends ProxyResource

Regulatory compliance assessment details and state.

Constructor Summary

Constructor Description
RegulatoryComplianceAssessmentInner()

Creates an instance of RegulatoryComplianceAssessmentInner class.

Method Summary

Modifier and Type Method and Description
String assessmentDetailsLink()

Get the assessmentDetailsLink property: Link to more detailed assessment results data.

String assessmentType()

Get the assessmentType property: The expected type of assessment contained in the AssessmentDetailsLink.

String description()

Get the description property: The description of the regulatory compliance assessment.

Integer failedResources()

Get the failedResources property: The given assessment's related resources count with failed state.

static RegulatoryComplianceAssessmentInner fromJson(JsonReader jsonReader)

Reads an instance of RegulatoryComplianceAssessmentInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

Integer passedResources()

Get the passedResources property: The given assessment's related resources count with passed state.

Integer skippedResources()

Get the skippedResources property: The given assessment's related resources count with skipped state.

State state()

Get the state property: Aggregative state based on the assessment's scanned resources states.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

Integer unsupportedResources()

Get the unsupportedResources property: The given assessment's related resources count with unsupported state.

void validate()

Validates the instance.

RegulatoryComplianceAssessmentInner withState(State state)

Set the state property: Aggregative state based on the assessment's scanned resources states.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

RegulatoryComplianceAssessmentInner

public RegulatoryComplianceAssessmentInner()

Creates an instance of RegulatoryComplianceAssessmentInner class.

Method Details

assessmentDetailsLink

public String assessmentDetailsLink()

Get the assessmentDetailsLink property: Link to more detailed assessment results data. The response type will be according to the assessmentType field.

Returns:

the assessmentDetailsLink value.

assessmentType

public String assessmentType()

Get the assessmentType property: The expected type of assessment contained in the AssessmentDetailsLink.

Returns:

the assessmentType value.

description

public String description()

Get the description property: The description of the regulatory compliance assessment.

Returns:

the description value.

failedResources

public Integer failedResources()

Get the failedResources property: The given assessment's related resources count with failed state.

Returns:

the failedResources value.

fromJson

public static RegulatoryComplianceAssessmentInner fromJson(JsonReader jsonReader)

Reads an instance of RegulatoryComplianceAssessmentInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

RegulatoryComplianceAssessmentInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RegulatoryComplianceAssessmentInner.name()

Returns:

the name value.

passedResources

public Integer passedResources()

Get the passedResources property: The given assessment's related resources count with passed state.

Returns:

the passedResources value.

skippedResources

public Integer skippedResources()

Get the skippedResources property: The given assessment's related resources count with skipped state.

Returns:

the skippedResources value.

state

public State state()

Get the state property: Aggregative state based on the assessment's scanned resources states.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RegulatoryComplianceAssessmentInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RegulatoryComplianceAssessmentInner.type()

Returns:

the type value.

unsupportedResources

public Integer unsupportedResources()

Get the unsupportedResources property: The given assessment's related resources count with unsupported state.

Returns:

the unsupportedResources value.

validate

public void validate()

Validates the instance.

withState

public RegulatoryComplianceAssessmentInner withState(State state)

Set the state property: Aggregative state based on the assessment's scanned resources states.

Parameters:

state - the state value to set.

Returns:

the RegulatoryComplianceAssessmentInner object itself.

Applies to

Azure SDK for Java

Preview