İngilizce dilinde oku

Aracılığıyla paylaş


DiscoveredSecuritySolutionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.security.fluent.models.DiscoveredSecuritySolutionProperties

Implements

public final class DiscoveredSecuritySolutionProperties
implements JsonSerializable<DiscoveredSecuritySolutionProperties>

The DiscoveredSecuritySolutionProperties model.

Constructor Summary

Constructor Description
DiscoveredSecuritySolutionProperties()

Creates an instance of DiscoveredSecuritySolutionProperties class.

Method Summary

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

Reads an instance of DiscoveredSecuritySolutionProperties from the JsonReader.

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)
void validate()

Validates the instance.

DiscoveredSecuritySolutionProperties withOffer(String offer)

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

DiscoveredSecuritySolutionProperties withPublisher(String publisher)

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

DiscoveredSecuritySolutionProperties withSecurityFamily(SecurityFamily securityFamily)

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

DiscoveredSecuritySolutionProperties withSku(String sku)

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

Methods inherited from java.lang.Object

Constructor Details

DiscoveredSecuritySolutionProperties

public DiscoveredSecuritySolutionProperties()

Creates an instance of DiscoveredSecuritySolutionProperties class.

Method Details

fromJson

public static DiscoveredSecuritySolutionProperties fromJson(JsonReader jsonReader)

Reads an instance of DiscoveredSecuritySolutionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withOffer

public DiscoveredSecuritySolutionProperties withOffer(String offer)

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

Parameters:

offer - the offer value to set.

Returns:

the DiscoveredSecuritySolutionProperties object itself.

withPublisher

public DiscoveredSecuritySolutionProperties withPublisher(String publisher)

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

Parameters:

publisher - the publisher value to set.

Returns:

the DiscoveredSecuritySolutionProperties object itself.

withSecurityFamily

public DiscoveredSecuritySolutionProperties withSecurityFamily(SecurityFamily securityFamily)

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

Parameters:

securityFamily - the securityFamily value to set.

Returns:

the DiscoveredSecuritySolutionProperties object itself.

withSku

public DiscoveredSecuritySolutionProperties withSku(String sku)

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

Parameters:

sku - the sku value to set.

Returns:

the DiscoveredSecuritySolutionProperties object itself.

Applies to

Azure SDK for Java

Preview