DefenderForContainersDockerHubOffering Class

public final class DefenderForContainersDockerHubOffering
extends CloudOffering

The Defender for containers Docker Hub offering configurations.

Constructor Summary

Constructor Description
DefenderForContainersDockerHubOffering()

Creates an instance of DefenderForContainersDockerHubOffering class.

Method Summary

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

Reads an instance of DefenderForContainersDockerHubOffering 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 CloudOffering

Methods inherited from java.lang.Object

Constructor Details

DefenderForContainersDockerHubOffering

public DefenderForContainersDockerHubOffering()

Creates an instance of DefenderForContainersDockerHubOffering class.

Method Details

fromJson

public static DefenderForContainersDockerHubOffering fromJson(JsonReader jsonReader)

Reads an instance of DefenderForContainersDockerHubOffering from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

offeringType

public OfferingType offeringType()

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

Overrides:

DefenderForContainersDockerHubOffering.offeringType()

Returns:

the offeringType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DefenderForContainersDockerHubOffering.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

DefenderForContainersDockerHubOffering.validate()

Applies to