Skip to content

Commit c92c996

Browse files
authored
feat(aws-android-sdk-connect): update models to latest (#3011)
1 parent a1781bd commit c92c996

File tree

235 files changed

+28297
-1547
lines changed

Some content is hidden

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

235 files changed

+28297
-1547
lines changed

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

Lines changed: 362 additions & 60 deletions
Large diffs are not rendered by default.

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

Lines changed: 792 additions & 126 deletions
Large diffs are not rendered by default.

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

Lines changed: 971 additions & 141 deletions
Large diffs are not rendered by default.

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

Lines changed: 635 additions & 60 deletions
Large diffs are not rendered by default.

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

Lines changed: 710 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ public class AgentStatus implements Serializable {
9090
/**
9191
* <p>
9292
* The tags used to organize, track, or control access for this resource.
93+
* For example, { "tags": {"key1":"value1", "key2":"value2"} }.
9394
* </p>
9495
*/
9596
private java.util.Map<String, String> tags;
@@ -543,11 +544,13 @@ public AgentStatus withState(AgentStatusState state) {
543544
/**
544545
* <p>
545546
* The tags used to organize, track, or control access for this resource.
547+
* For example, { "tags": {"key1":"value1", "key2":"value2"} }.
546548
* </p>
547549
*
548550
* @return <p>
549551
* The tags used to organize, track, or control access for this
550-
* resource.
552+
* resource. For example, { "tags": {"key1":"value1",
553+
* "key2":"value2"} }.
551554
* </p>
552555
*/
553556
public java.util.Map<String, String> getTags() {
@@ -557,11 +560,13 @@ public java.util.Map<String, String> getTags() {
557560
/**
558561
* <p>
559562
* The tags used to organize, track, or control access for this resource.
563+
* For example, { "tags": {"key1":"value1", "key2":"value2"} }.
560564
* </p>
561565
*
562566
* @param tags <p>
563567
* The tags used to organize, track, or control access for this
564-
* resource.
568+
* resource. For example, { "tags": {"key1":"value1",
569+
* "key2":"value2"} }.
565570
* </p>
566571
*/
567572
public void setTags(java.util.Map<String, String> tags) {
@@ -571,14 +576,16 @@ public void setTags(java.util.Map<String, String> tags) {
571576
/**
572577
* <p>
573578
* The tags used to organize, track, or control access for this resource.
579+
* For example, { "tags": {"key1":"value1", "key2":"value2"} }.
574580
* </p>
575581
* <p>
576582
* Returns a reference to this object so that method calls can be chained
577583
* together.
578584
*
579585
* @param tags <p>
580586
* The tags used to organize, track, or control access for this
581-
* resource.
587+
* resource. For example, { "tags": {"key1":"value1",
588+
* "key2":"value2"} }.
582589
* </p>
583590
* @return A reference to this updated object so that method calls can be
584591
* chained together.
@@ -591,6 +598,7 @@ public AgentStatus withTags(java.util.Map<String, String> tags) {
591598
/**
592599
* <p>
593600
* The tags used to organize, track, or control access for this resource.
601+
* For example, { "tags": {"key1":"value1", "key2":"value2"} }.
594602
* </p>
595603
* <p>
596604
* The method adds a new key-value pair into Tags parameter, and returns a
Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
/*
2+
* Copyright 2010-2022 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+
/**
21+
* <p>
22+
* Information about the agent's status.
23+
* </p>
24+
*/
25+
public class AgentStatusReference implements Serializable {
26+
/**
27+
* <p>
28+
* The start timestamp of the agent's status.
29+
* </p>
30+
*/
31+
private java.util.Date statusStartTimestamp;
32+
33+
/**
34+
* <p>
35+
* The Amazon Resource Name (ARN) of the agent's status.
36+
* </p>
37+
*/
38+
private String statusArn;
39+
40+
/**
41+
* <p>
42+
* The start timestamp of the agent's status.
43+
* </p>
44+
*
45+
* @return <p>
46+
* The start timestamp of the agent's status.
47+
* </p>
48+
*/
49+
public java.util.Date getStatusStartTimestamp() {
50+
return statusStartTimestamp;
51+
}
52+
53+
/**
54+
* <p>
55+
* The start timestamp of the agent's status.
56+
* </p>
57+
*
58+
* @param statusStartTimestamp <p>
59+
* The start timestamp of the agent's status.
60+
* </p>
61+
*/
62+
public void setStatusStartTimestamp(java.util.Date statusStartTimestamp) {
63+
this.statusStartTimestamp = statusStartTimestamp;
64+
}
65+
66+
/**
67+
* <p>
68+
* The start timestamp of the agent's status.
69+
* </p>
70+
* <p>
71+
* Returns a reference to this object so that method calls can be chained
72+
* together.
73+
*
74+
* @param statusStartTimestamp <p>
75+
* The start timestamp of the agent's status.
76+
* </p>
77+
* @return A reference to this updated object so that method calls can be
78+
* chained together.
79+
*/
80+
public AgentStatusReference withStatusStartTimestamp(java.util.Date statusStartTimestamp) {
81+
this.statusStartTimestamp = statusStartTimestamp;
82+
return this;
83+
}
84+
85+
/**
86+
* <p>
87+
* The Amazon Resource Name (ARN) of the agent's status.
88+
* </p>
89+
*
90+
* @return <p>
91+
* The Amazon Resource Name (ARN) of the agent's status.
92+
* </p>
93+
*/
94+
public String getStatusArn() {
95+
return statusArn;
96+
}
97+
98+
/**
99+
* <p>
100+
* The Amazon Resource Name (ARN) of the agent's status.
101+
* </p>
102+
*
103+
* @param statusArn <p>
104+
* The Amazon Resource Name (ARN) of the agent's status.
105+
* </p>
106+
*/
107+
public void setStatusArn(String statusArn) {
108+
this.statusArn = statusArn;
109+
}
110+
111+
/**
112+
* <p>
113+
* The Amazon Resource Name (ARN) of the agent's status.
114+
* </p>
115+
* <p>
116+
* Returns a reference to this object so that method calls can be chained
117+
* together.
118+
*
119+
* @param statusArn <p>
120+
* The Amazon Resource Name (ARN) of the agent's status.
121+
* </p>
122+
* @return A reference to this updated object so that method calls can be
123+
* chained together.
124+
*/
125+
public AgentStatusReference withStatusArn(String statusArn) {
126+
this.statusArn = statusArn;
127+
return this;
128+
}
129+
130+
/**
131+
* Returns a string representation of this object; useful for testing and
132+
* debugging.
133+
*
134+
* @return A string representation of this object.
135+
* @see java.lang.Object#toString()
136+
*/
137+
@Override
138+
public String toString() {
139+
StringBuilder sb = new StringBuilder();
140+
sb.append("{");
141+
if (getStatusStartTimestamp() != null)
142+
sb.append("StatusStartTimestamp: " + getStatusStartTimestamp() + ",");
143+
if (getStatusArn() != null)
144+
sb.append("StatusArn: " + getStatusArn());
145+
sb.append("}");
146+
return sb.toString();
147+
}
148+
149+
@Override
150+
public int hashCode() {
151+
final int prime = 31;
152+
int hashCode = 1;
153+
154+
hashCode = prime * hashCode
155+
+ ((getStatusStartTimestamp() == null) ? 0 : getStatusStartTimestamp().hashCode());
156+
hashCode = prime * hashCode + ((getStatusArn() == null) ? 0 : getStatusArn().hashCode());
157+
return hashCode;
158+
}
159+
160+
@Override
161+
public boolean equals(Object obj) {
162+
if (this == obj)
163+
return true;
164+
if (obj == null)
165+
return false;
166+
167+
if (obj instanceof AgentStatusReference == false)
168+
return false;
169+
AgentStatusReference other = (AgentStatusReference) obj;
170+
171+
if (other.getStatusStartTimestamp() == null ^ this.getStatusStartTimestamp() == null)
172+
return false;
173+
if (other.getStatusStartTimestamp() != null
174+
&& other.getStatusStartTimestamp().equals(this.getStatusStartTimestamp()) == false)
175+
return false;
176+
if (other.getStatusArn() == null ^ this.getStatusArn() == null)
177+
return false;
178+
if (other.getStatusArn() != null
179+
&& other.getStatusArn().equals(this.getStatusArn()) == false)
180+
return false;
181+
return true;
182+
}
183+
}

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
/**
2323
* <p>
24-
* Associates a contact flow with a phone number claimed to your Amazon Connect
24+
* Associates a flow with a phone number claimed to your Amazon Connect
2525
* instance.
2626
* </p>
2727
*/
@@ -47,7 +47,7 @@ public class AssociatePhoneNumberContactFlowRequest extends AmazonWebServiceRequ
4747

4848
/**
4949
* <p>
50-
* The identifier of the contact flow.
50+
* The identifier of the flow.
5151
* </p>
5252
* <p>
5353
* <b>Constraints:</b><br/>
@@ -162,14 +162,14 @@ public AssociatePhoneNumberContactFlowRequest withInstanceId(String instanceId)
162162

163163
/**
164164
* <p>
165-
* The identifier of the contact flow.
165+
* The identifier of the flow.
166166
* </p>
167167
* <p>
168168
* <b>Constraints:</b><br/>
169169
* <b>Length: </b> - 500<br/>
170170
*
171171
* @return <p>
172-
* The identifier of the contact flow.
172+
* The identifier of the flow.
173173
* </p>
174174
*/
175175
public String getContactFlowId() {
@@ -178,14 +178,14 @@ public String getContactFlowId() {
178178

179179
/**
180180
* <p>
181-
* The identifier of the contact flow.
181+
* The identifier of the flow.
182182
* </p>
183183
* <p>
184184
* <b>Constraints:</b><br/>
185185
* <b>Length: </b> - 500<br/>
186186
*
187187
* @param contactFlowId <p>
188-
* The identifier of the contact flow.
188+
* The identifier of the flow.
189189
* </p>
190190
*/
191191
public void setContactFlowId(String contactFlowId) {
@@ -194,7 +194,7 @@ public void setContactFlowId(String contactFlowId) {
194194

195195
/**
196196
* <p>
197-
* The identifier of the contact flow.
197+
* The identifier of the flow.
198198
* </p>
199199
* <p>
200200
* Returns a reference to this object so that method calls can be chained
@@ -204,7 +204,7 @@ public void setContactFlowId(String contactFlowId) {
204204
* <b>Length: </b> - 500<br/>
205205
*
206206
* @param contactFlowId <p>
207-
* The identifier of the contact flow.
207+
* The identifier of the flow.
208208
* </p>
209209
* @return A reference to this updated object so that method calls can be
210210
* chained together.

0 commit comments

Comments
 (0)