Skip to content

Commit 70666ab

Browse files
feat(aws-android-sdk-connect): update models to latest (#2346)
Co-authored-by: Rafael Juliano <[email protected]>
1 parent 5a69458 commit 70666ab

File tree

570 files changed

+12075
-1235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

570 files changed

+12075
-1235
lines changed

aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnect.java

Lines changed: 367 additions & 59 deletions
Large diffs are not rendered by default.

aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectAsync.java

Lines changed: 843 additions & 132 deletions
Large diffs are not rendered by default.

aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectAsyncClient.java

Lines changed: 1006 additions & 108 deletions
Large diffs are not rendered by default.

aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectClient.java

Lines changed: 626 additions & 59 deletions
Large diffs are not rendered by default.

aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AssociateApprovedOriginRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AssociateInstanceStorageConfigRequest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.
@@ -32,8 +32,7 @@
3232
* <p>
3333
* This API does not create a resource that doesn't exist. It only associates it
3434
* to the instance. Ensure that the resource being specified in the storage
35-
* configuration, like an Amazon S3 bucket, exists when being used for
36-
* association.
35+
* configuration, like an S3 bucket, exists when being used for association.
3736
* </p>
3837
*/
3938
public class AssociateInstanceStorageConfigRequest extends AmazonWebServiceRequest implements

aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AssociateInstanceStorageConfigResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AssociateLambdaFunctionRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AssociateLexBotRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.
Lines changed: 290 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,290 @@
1+
/*
2+
* Copyright 2010-2021 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 com.amazonaws.services.connect.model;
17+
18+
import java.io.Serializable;
19+
20+
import com.amazonaws.AmazonWebServiceRequest;
21+
22+
/**
23+
* <p>
24+
* This API is in preview release for Amazon Connect and is subject to change.
25+
* </p>
26+
* <p>
27+
* Associates a set of quick connects with a queue.
28+
* </p>
29+
*/
30+
public class AssociateQueueQuickConnectsRequest extends AmazonWebServiceRequest implements
31+
Serializable {
32+
/**
33+
* <p>
34+
* The identifier of the Amazon Connect instance.
35+
* </p>
36+
* <p>
37+
* <b>Constraints:</b><br/>
38+
* <b>Length: </b>1 - 100<br/>
39+
*/
40+
private String instanceId;
41+
42+
/**
43+
* <p>
44+
* The identifier for the queue.
45+
* </p>
46+
*/
47+
private String queueId;
48+
49+
/**
50+
* <p>
51+
* The quick connects to associate with this queue.
52+
* </p>
53+
*/
54+
private java.util.List<String> quickConnectIds;
55+
56+
/**
57+
* <p>
58+
* The identifier of the Amazon Connect instance.
59+
* </p>
60+
* <p>
61+
* <b>Constraints:</b><br/>
62+
* <b>Length: </b>1 - 100<br/>
63+
*
64+
* @return <p>
65+
* The identifier of the Amazon Connect instance.
66+
* </p>
67+
*/
68+
public String getInstanceId() {
69+
return instanceId;
70+
}
71+
72+
/**
73+
* <p>
74+
* The identifier of the Amazon Connect instance.
75+
* </p>
76+
* <p>
77+
* <b>Constraints:</b><br/>
78+
* <b>Length: </b>1 - 100<br/>
79+
*
80+
* @param instanceId <p>
81+
* The identifier of the Amazon Connect instance.
82+
* </p>
83+
*/
84+
public void setInstanceId(String instanceId) {
85+
this.instanceId = instanceId;
86+
}
87+
88+
/**
89+
* <p>
90+
* The identifier of the Amazon Connect instance.
91+
* </p>
92+
* <p>
93+
* Returns a reference to this object so that method calls can be chained
94+
* together.
95+
* <p>
96+
* <b>Constraints:</b><br/>
97+
* <b>Length: </b>1 - 100<br/>
98+
*
99+
* @param instanceId <p>
100+
* The identifier of the Amazon Connect instance.
101+
* </p>
102+
* @return A reference to this updated object so that method calls can be
103+
* chained together.
104+
*/
105+
public AssociateQueueQuickConnectsRequest withInstanceId(String instanceId) {
106+
this.instanceId = instanceId;
107+
return this;
108+
}
109+
110+
/**
111+
* <p>
112+
* The identifier for the queue.
113+
* </p>
114+
*
115+
* @return <p>
116+
* The identifier for the queue.
117+
* </p>
118+
*/
119+
public String getQueueId() {
120+
return queueId;
121+
}
122+
123+
/**
124+
* <p>
125+
* The identifier for the queue.
126+
* </p>
127+
*
128+
* @param queueId <p>
129+
* The identifier for the queue.
130+
* </p>
131+
*/
132+
public void setQueueId(String queueId) {
133+
this.queueId = queueId;
134+
}
135+
136+
/**
137+
* <p>
138+
* The identifier for the queue.
139+
* </p>
140+
* <p>
141+
* Returns a reference to this object so that method calls can be chained
142+
* together.
143+
*
144+
* @param queueId <p>
145+
* The identifier for the queue.
146+
* </p>
147+
* @return A reference to this updated object so that method calls can be
148+
* chained together.
149+
*/
150+
public AssociateQueueQuickConnectsRequest withQueueId(String queueId) {
151+
this.queueId = queueId;
152+
return this;
153+
}
154+
155+
/**
156+
* <p>
157+
* The quick connects to associate with this queue.
158+
* </p>
159+
*
160+
* @return <p>
161+
* The quick connects to associate with this queue.
162+
* </p>
163+
*/
164+
public java.util.List<String> getQuickConnectIds() {
165+
return quickConnectIds;
166+
}
167+
168+
/**
169+
* <p>
170+
* The quick connects to associate with this queue.
171+
* </p>
172+
*
173+
* @param quickConnectIds <p>
174+
* The quick connects to associate with this queue.
175+
* </p>
176+
*/
177+
public void setQuickConnectIds(java.util.Collection<String> quickConnectIds) {
178+
if (quickConnectIds == null) {
179+
this.quickConnectIds = null;
180+
return;
181+
}
182+
183+
this.quickConnectIds = new java.util.ArrayList<String>(quickConnectIds);
184+
}
185+
186+
/**
187+
* <p>
188+
* The quick connects to associate with this queue.
189+
* </p>
190+
* <p>
191+
* Returns a reference to this object so that method calls can be chained
192+
* together.
193+
*
194+
* @param quickConnectIds <p>
195+
* The quick connects to associate with this queue.
196+
* </p>
197+
* @return A reference to this updated object so that method calls can be
198+
* chained together.
199+
*/
200+
public AssociateQueueQuickConnectsRequest withQuickConnectIds(String... quickConnectIds) {
201+
if (getQuickConnectIds() == null) {
202+
this.quickConnectIds = new java.util.ArrayList<String>(quickConnectIds.length);
203+
}
204+
for (String value : quickConnectIds) {
205+
this.quickConnectIds.add(value);
206+
}
207+
return this;
208+
}
209+
210+
/**
211+
* <p>
212+
* The quick connects to associate with this queue.
213+
* </p>
214+
* <p>
215+
* Returns a reference to this object so that method calls can be chained
216+
* together.
217+
*
218+
* @param quickConnectIds <p>
219+
* The quick connects to associate with this queue.
220+
* </p>
221+
* @return A reference to this updated object so that method calls can be
222+
* chained together.
223+
*/
224+
public AssociateQueueQuickConnectsRequest withQuickConnectIds(
225+
java.util.Collection<String> quickConnectIds) {
226+
setQuickConnectIds(quickConnectIds);
227+
return this;
228+
}
229+
230+
/**
231+
* Returns a string representation of this object; useful for testing and
232+
* debugging.
233+
*
234+
* @return A string representation of this object.
235+
* @see java.lang.Object#toString()
236+
*/
237+
@Override
238+
public String toString() {
239+
StringBuilder sb = new StringBuilder();
240+
sb.append("{");
241+
if (getInstanceId() != null)
242+
sb.append("InstanceId: " + getInstanceId() + ",");
243+
if (getQueueId() != null)
244+
sb.append("QueueId: " + getQueueId() + ",");
245+
if (getQuickConnectIds() != null)
246+
sb.append("QuickConnectIds: " + getQuickConnectIds());
247+
sb.append("}");
248+
return sb.toString();
249+
}
250+
251+
@Override
252+
public int hashCode() {
253+
final int prime = 31;
254+
int hashCode = 1;
255+
256+
hashCode = prime * hashCode + ((getInstanceId() == null) ? 0 : getInstanceId().hashCode());
257+
hashCode = prime * hashCode + ((getQueueId() == null) ? 0 : getQueueId().hashCode());
258+
hashCode = prime * hashCode
259+
+ ((getQuickConnectIds() == null) ? 0 : getQuickConnectIds().hashCode());
260+
return hashCode;
261+
}
262+
263+
@Override
264+
public boolean equals(Object obj) {
265+
if (this == obj)
266+
return true;
267+
if (obj == null)
268+
return false;
269+
270+
if (obj instanceof AssociateQueueQuickConnectsRequest == false)
271+
return false;
272+
AssociateQueueQuickConnectsRequest other = (AssociateQueueQuickConnectsRequest) obj;
273+
274+
if (other.getInstanceId() == null ^ this.getInstanceId() == null)
275+
return false;
276+
if (other.getInstanceId() != null
277+
&& other.getInstanceId().equals(this.getInstanceId()) == false)
278+
return false;
279+
if (other.getQueueId() == null ^ this.getQueueId() == null)
280+
return false;
281+
if (other.getQueueId() != null && other.getQueueId().equals(this.getQueueId()) == false)
282+
return false;
283+
if (other.getQuickConnectIds() == null ^ this.getQuickConnectIds() == null)
284+
return false;
285+
if (other.getQuickConnectIds() != null
286+
&& other.getQuickConnectIds().equals(this.getQuickConnectIds()) == false)
287+
return false;
288+
return true;
289+
}
290+
}

0 commit comments

Comments
 (0)