Class DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask
java.lang.Object
com.azure.resourcemanager.security.models.DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask
public final class DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask
extends Object
The container vulnerability assessment task configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the cloudRoleArn property: The cloud role ARN in AWS for this feature.void
validate()
Validates the instance.withCloudRoleArn
(String cloudRoleArn) Set the cloudRoleArn property: The cloud role ARN in AWS for this feature.
-
Constructor Details
-
DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask
public DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask()
-
-
Method Details
-
cloudRoleArn
Get the cloudRoleArn property: The cloud role ARN in AWS for this feature.- Returns:
- the cloudRoleArn value.
-
withCloudRoleArn
public DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask withCloudRoleArn(String cloudRoleArn) Set the cloudRoleArn property: The cloud role ARN in AWS for this feature.- Parameters:
cloudRoleArn
- the cloudRoleArn value to set.- Returns:
- the DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-