Class ExportDeliveryDestination

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

public final class ExportDeliveryDestination extends Object
The destination information for the delivery of the export. To allow access to a storage account, you must register the account's subscription with the Microsoft.CostManagementExports resource provider. This is required once per subscription. When creating an export in the Azure portal, it is done automatically, however API users need to register the subscription. For more information see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services .
  • Constructor Details

    • ExportDeliveryDestination

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

    • resourceId

      public String resourceId()
      Get the resourceId property: The resource id of the storage account where exports will be delivered.
      Returns:
      the resourceId value.
    • withResourceId

      public ExportDeliveryDestination withResourceId(String resourceId)
      Set the resourceId property: The resource id of the storage account where exports will be delivered.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the ExportDeliveryDestination object itself.
    • container

      public String container()
      Get the container property: The name of the container where exports will be uploaded.
      Returns:
      the container value.
    • withContainer

      public ExportDeliveryDestination withContainer(String container)
      Set the container property: The name of the container where exports will be uploaded.
      Parameters:
      container - the container value to set.
      Returns:
      the ExportDeliveryDestination object itself.
    • rootFolderPath

      public String rootFolderPath()
      Get the rootFolderPath property: The name of the directory where exports will be uploaded.
      Returns:
      the rootFolderPath value.
    • withRootFolderPath

      public ExportDeliveryDestination withRootFolderPath(String rootFolderPath)
      Set the rootFolderPath property: The name of the directory where exports will be uploaded.
      Parameters:
      rootFolderPath - the rootFolderPath value to set.
      Returns:
      the ExportDeliveryDestination object itself.
    • validate

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