public class ServiceRestartPolicy
extends java.lang.Object
implements java.io.Serializable
RemoteApiVersion#VERSION_1_24
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ServiceRestartPolicy() |
Modifier and Type | Method and Description |
---|---|
ServiceRestartCondition |
getCondition() |
java.lang.Long |
getDelay() |
java.lang.Long |
getMaxAttempts() |
java.lang.Long |
getWindow() |
ServiceRestartPolicy |
withCondition(ServiceRestartCondition condition) |
ServiceRestartPolicy |
withDelay(java.lang.Long delay) |
ServiceRestartPolicy |
withMaxAttempts(java.lang.Long maxAttempts) |
ServiceRestartPolicy |
withWindow(java.lang.Long window) |
public static final long serialVersionUID
@CheckForNull public ServiceRestartCondition getCondition()
condition
public ServiceRestartPolicy withCondition(ServiceRestartCondition condition)
condition
@CheckForNull public java.lang.Long getDelay()
delay
public ServiceRestartPolicy withDelay(java.lang.Long delay)
delay
@CheckForNull public java.lang.Long getMaxAttempts()
maxAttempts
public ServiceRestartPolicy withMaxAttempts(java.lang.Long maxAttempts)
maxAttempts
@CheckForNull public java.lang.Long getWindow()
window
public ServiceRestartPolicy withWindow(java.lang.Long window)
window
Copyright © 2019. All Rights Reserved.