ResourceDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.ResourceDetails

Implements

public class ResourceDetails
implements JsonSerializable<ResourceDetails>

Details of the resource that was assessed.

Constructor Summary

Constructor Description
ResourceDetails()

Creates an instance of ResourceDetails class.

Method Summary

Modifier and Type Method and Description
static ResourceDetails fromJson(JsonReader jsonReader)

Reads an instance of ResourceDetails from the JsonReader.

Source source()

Get the source property: The platform where the assessed resource resides.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ResourceDetails

public ResourceDetails()

Creates an instance of ResourceDetails class.

Method Details

fromJson

public static ResourceDetails fromJson(JsonReader jsonReader)

Reads an instance of ResourceDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ResourceDetails 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 ResourceDetails.

source

public Source source()

Get the source property: The platform where the assessed resource resides.

Returns:

the source value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to