DiscoveredSecuritySolutionInner Class

public final class DiscoveredSecuritySolutionInner
extends ProxyResource

The DiscoveredSecuritySolution model.

Constructor Summary

Constructor Description
DiscoveredSecuritySolutionInner()

Creates an instance of DiscoveredSecuritySolutionInner class.

Method Summary

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

Reads an instance of DiscoveredSecuritySolutionInner from the JsonReader.

String id()

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

String location()

Get the location property: Location where the resource is stored.

String name()

Get the name property: The name of the resource.

String offer()

Get the offer property: The security solutions' image offer.

String publisher()

Get the publisher property: The security solutions' image publisher.

SecurityFamily securityFamily()

Get the securityFamily property: The security family of the discovered solution.

String sku()

Get the sku property: The security solutions' image sku.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DiscoveredSecuritySolutionInner withOffer(String offer)

Set the offer property: The security solutions' image offer.

DiscoveredSecuritySolutionInner withPublisher(String publisher)

Set the publisher property: The security solutions' image publisher.

DiscoveredSecuritySolutionInner withSecurityFamily(SecurityFamily securityFamily)

Set the securityFamily property: The security family of the discovered solution.

DiscoveredSecuritySolutionInner withSku(String sku)

Set the sku property: The security solutions' image sku.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

DiscoveredSecuritySolutionInner

public DiscoveredSecuritySolutionInner()

Creates an instance of DiscoveredSecuritySolutionInner class.

Method Details

fromJson

public static DiscoveredSecuritySolutionInner fromJson(JsonReader jsonReader)

Reads an instance of DiscoveredSecuritySolutionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DiscoveredSecuritySolutionInner 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:

DiscoveredSecuritySolutionInner.id()

Returns:

the id value.

location

public String location()

Get the location property: Location where the resource is stored.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DiscoveredSecuritySolutionInner.name()

Returns:

the name value.

offer

public String offer()

Get the offer property: The security solutions' image offer.

Returns:

the offer value.

publisher

public String publisher()

Get the publisher property: The security solutions' image publisher.

Returns:

the publisher value.

securityFamily

public SecurityFamily securityFamily()

Get the securityFamily property: The security family of the discovered solution.

Returns:

the securityFamily value.

sku

public String sku()

Get the sku property: The security solutions' image sku.

Returns:

the sku value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DiscoveredSecuritySolutionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DiscoveredSecuritySolutionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withOffer

public DiscoveredSecuritySolutionInner withOffer(String offer)

Set the offer property: The security solutions' image offer.

Parameters:

offer - the offer value to set.

Returns:

the DiscoveredSecuritySolutionInner object itself.

withPublisher

public DiscoveredSecuritySolutionInner withPublisher(String publisher)

Set the publisher property: The security solutions' image publisher.

Parameters:

publisher - the publisher value to set.

Returns:

the DiscoveredSecuritySolutionInner object itself.

withSecurityFamily

public DiscoveredSecuritySolutionInner withSecurityFamily(SecurityFamily securityFamily)

Set the securityFamily property: The security family of the discovered solution.

Parameters:

securityFamily - the securityFamily value to set.

Returns:

the DiscoveredSecuritySolutionInner object itself.

withSku

public DiscoveredSecuritySolutionInner withSku(String sku)

Set the sku property: The security solutions' image sku.

Parameters:

sku - the sku value to set.

Returns:

the DiscoveredSecuritySolutionInner object itself.

Applies to