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