DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection Class

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

Implements

public final class DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection
implements JsonSerializable<DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection>

The native cloud connection configuration.

Constructor Summary

Constructor Description
DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection()

Creates an instance of DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection class.

Method Summary

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

Reads an instance of DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection from the JsonReader.

String serviceAccountEmailAddress()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection withServiceAccountEmailAddress(String serviceAccountEmailAddress)

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

DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection withWorkloadIdentityProviderId(String workloadIdentityProviderId)

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

String workloadIdentityProviderId()

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

Methods inherited from java.lang.Object

Constructor Details

DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection

public DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection()

Creates an instance of DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection class.

Method Details

fromJson

public static DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection fromJson(JsonReader jsonReader)

Reads an instance of DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

serviceAccountEmailAddress

public String serviceAccountEmailAddress()

Get the serviceAccountEmailAddress property: The data collection 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 DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection withServiceAccountEmailAddress(String serviceAccountEmailAddress)

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

Parameters:

serviceAccountEmailAddress - the serviceAccountEmailAddress value to set.

Returns:

the DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection object itself.

withWorkloadIdentityProviderId

public DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection withWorkloadIdentityProviderId(String workloadIdentityProviderId)

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

Parameters:

workloadIdentityProviderId - the workloadIdentityProviderId value to set.

Returns:

the DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection object itself.

workloadIdentityProviderId

public String workloadIdentityProviderId()

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

Returns:

the workloadIdentityProviderId value.

Applies to