DefenderForContainersGcpOfferingNativeCloudConnection Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. DefenderForContainersGcpOfferingNativeCloudConnection
- com.
Implements
public final class DefenderForContainersGcpOfferingNativeCloudConnection
implements JsonSerializable<DefenderForContainersGcpOfferingNativeCloudConnection>
The native cloud connection configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| DefenderForContainersGcpOfferingNativeCloudConnection() |
Creates an instance of Defender |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Defender |
fromJson(JsonReader jsonReader)
Reads an instance of Defender |
| String |
serviceAccountEmailAddress()
Get the service |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Defender |
withServiceAccountEmailAddress(String serviceAccountEmailAddress)
Set the service |
|
Defender |
withWorkloadIdentityProviderId(String workloadIdentityProviderId)
Set the workload |
| String |
workloadIdentityProviderId()
Get the workload |
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:
Returns:
Throws:
serviceAccountEmailAddress
public String serviceAccountEmailAddress()
Get the serviceAccountEmailAddress property: The service account email address in GCP for this offering.
Returns:
toJson
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:
Returns:
withWorkloadIdentityProviderId
public DefenderForContainersGcpOfferingNativeCloudConnection withWorkloadIdentityProviderId(String workloadIdentityProviderId)
Set the workloadIdentityProviderId property: The GCP workload identity provider id for this offering.
Parameters:
Returns:
workloadIdentityProviderId
public String workloadIdentityProviderId()
Get the workloadIdentityProviderId property: The GCP workload identity provider id for this offering.
Returns: