CspmMonitorGcpOffering Class

public final class CspmMonitorGcpOffering
extends CloudOffering

The CSPM monitoring for GCP offering.

Constructor Summary

Constructor Description
CspmMonitorGcpOffering()

Creates an instance of CspmMonitorGcpOffering class.

Method Summary

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

Reads an instance of CspmMonitorGcpOffering from the JsonReader.

CspmMonitorGcpOfferingNativeCloudConnection nativeCloudConnection()

Get the nativeCloudConnection property: The native cloud connection configuration.

OfferingType offeringType()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CspmMonitorGcpOffering withNativeCloudConnection(CspmMonitorGcpOfferingNativeCloudConnection nativeCloudConnection)

Set the nativeCloudConnection property: The native cloud connection configuration.

Methods inherited from CloudOffering

Methods inherited from java.lang.Object

Constructor Details

CspmMonitorGcpOffering

public CspmMonitorGcpOffering()

Creates an instance of CspmMonitorGcpOffering class.

Method Details

fromJson

public static CspmMonitorGcpOffering fromJson(JsonReader jsonReader)

Reads an instance of CspmMonitorGcpOffering from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nativeCloudConnection

public CspmMonitorGcpOfferingNativeCloudConnection nativeCloudConnection()

Get the nativeCloudConnection property: The native cloud connection configuration.

Returns:

the nativeCloudConnection value.

offeringType

public OfferingType offeringType()

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

Overrides:

CspmMonitorGcpOffering.offeringType()

Returns:

the offeringType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CspmMonitorGcpOffering.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

CspmMonitorGcpOffering.validate()

withNativeCloudConnection

public CspmMonitorGcpOffering withNativeCloudConnection(CspmMonitorGcpOfferingNativeCloudConnection nativeCloudConnection)

Set the nativeCloudConnection property: The native cloud connection configuration.

Parameters:

nativeCloudConnection - the nativeCloudConnection value to set.

Returns:

the CspmMonitorGcpOffering object itself.

Applies to