Class DefenderForContainersGcpOfferingNativeCloudConnection
java.lang.Object
com.azure.resourcemanager.security.models.DefenderForContainersGcpOfferingNativeCloudConnection
The native cloud connection configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the serviceAccountEmailAddress property: The service account email address in GCP for this offering.void
validate()
Validates the instance.withServiceAccountEmailAddress
(String serviceAccountEmailAddress) Set the serviceAccountEmailAddress property: The service account email address in GCP for this offering.withWorkloadIdentityProviderId
(String workloadIdentityProviderId) Set the workloadIdentityProviderId property: The GCP workload identity provider id for this offering.Get the workloadIdentityProviderId property: The GCP workload identity provider id for this offering.
-
Constructor Details
-
DefenderForContainersGcpOfferingNativeCloudConnection
public DefenderForContainersGcpOfferingNativeCloudConnection()
-
-
Method Details
-
serviceAccountEmailAddress
Get the serviceAccountEmailAddress property: The service account email address in GCP for this offering.- Returns:
- the serviceAccountEmailAddress value.
-
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.
-
workloadIdentityProviderId
Get the workloadIdentityProviderId property: The GCP workload identity provider id for this offering.- Returns:
- the workloadIdentityProviderId value.
-
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-