public static class CleanEnergyUsage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CleanEnergyUsage.Builder |
ad(String ad)
The availability domain.
|
CleanEnergyUsage |
build() |
CleanEnergyUsage.Builder |
copy(CleanEnergyUsage model) |
CleanEnergyUsage.Builder |
region(String region)
The region.
|
CleanEnergyUsage.Builder |
usage(Double usage)
The percentage of clean enery used.
|
public CleanEnergyUsage.Builder region(String region)
The region.
region
- the value to setpublic CleanEnergyUsage.Builder ad(String ad)
The availability domain.
ad
- the value to setpublic CleanEnergyUsage.Builder usage(Double usage)
The percentage of clean enery used.
usage
- the value to setpublic CleanEnergyUsage build()
public CleanEnergyUsage.Builder copy(CleanEnergyUsage model)
Copyright © 2016–2024. All rights reserved.