CspmMonitorGcpOfferingNativeCloudConnection Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.CspmMonitorGcpOfferingNativeCloudConnection

Implements

public final class CspmMonitorGcpOfferingNativeCloudConnection
implements JsonSerializable<CspmMonitorGcpOfferingNativeCloudConnection>

The native cloud connection configuration.

Constructor Summary

Constructor Description
CspmMonitorGcpOfferingNativeCloudConnection()

Creates an instance of CspmMonitorGcpOfferingNativeCloudConnection class.

Method Summary

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

Reads an instance of CspmMonitorGcpOfferingNativeCloudConnection from the JsonReader.

String serviceAccountEmailAddress()

Get the serviceAccountEmailAddress property: The service account email address in GCP for this offering.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CspmMonitorGcpOfferingNativeCloudConnection withServiceAccountEmailAddress(String serviceAccountEmailAddress)

Set the serviceAccountEmailAddress property: The service account email address in GCP for this offering.

CspmMonitorGcpOfferingNativeCloudConnection withWorkloadIdentityProviderId(String workloadIdentityProviderId)

Set the workloadIdentityProviderId property: The GCP workload identity provider id for the offering.

String workloadIdentityProviderId()

Get the workloadIdentityProviderId property: The GCP workload identity provider id for the offering.

Methods inherited from java.lang.Object

Constructor Details

CspmMonitorGcpOfferingNativeCloudConnection

public CspmMonitorGcpOfferingNativeCloudConnection()

Creates an instance of CspmMonitorGcpOfferingNativeCloudConnection class.

Method Details

fromJson

public static CspmMonitorGcpOfferingNativeCloudConnection fromJson(JsonReader jsonReader)

Reads an instance of CspmMonitorGcpOfferingNativeCloudConnection from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

serviceAccountEmailAddress

public String serviceAccountEmailAddress()

Get the serviceAccountEmailAddress property: The service account email address in GCP for this offering.

Returns:

the serviceAccountEmailAddress value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withServiceAccountEmailAddress

public CspmMonitorGcpOfferingNativeCloudConnection withServiceAccountEmailAddress(String serviceAccountEmailAddress)

Set the serviceAccountEmailAddress property: The service account email address in GCP for this offering.

Parameters:

serviceAccountEmailAddress - the serviceAccountEmailAddress value to set.

Returns:

the CspmMonitorGcpOfferingNativeCloudConnection object itself.

withWorkloadIdentityProviderId

public CspmMonitorGcpOfferingNativeCloudConnection withWorkloadIdentityProviderId(String workloadIdentityProviderId)

Set the workloadIdentityProviderId property: The GCP workload identity provider id for the offering.

Parameters:

workloadIdentityProviderId - the workloadIdentityProviderId value to set.

Returns:

the CspmMonitorGcpOfferingNativeCloudConnection object itself.

workloadIdentityProviderId

public String workloadIdentityProviderId()

Get the workloadIdentityProviderId property: The GCP workload identity provider id for the offering.

Returns:

the workloadIdentityProviderId value.

Applies to