public static final class CapacityUsage.Builder
extends java.lang.Object
CapacityUsage
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
CapacityUsage . |
Modifier and Type | Method and Description |
---|---|
CapacityUsage |
build() |
CapacityUsage.Builder |
setCapacityType(java.lang.String capacityType)
type of the capacity field
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
CapacityUsage.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
CapacityUsage.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
CapacityUsage.Builder |
setSelf(SelfResourceLink self) |
CapacityUsage.Builder |
setUsageCount(java.lang.Long usageCount)
count of number of items of capacity_type format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
public Builder()
CapacityUsage
.public CapacityUsage.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public CapacityUsage.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public CapacityUsage.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public CapacityUsage.Builder setCapacityType(java.lang.String capacityType)
capacityType
- New value for the property.public CapacityUsage.Builder setUsageCount(java.lang.Long usageCount)
usageCount
- New value for the property.public CapacityUsage build()