public abstract static class InvokeDocument.Builder<B extends InvokeDocument.Builder<B,?>,T extends InvokeDocument> extends Object
Modifier | Constructor and Description |
---|---|
protected |
Builder(InvokeDocument document) |
protected |
Builder(String packageName,
String serviceName) |
Modifier and Type | Method and Description |
---|---|
B |
associatedTrackerId(String associatedTrackerId) |
abstract T |
build() |
String |
getAssociatedTrackerId() |
String |
getId() |
BigDecimal |
getInvokeCost() |
String |
getPackageName() |
long |
getResponseTime() |
String |
getServiceName() |
long |
getTimeInvoked() |
String |
getUser() |
Set<String> |
getUserGroups() |
B |
id(String id) |
B |
invokeCost(BigDecimal invokeCost) |
boolean |
isSuccess() |
B |
responseTime(long responseTime) |
B |
self() |
B |
success(boolean success) |
B |
timeInvoked(Instant timeInvoked) |
B |
timeInvoked(long timeInvoked) |
B |
user(String user) |
B |
userGroups(Set<String> userGroups) |
protected Builder(InvokeDocument document)
public B responseTime(long responseTime)
public B timeInvoked(long timeInvoked)
public B success(boolean success)
public B invokeCost(BigDecimal invokeCost)
public String getAssociatedTrackerId()
public long getTimeInvoked()
public String getId()
public String getPackageName()
public String getServiceName()
public long getResponseTime()
public boolean isSuccess()
public BigDecimal getInvokeCost()
public String getUser()
public B self()
public abstract T build()
Copyright © 2020. All rights reserved.