DefenderCspmGcpOfferingMdcContainersImageAssessment Class

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

public final class DefenderCspmGcpOfferingMdcContainersImageAssessment

The Microsoft Defender Container image assessment configuration.

Constructor Summary

Constructor Description
DefenderCspmGcpOfferingMdcContainersImageAssessment()

Creates an instance of DefenderCspmGcpOfferingMdcContainersImageAssessment class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: Is Microsoft Defender container image assessment enabled.

String serviceAccountEmailAddress()

Get the serviceAccountEmailAddress property: The service account email address in GCP for this feature.

void validate()

Validates the instance.

DefenderCspmGcpOfferingMdcContainersImageAssessment withEnabled(Boolean enabled)

Set the enabled property: Is Microsoft Defender container image assessment enabled.

DefenderCspmGcpOfferingMdcContainersImageAssessment withServiceAccountEmailAddress(String serviceAccountEmailAddress)

Set the serviceAccountEmailAddress property: The service account email address in GCP for this feature.

DefenderCspmGcpOfferingMdcContainersImageAssessment withWorkloadIdentityProviderId(String workloadIdentityProviderId)

Set the workloadIdentityProviderId property: The workload identity provider id in GCP for this feature.

String workloadIdentityProviderId()

Get the workloadIdentityProviderId property: The workload identity provider id in GCP for this feature.

Methods inherited from java.lang.Object

Constructor Details

DefenderCspmGcpOfferingMdcContainersImageAssessment

public DefenderCspmGcpOfferingMdcContainersImageAssessment()

Creates an instance of DefenderCspmGcpOfferingMdcContainersImageAssessment class.

Method Details

enabled

public Boolean enabled()

Get the enabled property: Is Microsoft Defender container image assessment enabled.

Returns:

the enabled value.

serviceAccountEmailAddress

public String serviceAccountEmailAddress()

Get the serviceAccountEmailAddress property: The service account email address in GCP for this feature.

Returns:

the serviceAccountEmailAddress value.

validate

public void validate()

Validates the instance.

withEnabled

public DefenderCspmGcpOfferingMdcContainersImageAssessment withEnabled(Boolean enabled)

Set the enabled property: Is Microsoft Defender container image assessment enabled.

Parameters:

enabled - the enabled value to set.

Returns:

the DefenderCspmGcpOfferingMdcContainersImageAssessment object itself.

withServiceAccountEmailAddress

public DefenderCspmGcpOfferingMdcContainersImageAssessment 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 DefenderCspmGcpOfferingMdcContainersImageAssessment object itself.

withWorkloadIdentityProviderId

public DefenderCspmGcpOfferingMdcContainersImageAssessment 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 DefenderCspmGcpOfferingMdcContainersImageAssessment object itself.

workloadIdentityProviderId

public String workloadIdentityProviderId()

Get the workloadIdentityProviderId property: The workload identity provider id in GCP for this feature.

Returns:

the workloadIdentityProviderId value.

Applies to