public static final class CounterMetadataTypes.Info.Builder
extends java.lang.Object
CounterMetadataTypes.Info
.Constructor and Description |
---|
Builder(java.lang.String cid,
java.lang.String mid,
CounterMetadataTypes.CounterEditionStatus status,
CounterMetadataTypes.SampleType type,
CounterMetadataTypes.MetricUnits units)
Constructor with parameters for the required properties of
CounterMetadataTypes.Info . |
Modifier and Type | Method and Description |
---|---|
CounterMetadataTypes.Info |
build() |
CounterMetadataTypes.Info.Builder |
setPid(java.lang.String pid)
ID of the respective provider.
|
CounterMetadataTypes.Info.Builder |
setScale(CounterMetadataTypes.UnitsFactor scale)
Additional multiplier factors to be used with units.
|
CounterMetadataTypes.Info.Builder |
setUserInfo(UserInfo userInfo)
Human legible localizable text about the counter.
|
public Builder(java.lang.String cid, java.lang.String mid, CounterMetadataTypes.CounterEditionStatus status, CounterMetadataTypes.SampleType type, CounterMetadataTypes.MetricUnits units)
CounterMetadataTypes.Info
.public CounterMetadataTypes.Info.Builder setScale(CounterMetadataTypes.UnitsFactor scale)
null
default of ONE
is used.scale
- New value for the property.public CounterMetadataTypes.Info.Builder setUserInfo(UserInfo userInfo)
null
in the current version.userInfo
- New value for the property.public CounterMetadataTypes.Info.Builder setPid(java.lang.String pid)
null
in the current version.pid
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: com.vmware.vstats.model.Provider
. When
methods return a value of this class as a return value, the property will be an
identifier for the resource type: com.vmware.vstats.model.Provider
.public CounterMetadataTypes.Info build()