Class GenerateDetailedCostReportTimePeriod
java.lang.Object
com.azure.resourcemanager.costmanagement.models.GenerateDetailedCostReportTimePeriod
The start and end date for pulling data for the cost detailed report.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of GenerateDetailedCostReportTimePeriod class. -
Method Summary
Modifier and TypeMethodDescriptionend()Get the end property: The end date to pull data to.start()Get the start property: The start date to pull data from.voidvalidate()Validates the instance.Set the end property: The end date to pull data to.Set the start property: The start date to pull data from.
-
Constructor Details
-
GenerateDetailedCostReportTimePeriod
public GenerateDetailedCostReportTimePeriod()Creates an instance of GenerateDetailedCostReportTimePeriod class.
-
-
Method Details
-
start
Get the start property: The start date to pull data from. example format 2020-03-15.- Returns:
- the start value.
-
withStart
Set the start property: The start date to pull data from. example format 2020-03-15.- Parameters:
start- the start value to set.- Returns:
- the GenerateDetailedCostReportTimePeriod object itself.
-
end
Get the end property: The end date to pull data to. example format 2020-03-15.- Returns:
- the end value.
-
withEnd
Set the end property: The end date to pull data to. example format 2020-03-15.- Parameters:
end- the end value to set.- Returns:
- the GenerateDetailedCostReportTimePeriod object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-