Class ExportDeliveryDestination
java.lang.Object
com.azure.resourcemanager.costmanagement.models.ExportDeliveryDestination
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 Summary
ConstructorDescriptionCreates an instance of ExportDeliveryDestination class. -
Method Summary
Modifier and TypeMethodDescriptionGet the container property: The name of the container where exports will be uploaded.Get the resourceId property: The resource id of the storage account where exports will be delivered.Get the rootFolderPath property: The name of the directory where exports will be uploaded.void
validate()
Validates the instance.withContainer
(String container) Set the container property: The name of the container where exports will be uploaded.withResourceId
(String resourceId) Set the resourceId property: The resource id of the storage account where exports will be delivered.withRootFolderPath
(String rootFolderPath) Set the rootFolderPath property: The name of the directory where exports will be uploaded.
-
Constructor Details
-
ExportDeliveryDestination
public ExportDeliveryDestination()Creates an instance of ExportDeliveryDestination class.
-
-
Method Details
-
resourceId
Get the resourceId property: The resource id of the storage account where exports will be delivered.- Returns:
- the resourceId value.
-
withResourceId
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
Get the container property: The name of the container where exports will be uploaded.- Returns:
- the container value.
-
withContainer
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
Get the rootFolderPath property: The name of the directory where exports will be uploaded.- Returns:
- the rootFolderPath value.
-
withRootFolderPath
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.
-