java.lang.Object
com.azure.resourcemanager.appcomplianceautomation.models.ReportProperties

public final class ReportProperties extends Object
Report's properties.
  • Constructor Details

    • ReportProperties

      public ReportProperties()
      Creates an instance of ReportProperties class.
  • Method Details

    • id

      public String id()
      Get the id property: Report id in database.
      Returns:
      the id value.
    • status

      public ReportStatus status()
      Get the status property: Report status.
      Returns:
      the status value.
    • tenantId

      public String tenantId()
      Get the tenantId property: Report's tenant id.
      Returns:
      the tenantId value.
    • reportName

      public String reportName()
      Get the reportName property: Report name.
      Returns:
      the reportName value.
    • offerGuid

      public String offerGuid()
      Get the offerGuid property: Report offer Guid.
      Returns:
      the offerGuid value.
    • withOfferGuid

      public ReportProperties withOfferGuid(String offerGuid)
      Set the offerGuid property: Report offer Guid.
      Parameters:
      offerGuid - the offerGuid value to set.
      Returns:
      the ReportProperties object itself.
    • timeZone

      public String timeZone()
      Get the timeZone property: Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell. An example of valid timezone id is "Pacific Standard Time".
      Returns:
      the timeZone value.
    • withTimeZone

      public ReportProperties withTimeZone(String timeZone)
      Set the timeZone property: Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell. An example of valid timezone id is "Pacific Standard Time".
      Parameters:
      timeZone - the timeZone value to set.
      Returns:
      the ReportProperties object itself.
    • triggerTime

      public OffsetDateTime triggerTime()
      Get the triggerTime property: Report collection trigger time.
      Returns:
      the triggerTime value.
    • withTriggerTime

      public ReportProperties withTriggerTime(OffsetDateTime triggerTime)
      Set the triggerTime property: Report collection trigger time.
      Parameters:
      triggerTime - the triggerTime value to set.
      Returns:
      the ReportProperties object itself.
    • nextTriggerTime

      public OffsetDateTime nextTriggerTime()
      Get the nextTriggerTime property: Report next collection trigger time.
      Returns:
      the nextTriggerTime value.
    • lastTriggerTime

      public OffsetDateTime lastTriggerTime()
      Get the lastTriggerTime property: Report last collection trigger time.
      Returns:
      the lastTriggerTime value.
    • subscriptions

      public List<String> subscriptions()
      Get the subscriptions property: List of subscription Ids.
      Returns:
      the subscriptions value.
    • resources

      public List<ResourceMetadata> resources()
      Get the resources property: List of resource data.
      Returns:
      the resources value.
    • withResources

      public ReportProperties withResources(List<ResourceMetadata> resources)
      Set the resources property: List of resource data.
      Parameters:
      resources - the resources value to set.
      Returns:
      the ReportProperties object itself.
    • complianceStatus

      public ReportComplianceStatus complianceStatus()
      Get the complianceStatus property: Report compliance status.
      Returns:
      the complianceStatus value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Azure lifecycle management.
      Returns:
      the provisioningState value.
    • validate

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