public static class ResourceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ResourceSummary |
build() |
ResourceSummary.Builder |
childResources(List<String> childResources)
The details of any child resources.
|
ResourceSummary.Builder |
copy(ResourceSummary model) |
ResourceSummary.Builder |
dailyUnitDisplayName(String dailyUnitDisplayName)
Units to be used for daily aggregated data.
|
ResourceSummary.Builder |
description(String description)
Description of the resource.
|
ResourceSummary.Builder |
hourlyUnitDisplayName(String hourlyUnitDisplayName)
Units to be used for hourly aggregated data.
|
ResourceSummary.Builder |
instanceType(String instanceType)
Instance type for the resource.
|
ResourceSummary.Builder |
isPurchased(Boolean isPurchased)
Indicates if the SKU was purchased
|
ResourceSummary.Builder |
name(String name)
Name of the resource.
|
ResourceSummary.Builder |
rawUnitDisplayName(String rawUnitDisplayName)
Default units to use when unspecified.
|
ResourceSummary.Builder |
servicename(String servicename)
Name of the service.
|
ResourceSummary.Builder |
skus(List<SkuProducts> skus)
The details of resource Skus.
|
ResourceSummary.Builder |
usageDataType(ResourceSummary.UsageDataType usageDataType)
Usage data type of the resource.
|
public ResourceSummary.Builder dailyUnitDisplayName(String dailyUnitDisplayName)
Units to be used for daily aggregated data.
dailyUnitDisplayName
- the value to setpublic ResourceSummary.Builder hourlyUnitDisplayName(String hourlyUnitDisplayName)
Units to be used for hourly aggregated data.
hourlyUnitDisplayName
- the value to setpublic ResourceSummary.Builder rawUnitDisplayName(String rawUnitDisplayName)
Default units to use when unspecified.
rawUnitDisplayName
- the value to setpublic ResourceSummary.Builder usageDataType(ResourceSummary.UsageDataType usageDataType)
Usage data type of the resource.
usageDataType
- the value to setpublic ResourceSummary.Builder name(String name)
Name of the resource.
name
- the value to setpublic ResourceSummary.Builder servicename(String servicename)
Name of the service.
servicename
- the value to setpublic ResourceSummary.Builder description(String description)
Description of the resource.
description
- the value to setpublic ResourceSummary.Builder instanceType(String instanceType)
Instance type for the resource.
instanceType
- the value to setpublic ResourceSummary.Builder isPurchased(Boolean isPurchased)
Indicates if the SKU was purchased
isPurchased
- the value to setpublic ResourceSummary.Builder childResources(List<String> childResources)
The details of any child resources.
childResources
- the value to setpublic ResourceSummary.Builder skus(List<SkuProducts> skus)
The details of resource Skus.
skus
- the value to setpublic ResourceSummary build()
public ResourceSummary.Builder copy(ResourceSummary model)
Copyright © 2016–2024. All rights reserved.