Class ExportResourceUsageParameters
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.ExportResourceUsageParameters
The parameters of the export operation.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ExportResourceUsageParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the blobStorageAbsoluteSasUri property: The blob storage absolute sas uri with write permission to the container which the usage data needs to be uploaded to.Get the usageStartDate property: The start time of the usage.void
validate()
Validates the instance.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.withUsageStartDate
(OffsetDateTime usageStartDate) Set the usageStartDate property: The start time of the usage.
-
Constructor Details
-
ExportResourceUsageParameters
public ExportResourceUsageParameters()Creates an instance of ExportResourceUsageParameters class.
-
-
Method Details
-
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
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
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.
-