• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  *  http://aws.amazon.com/apache2.0
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 package software.amazon.awssdk.codegen.model.service;
17 
18 import java.util.List;
19 
20 public class WaiterDefinition {
21 
22     private int delay;
23 
24     private int maxAttempts;
25 
26     private String operation;
27 
28     private List<Acceptor> acceptors;
29 
WaiterDefinition()30     public WaiterDefinition() {
31     }
32 
getDelay()33     public int getDelay() {
34         return delay;
35     }
36 
setDelay(int delay)37     public void setDelay(int delay) {
38         this.delay = delay;
39     }
40 
getMaxAttempts()41     public int getMaxAttempts() {
42         return maxAttempts;
43     }
44 
setMaxAttempts(int maxAttempts)45     public void setMaxAttempts(int maxAttempts) {
46         this.maxAttempts = maxAttempts;
47     }
48 
getOperation()49     public String getOperation() {
50         return operation;
51     }
52 
setOperation(String operation)53     public void setOperation(String operation) {
54         this.operation = operation;
55     }
56 
getAcceptors()57     public List<Acceptor> getAcceptors() {
58         return acceptors;
59     }
60 
setAcceptors(List<Acceptor> acceptors)61     public void setAcceptors(List<Acceptor> acceptors) {
62         this.acceptors = acceptors;
63     }
64 
65 }
66