public static final class AcqSpecsTypes.Info.Builder
extends java.lang.Object
AcqSpecsTypes.Info
.Constructor and Description |
---|
Builder(java.lang.String id,
AcqSpecsTypes.CounterSpec counters,
java.util.List<RsrcId> resources,
java.lang.String memo_,
AcqSpecsTypes.Status status)
Constructor with parameters for the required properties of
AcqSpecsTypes.Info . |
Modifier and Type | Method and Description |
---|---|
AcqSpecsTypes.Info |
build() |
AcqSpecsTypes.Info.Builder |
setExpiration(java.lang.Long expiration)
Expiration time for this acquisition specification represented as Unix UTC
number of seconds (since epoch).
|
AcqSpecsTypes.Info.Builder |
setInterval(java.lang.Long interval)
Desired sampling rate in seconds.
|
public Builder(java.lang.String id, AcqSpecsTypes.CounterSpec counters, java.util.List<RsrcId> resources, java.lang.String memo_, AcqSpecsTypes.Status status)
AcqSpecsTypes.Info
.public AcqSpecsTypes.Info.Builder setInterval(java.lang.Long interval)
null
, default interval is 10 seconds.interval
- New value for the property.public AcqSpecsTypes.Info.Builder setExpiration(java.lang.Long expiration)
null
or 0, default expiration duration is 100
minutes.expiration
- New value for the property.public AcqSpecsTypes.Info build()