File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
docker-java-api/src/main/java/com/github/dockerjava/api/model Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -63,11 +63,19 @@ public Long getTimeout() {
6363 return timeout ;
6464 }
6565
66+ /**
67+ * Set interval in nanoseconds
68+ * @return this {@link HealthCheck} instance
69+ */
6670 public HealthCheck withInterval (Long interval ) {
6771 this .interval = interval ;
6872 return this ;
6973 }
7074
75+ /**
76+ * Set timeout in nanoseconds
77+ * @return this {@link HealthCheck} instance
78+ */
7179 public HealthCheck withTimeout (Long timeout ) {
7280 this .timeout = timeout ;
7381 return this ;
@@ -95,6 +103,10 @@ public Long getStartPeriod() {
95103 return startPeriod ;
96104 }
97105
106+ /**
107+ * Set startPeriod in nanoseconds
108+ * @return this {@link HealthCheck} instance
109+ */
98110 public HealthCheck withStartPeriod (Long startPeriod ) {
99111 this .startPeriod = startPeriod ;
100112 return this ;
You can’t perform that action at this time.
0 commit comments