DefenderForContainersGcpOfferingNativeCloudConnection Class

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

Implements

public final class DefenderForContainersGcpOfferingNativeCloudConnection
implements JsonSerializable<DefenderForContainersGcpOfferingNativeCloudConnection>

The native cloud connection configuration.

Constructor Summary

Constructor Description
DefenderForContainersGcpOfferingNativeCloudConnection()

Creates an instance of DefenderForContainersGcpOfferingNativeCloudConnection class.

Method Summary

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

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

DefenderForContainersGcpOfferingNativeCloudConnection withServiceAccountEmailAddress(String serviceAccountEmailAddress)

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

DefenderForContainersGcpOfferingNativeCloudConnection withWorkloadIdentityProviderId(String workloadIdentityProviderId)

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

String workloadIdentityProviderId()

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

Methods inherited from java.lang.Object

Constructor Details

DefenderForContainersGcpOfferingNativeCloudConnection

public DefenderForContainersGcpOfferingNativeCloudConnection()

Creates an instance of DefenderForContainersGcpOfferingNativeCloudConnection class.

Method Details

fromJson

public static DefenderForContainersGcpOfferingNativeCloudConnection fromJson(JsonReader jsonReader)

Reads an instance of DefenderForContainersGcpOfferingNativeCloudConnection from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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 DefenderForContainersGcpOfferingNativeCloudConnection 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 DefenderForContainersGcpOfferingNativeCloudConnection object itself.

withWorkloadIdentityProviderId

public DefenderForContainersGcpOfferingNativeCloudConnection withWorkloadIdentityProviderId(String workloadIdentityProviderId)

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

Parameters:

workloadIdentityProviderId - the workloadIdentityProviderId value to set.

Returns:

the DefenderForContainersGcpOfferingNativeCloudConnection object itself.

workloadIdentityProviderId

public String workloadIdentityProviderId()

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

Returns:

the workloadIdentityProviderId value.

Applies to