CloudOffering Class

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

Implements

public class CloudOffering
implements JsonSerializable<CloudOffering>

The security offering details.

Constructor Summary

Constructor Description
CloudOffering()

Creates an instance of CloudOffering class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The offering description.

static CloudOffering fromJson(JsonReader jsonReader)

Reads an instance of CloudOffering from the JsonReader.

OfferingType offeringType()

Get the offeringType property: The type of the security offering.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

CloudOffering

public CloudOffering()

Creates an instance of CloudOffering class.

Method Details

description

public String description()

Get the description property: The offering description.

Returns:

the description value.

fromJson

public static CloudOffering fromJson(JsonReader jsonReader)

Reads an instance of CloudOffering from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

offeringType

public OfferingType offeringType()

Get the offeringType property: The type of the security offering.

Returns:

the offeringType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to