public static final class AcqSpecsTypes.UpdateSpec.Builder
extends java.lang.Object
AcqSpecsTypes.UpdateSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
AcqSpecsTypes.UpdateSpec . |
Modifier and Type | Method and Description |
---|---|
AcqSpecsTypes.UpdateSpec |
build() |
AcqSpecsTypes.UpdateSpec.Builder |
setCounters(AcqSpecsTypes.CounterSpec counters)
Designates the counter(s) to be sampled.
|
AcqSpecsTypes.UpdateSpec.Builder |
setExpiration(java.lang.Long expiration)
Expiration time for this acquisition specification in Unix UTC number of seconds
(since epoch).
|
AcqSpecsTypes.UpdateSpec.Builder |
setInterval(java.lang.Long interval)
Desired sampling rate in seconds.
|
AcqSpecsTypes.UpdateSpec.Builder |
setMemo_(java.lang.String memo_)
Consumer provided text about this Acquisition Specification.
|
AcqSpecsTypes.UpdateSpec.Builder |
setResources(java.util.List<RsrcId> resources)
A set of resource identifiers representing a single resource to be monitored.
|
public Builder()
AcqSpecsTypes.UpdateSpec
.public AcqSpecsTypes.UpdateSpec.Builder setCounters(AcqSpecsTypes.CounterSpec counters)
null
, the value is unchanged.counters
- New value for the property.public AcqSpecsTypes.UpdateSpec.Builder setResources(java.util.List<RsrcId> resources)
null
, the value is unchanged.resources
- New value for the property.public AcqSpecsTypes.UpdateSpec.Builder setInterval(java.lang.Long interval)
null
, the value is unchanged.interval
- New value for the property.public AcqSpecsTypes.UpdateSpec.Builder setExpiration(java.lang.Long expiration)
null
, the value is unchanged.expiration
- New value for the property.public AcqSpecsTypes.UpdateSpec.Builder setMemo_(java.lang.String memo_)
null
, the value is unchanged.memo_
- New value for the property.public AcqSpecsTypes.UpdateSpec build()