DefenderCspmDockerHubOffering Class

public final class DefenderCspmDockerHubOffering
extends CloudOffering

The Defender for CSPM Docker Hub offering configurations.

Constructor Summary

Constructor Description
DefenderCspmDockerHubOffering()

Creates an instance of DefenderCspmDockerHubOffering class.

Method Summary

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

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

DefenderCspmDockerHubOffering

public DefenderCspmDockerHubOffering()

Creates an instance of DefenderCspmDockerHubOffering class.

Method Details

fromJson

public static DefenderCspmDockerHubOffering fromJson(JsonReader jsonReader)

Reads an instance of DefenderCspmDockerHubOffering from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

offeringType

public OfferingType offeringType()

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

Overrides:

DefenderCspmDockerHubOffering.offeringType()

Returns:

the offeringType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DefenderCspmDockerHubOffering.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

DefenderCspmDockerHubOffering.validate()

Applies to