public static final class CountersTypes.FilterSpec.Builder
extends java.lang.Object
CountersTypes.FilterSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
CountersTypes.FilterSpec . |
Modifier and Type | Method and Description |
---|---|
CountersTypes.FilterSpec |
build() |
CountersTypes.FilterSpec.Builder |
setCid(java.lang.String cid)
Counter identifier that will be listed.
|
CountersTypes.FilterSpec.Builder |
setMetric(java.lang.String metric)
Metric for which counters will be listed.
|
CountersTypes.FilterSpec.Builder |
setTypes(java.util.List<java.lang.String> types)
Resource type filter.
|
public Builder()
CountersTypes.FilterSpec
.public CountersTypes.FilterSpec.Builder setCid(java.lang.String cid)
null
counter filter will not be applied.cid
- 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.Counter
. 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.Counter
.public CountersTypes.FilterSpec.Builder setTypes(java.util.List<java.lang.String> types)
null
resource type filter will not be applied.types
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain identifiers for the resource type: com.vmware.vstats.model.RsrcType
. When methods return a value of this class as
a return value, the property will contain identifiers for the resource type:
com.vmware.vstats.model.RsrcType
.public CountersTypes.FilterSpec.Builder setMetric(java.lang.String metric)
null
metric filter will not be applied.metric
- 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.Metric
. 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.Metric
.public CountersTypes.FilterSpec build()