Class ExportResourceUsageParameters

java.lang.Object
com.azure.resourcemanager.devtestlabs.models.ExportResourceUsageParameters

public final class ExportResourceUsageParameters extends Object
The parameters of the export operation.
  • Constructor Details

    • ExportResourceUsageParameters

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

    • blobStorageAbsoluteSasUri

      public String blobStorageAbsoluteSasUri()
      Get the blobStorageAbsoluteSasUri property: The blob storage absolute sas uri with write permission to the container which the usage data needs to be uploaded to.
      Returns:
      the blobStorageAbsoluteSasUri value.
    • withBlobStorageAbsoluteSasUri

      public ExportResourceUsageParameters withBlobStorageAbsoluteSasUri(String blobStorageAbsoluteSasUri)
      Set the blobStorageAbsoluteSasUri property: The blob storage absolute sas uri with write permission to the container which the usage data needs to be uploaded to.
      Parameters:
      blobStorageAbsoluteSasUri - the blobStorageAbsoluteSasUri value to set.
      Returns:
      the ExportResourceUsageParameters object itself.
    • usageStartDate

      public OffsetDateTime usageStartDate()
      Get the usageStartDate property: The start time of the usage. If not provided, usage will be reported since the beginning of data collection.
      Returns:
      the usageStartDate value.
    • withUsageStartDate

      public ExportResourceUsageParameters withUsageStartDate(OffsetDateTime usageStartDate)
      Set the usageStartDate property: The start time of the usage. If not provided, usage will be reported since the beginning of data collection.
      Parameters:
      usageStartDate - the usageStartDate value to set.
      Returns:
      the ExportResourceUsageParameters object itself.
    • validate

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