Class FileDestination

java.lang.Object
com.azure.resourcemanager.costmanagement.models.FileDestination

public final class FileDestination extends Object
Destination of the view data. This is optional. Currently only CSV format is supported.
  • Constructor Details

    • FileDestination

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

    • fileFormats

      public List<FileFormat> fileFormats()
      Get the fileFormats property: Destination of the view data. Currently only CSV format is supported.
      Returns:
      the fileFormats value.
    • withFileFormats

      public FileDestination withFileFormats(List<FileFormat> fileFormats)
      Set the fileFormats property: Destination of the view data. Currently only CSV format is supported.
      Parameters:
      fileFormats - the fileFormats value to set.
      Returns:
      the FileDestination object itself.
    • validate

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