public class RolloutOptions extends Object
An sample expression of it in JSON might be:
{
"migrate": false,
"parallelism": 2,
"timeout": 1000,
"overlap": true,
"token": "insecure-access-token",
"ignoreFailures": false
}
| Modifier and Type | Class and Description |
|---|---|
static class |
RolloutOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RolloutOptions |
getDefault() |
Boolean |
getIgnoreFailures() |
Boolean |
getMigrate() |
Boolean |
getOverlap() |
Integer |
getParallelism() |
Long |
getTimeout() |
String |
getToken() |
int |
hashCode() |
static RolloutOptions.Builder |
newBuilder() |
RolloutOptions.Builder |
toBuilder() |
String |
toString() |
RolloutOptions |
withFallback(RolloutOptions that)
Return a new RolloutOptions instance by merging this instance with another one.
|
public static RolloutOptions getDefault()
public static RolloutOptions.Builder newBuilder()
public RolloutOptions.Builder toBuilder()
public RolloutOptions withFallback(RolloutOptions that)
NullPointerException - if any attribute in both instances are null.@Nullable public Long getTimeout()
@Nullable public Integer getParallelism()
@Nullable public Boolean getMigrate()
@Nullable public Boolean getOverlap()
@Nullable public String getToken()
@Nullable public Boolean getIgnoreFailures()
Copyright © 2019. All rights reserved.