Package google.registry.whois
Class WhoisMetrics.WhoisMetric.Builder
java.lang.Object
google.registry.whois.WhoisMetrics.WhoisMetric.Builder
- Enclosing class:
WhoisMetrics.WhoisMetric
A builder to create instances of
WhoisMetrics.WhoisMetric
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build an instance ofWhoisMetrics.WhoisMetric
using this builder.setCommand
(WhoisCommand command) abstract WhoisMetrics.WhoisMetric.Builder
setCommandName
(String commandName) abstract WhoisMetrics.WhoisMetric.Builder
setNumResults
(int numResults) abstract WhoisMetrics.WhoisMetric.Builder
setStatus
(int status)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setCommand
-
setCommandName
-
setNumResults
-
setStatus
-
build
Build an instance ofWhoisMetrics.WhoisMetric
using this builder.If a clock was provided with
setClock()
, the end timestamp will be set to the current timestamp of the clock; otherwise end timestamp must have been previously set.
-