Class AutoValue_RestartPolicy
- java.lang.Object
-
- com.spotify.docker.client.messages.swarm.RestartPolicy
-
- com.spotify.docker.client.messages.swarm.AutoValue_RestartPolicy
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_RestartPolicy extends RestartPolicy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
AutoValue_RestartPolicy.Builder
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
condition
private java.lang.Long
delay
private java.lang.Integer
maxAttempts
private java.lang.Long
window
-
Fields inherited from class com.spotify.docker.client.messages.swarm.RestartPolicy
RESTART_POLICY_ANY, RESTART_POLICY_NONE, RESTART_POLICY_ON_FAILURE
-
-
Constructor Summary
Constructors Modifier Constructor Description private
AutoValue_RestartPolicy(java.lang.String condition, java.lang.Long delay, java.lang.Integer maxAttempts, java.lang.Long window)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
condition()
java.lang.Long
delay()
boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.Integer
maxAttempts()
java.lang.String
toString()
java.lang.Long
window()
-
Methods inherited from class com.spotify.docker.client.messages.swarm.RestartPolicy
builder, create
-
-
-
-
Method Detail
-
condition
@Nullable public java.lang.String condition()
- Specified by:
condition
in classRestartPolicy
-
delay
@Nullable public java.lang.Long delay()
- Specified by:
delay
in classRestartPolicy
-
maxAttempts
@Nullable public java.lang.Integer maxAttempts()
- Specified by:
maxAttempts
in classRestartPolicy
-
window
@Nullable public java.lang.Long window()
- Specified by:
window
in classRestartPolicy
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-