Class DefenderForContainersAwsOffering

java.lang.Object
com.azure.resourcemanager.security.models.CloudOffering
com.azure.resourcemanager.security.models.DefenderForContainersAwsOffering

public final class DefenderForContainersAwsOffering extends CloudOffering
The Defender for Containers AWS offering.
  • Constructor Details

    • DefenderForContainersAwsOffering

      public DefenderForContainersAwsOffering()
  • Method Details

    • kubernetesService

      Get the kubernetesService property: The kubernetes service connection configuration.
      Returns:
      the kubernetesService value.
    • withKubernetesService

      Set the kubernetesService property: The kubernetes service connection configuration.
      Parameters:
      kubernetesService - the kubernetesService value to set.
      Returns:
      the DefenderForContainersAwsOffering object itself.
    • kubernetesScubaReader

      Get the kubernetesScubaReader property: The kubernetes to scuba connection configuration.
      Returns:
      the kubernetesScubaReader value.
    • withKubernetesScubaReader

      public DefenderForContainersAwsOffering withKubernetesScubaReader(DefenderForContainersAwsOfferingKubernetesScubaReader kubernetesScubaReader)
      Set the kubernetesScubaReader property: The kubernetes to scuba connection configuration.
      Parameters:
      kubernetesScubaReader - the kubernetesScubaReader value to set.
      Returns:
      the DefenderForContainersAwsOffering object itself.
    • cloudWatchToKinesis

      Get the cloudWatchToKinesis property: The cloudwatch to kinesis connection configuration.
      Returns:
      the cloudWatchToKinesis value.
    • withCloudWatchToKinesis

      public DefenderForContainersAwsOffering withCloudWatchToKinesis(DefenderForContainersAwsOfferingCloudWatchToKinesis cloudWatchToKinesis)
      Set the cloudWatchToKinesis property: The cloudwatch to kinesis connection configuration.
      Parameters:
      cloudWatchToKinesis - the cloudWatchToKinesis value to set.
      Returns:
      the DefenderForContainersAwsOffering object itself.
    • kinesisToS3

      Get the kinesisToS3 property: The kinesis to s3 connection configuration.
      Returns:
      the kinesisToS3 value.
    • withKinesisToS3

      Set the kinesisToS3 property: The kinesis to s3 connection configuration.
      Parameters:
      kinesisToS3 - the kinesisToS3 value to set.
      Returns:
      the DefenderForContainersAwsOffering object itself.
    • containerVulnerabilityAssessment

      public DefenderForContainersAwsOfferingContainerVulnerabilityAssessment containerVulnerabilityAssessment()
      Get the containerVulnerabilityAssessment property: The container vulnerability assessment configuration.
      Returns:
      the containerVulnerabilityAssessment value.
    • withContainerVulnerabilityAssessment

      public DefenderForContainersAwsOffering withContainerVulnerabilityAssessment(DefenderForContainersAwsOfferingContainerVulnerabilityAssessment containerVulnerabilityAssessment)
      Set the containerVulnerabilityAssessment property: The container vulnerability assessment configuration.
      Parameters:
      containerVulnerabilityAssessment - the containerVulnerabilityAssessment value to set.
      Returns:
      the DefenderForContainersAwsOffering object itself.
    • containerVulnerabilityAssessmentTask

      public DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask containerVulnerabilityAssessmentTask()
      Get the containerVulnerabilityAssessmentTask property: The container vulnerability assessment task configuration.
      Returns:
      the containerVulnerabilityAssessmentTask value.
    • withContainerVulnerabilityAssessmentTask

      public DefenderForContainersAwsOffering withContainerVulnerabilityAssessmentTask(DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask containerVulnerabilityAssessmentTask)
      Set the containerVulnerabilityAssessmentTask property: The container vulnerability assessment task configuration.
      Parameters:
      containerVulnerabilityAssessmentTask - the containerVulnerabilityAssessmentTask value to set.
      Returns:
      the DefenderForContainersAwsOffering object itself.
    • enableContainerVulnerabilityAssessment

      public Boolean enableContainerVulnerabilityAssessment()
      Get the enableContainerVulnerabilityAssessment property: Enable container vulnerability assessment feature.
      Returns:
      the enableContainerVulnerabilityAssessment value.
    • withEnableContainerVulnerabilityAssessment

      public DefenderForContainersAwsOffering withEnableContainerVulnerabilityAssessment(Boolean enableContainerVulnerabilityAssessment)
      Set the enableContainerVulnerabilityAssessment property: Enable container vulnerability assessment feature.
      Parameters:
      enableContainerVulnerabilityAssessment - the enableContainerVulnerabilityAssessment value to set.
      Returns:
      the DefenderForContainersAwsOffering object itself.
    • autoProvisioning

      public Boolean autoProvisioning()
      Get the autoProvisioning property: Is audit logs pipeline auto provisioning enabled.
      Returns:
      the autoProvisioning value.
    • withAutoProvisioning

      public DefenderForContainersAwsOffering withAutoProvisioning(Boolean autoProvisioning)
      Set the autoProvisioning property: Is audit logs pipeline auto provisioning enabled.
      Parameters:
      autoProvisioning - the autoProvisioning value to set.
      Returns:
      the DefenderForContainersAwsOffering object itself.
    • kubeAuditRetentionTime

      public Long kubeAuditRetentionTime()
      Get the kubeAuditRetentionTime property: The retention time in days of kube audit logs set on the CloudWatch log group.
      Returns:
      the kubeAuditRetentionTime value.
    • withKubeAuditRetentionTime

      public DefenderForContainersAwsOffering withKubeAuditRetentionTime(Long kubeAuditRetentionTime)
      Set the kubeAuditRetentionTime property: The retention time in days of kube audit logs set on the CloudWatch log group.
      Parameters:
      kubeAuditRetentionTime - the kubeAuditRetentionTime value to set.
      Returns:
      the DefenderForContainersAwsOffering object itself.
    • scubaExternalId

      public String scubaExternalId()
      Get the scubaExternalId property: The externalId used by the data reader to prevent the confused deputy attack.
      Returns:
      the scubaExternalId value.
    • withScubaExternalId

      public DefenderForContainersAwsOffering withScubaExternalId(String scubaExternalId)
      Set the scubaExternalId property: The externalId used by the data reader to prevent the confused deputy attack.
      Parameters:
      scubaExternalId - the scubaExternalId value to set.
      Returns:
      the DefenderForContainersAwsOffering object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class CloudOffering
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.