Class DefenderForServersGcpOfferingDefenderForServers
java.lang.Object
com.azure.resourcemanager.security.models.DefenderForServersGcpOfferingDefenderForServers
The Defender for servers connection configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the serviceAccountEmailAddress property: The service account email address in GCP for this feature.void
validate()
Validates the instance.withServiceAccountEmailAddress
(String serviceAccountEmailAddress) Set the serviceAccountEmailAddress property: The service account email address in GCP for this feature.withWorkloadIdentityProviderId
(String workloadIdentityProviderId) Set the workloadIdentityProviderId property: The workload identity provider id in GCP for this feature.Get the workloadIdentityProviderId property: The workload identity provider id in GCP for this feature.
-
Constructor Details
-
DefenderForServersGcpOfferingDefenderForServers
public DefenderForServersGcpOfferingDefenderForServers()
-
-
Method Details
-
workloadIdentityProviderId
Get the workloadIdentityProviderId property: The workload identity provider id in GCP for this feature.- Returns:
- the workloadIdentityProviderId value.
-
withWorkloadIdentityProviderId
public DefenderForServersGcpOfferingDefenderForServers withWorkloadIdentityProviderId(String workloadIdentityProviderId) Set the workloadIdentityProviderId property: The workload identity provider id in GCP for this feature.- Parameters:
workloadIdentityProviderId
- the workloadIdentityProviderId value to set.- Returns:
- the DefenderForServersGcpOfferingDefenderForServers object itself.
-
serviceAccountEmailAddress
Get the serviceAccountEmailAddress property: The service account email address in GCP for this feature.- Returns:
- the serviceAccountEmailAddress value.
-
withServiceAccountEmailAddress
public DefenderForServersGcpOfferingDefenderForServers withServiceAccountEmailAddress(String serviceAccountEmailAddress) Set the serviceAccountEmailAddress property: The service account email address in GCP for this feature.- Parameters:
serviceAccountEmailAddress
- the serviceAccountEmailAddress value to set.- Returns:
- the DefenderForServersGcpOfferingDefenderForServers object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-