Skip to content

Commit bd3b631

Browse files
authored
feat(aws-android-sdk-iot): update models to latest (#3090)
1 parent da5fb92 commit bd3b631

30 files changed

+2391
-69
lines changed

aws-android-sdk-iot/src/main/java/com/amazonaws/services/iot/AWSIot.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,7 @@ AttachSecurityProfileResult attachSecurityProfile(
361361
/**
362362
* <p>
363363
* Attaches the specified principal to the specified thing. A principal can
364-
* be X.509 certificates, IAM users, groups, and roles, Amazon Cognito
365-
* identities or federated identities.
364+
* be X.509 certificates, Amazon Cognito identities or federated identities.
366365
* </p>
367366
* <p>
368367
* Requires permission to access the <a href=

aws-android-sdk-iot/src/main/java/com/amazonaws/services/iot/AWSIotClient.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,8 +824,7 @@ public AttachSecurityProfileResult attachSecurityProfile(
824824
/**
825825
* <p>
826826
* Attaches the specified principal to the specified thing. A principal can
827-
* be X.509 certificates, IAM users, groups, and roles, Amazon Cognito
828-
* identities or federated identities.
827+
* be X.509 certificates, Amazon Cognito identities or federated identities.
829828
* </p>
830829
* <p>
831830
* Requires permission to access the <a href=

aws-android-sdk-iot/src/main/java/com/amazonaws/services/iot/model/AssociateTargetsWithJobRequest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ public class AssociateTargetsWithJobRequest extends AmazonWebServiceRequest impl
9797
* </note>
9898
* <p>
9999
* <b>Constraints:</b><br/>
100-
* <b>Length: </b>1 - 64<br/>
101100
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
102101
*/
103102
private String namespaceId;
@@ -318,7 +317,6 @@ public AssociateTargetsWithJobRequest withComment(String comment) {
318317
* </note>
319318
* <p>
320319
* <b>Constraints:</b><br/>
321-
* <b>Length: </b>1 - 64<br/>
322320
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
323321
*
324322
* @return <p>
@@ -362,7 +360,6 @@ public String getNamespaceId() {
362360
* </note>
363361
* <p>
364362
* <b>Constraints:</b><br/>
365-
* <b>Length: </b>1 - 64<br/>
366363
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
367364
*
368365
* @param namespaceId <p>
@@ -409,7 +406,6 @@ public void setNamespaceId(String namespaceId) {
409406
* together.
410407
* <p>
411408
* <b>Constraints:</b><br/>
412-
* <b>Length: </b>1 - 64<br/>
413409
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
414410
*
415411
* @param namespaceId <p>

aws-android-sdk-iot/src/main/java/com/amazonaws/services/iot/model/AttachThingPrincipalRequest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
/**
2323
* <p>
2424
* Attaches the specified principal to the specified thing. A principal can be
25-
* X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities
26-
* or federated identities.
25+
* X.509 certificates, Amazon Cognito identities or federated identities.
2726
* </p>
2827
* <p>
2928
* Requires permission to access the <a href=

aws-android-sdk-iot/src/main/java/com/amazonaws/services/iot/model/CreateJobRequest.java

Lines changed: 72 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ public class CreateJobRequest extends AmazonWebServiceRequest implements Seriali
179179
* </note>
180180
* <p>
181181
* <b>Constraints:</b><br/>
182-
* <b>Length: </b>1 - 64<br/>
183182
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
184183
*/
185184
private String namespaceId;
@@ -217,6 +216,14 @@ public class CreateJobRequest extends AmazonWebServiceRequest implements Seriali
217216
*/
218217
private java.util.Map<String, String> documentParameters;
219218

219+
/**
220+
* <p>
221+
* The configuration that allows you to schedule a job for a future date and
222+
* time in addition to specifying the end behavior for each job execution.
223+
* </p>
224+
*/
225+
private SchedulingConfig schedulingConfig;
226+
220227
/**
221228
* <p>
222229
* A job identifier which must be unique for your Amazon Web Services
@@ -1164,7 +1171,6 @@ public CreateJobRequest withTags(java.util.Collection<Tag> tags) {
11641171
* </note>
11651172
* <p>
11661173
* <b>Constraints:</b><br/>
1167-
* <b>Length: </b>1 - 64<br/>
11681174
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
11691175
*
11701176
* @return <p>
@@ -1208,7 +1214,6 @@ public String getNamespaceId() {
12081214
* </note>
12091215
* <p>
12101216
* <b>Constraints:</b><br/>
1211-
* <b>Length: </b>1 - 64<br/>
12121217
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
12131218
*
12141219
* @param namespaceId <p>
@@ -1255,7 +1260,6 @@ public void setNamespaceId(String namespaceId) {
12551260
* together.
12561261
* <p>
12571262
* <b>Constraints:</b><br/>
1258-
* <b>Length: </b>1 - 64<br/>
12591263
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
12601264
*
12611265
* @param namespaceId <p>
@@ -1527,6 +1531,60 @@ public CreateJobRequest cleardocumentParametersEntries() {
15271531
return this;
15281532
}
15291533

1534+
/**
1535+
* <p>
1536+
* The configuration that allows you to schedule a job for a future date and
1537+
* time in addition to specifying the end behavior for each job execution.
1538+
* </p>
1539+
*
1540+
* @return <p>
1541+
* The configuration that allows you to schedule a job for a future
1542+
* date and time in addition to specifying the end behavior for each
1543+
* job execution.
1544+
* </p>
1545+
*/
1546+
public SchedulingConfig getSchedulingConfig() {
1547+
return schedulingConfig;
1548+
}
1549+
1550+
/**
1551+
* <p>
1552+
* The configuration that allows you to schedule a job for a future date and
1553+
* time in addition to specifying the end behavior for each job execution.
1554+
* </p>
1555+
*
1556+
* @param schedulingConfig <p>
1557+
* The configuration that allows you to schedule a job for a
1558+
* future date and time in addition to specifying the end
1559+
* behavior for each job execution.
1560+
* </p>
1561+
*/
1562+
public void setSchedulingConfig(SchedulingConfig schedulingConfig) {
1563+
this.schedulingConfig = schedulingConfig;
1564+
}
1565+
1566+
/**
1567+
* <p>
1568+
* The configuration that allows you to schedule a job for a future date and
1569+
* time in addition to specifying the end behavior for each job execution.
1570+
* </p>
1571+
* <p>
1572+
* Returns a reference to this object so that method calls can be chained
1573+
* together.
1574+
*
1575+
* @param schedulingConfig <p>
1576+
* The configuration that allows you to schedule a job for a
1577+
* future date and time in addition to specifying the end
1578+
* behavior for each job execution.
1579+
* </p>
1580+
* @return A reference to this updated object so that method calls can be
1581+
* chained together.
1582+
*/
1583+
public CreateJobRequest withSchedulingConfig(SchedulingConfig schedulingConfig) {
1584+
this.schedulingConfig = schedulingConfig;
1585+
return this;
1586+
}
1587+
15301588
/**
15311589
* Returns a string representation of this object; useful for testing and
15321590
* debugging.
@@ -1567,7 +1625,9 @@ public String toString() {
15671625
if (getJobExecutionsRetryConfig() != null)
15681626
sb.append("jobExecutionsRetryConfig: " + getJobExecutionsRetryConfig() + ",");
15691627
if (getDocumentParameters() != null)
1570-
sb.append("documentParameters: " + getDocumentParameters());
1628+
sb.append("documentParameters: " + getDocumentParameters() + ",");
1629+
if (getSchedulingConfig() != null)
1630+
sb.append("schedulingConfig: " + getSchedulingConfig());
15711631
sb.append("}");
15721632
return sb.toString();
15731633
}
@@ -1607,6 +1667,8 @@ public int hashCode() {
16071667
.hashCode());
16081668
hashCode = prime * hashCode
16091669
+ ((getDocumentParameters() == null) ? 0 : getDocumentParameters().hashCode());
1670+
hashCode = prime * hashCode
1671+
+ ((getSchedulingConfig() == null) ? 0 : getSchedulingConfig().hashCode());
16101672
return hashCode;
16111673
}
16121674

@@ -1695,6 +1757,11 @@ public boolean equals(Object obj) {
16951757
if (other.getDocumentParameters() != null
16961758
&& other.getDocumentParameters().equals(this.getDocumentParameters()) == false)
16971759
return false;
1760+
if (other.getSchedulingConfig() == null ^ this.getSchedulingConfig() == null)
1761+
return false;
1762+
if (other.getSchedulingConfig() != null
1763+
&& other.getSchedulingConfig().equals(this.getSchedulingConfig()) == false)
1764+
return false;
16981765
return true;
16991766
}
17001767
}

aws-android-sdk-iot/src/main/java/com/amazonaws/services/iot/model/DeleteJobExecutionRequest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ public class DeleteJobExecutionRequest extends AmazonWebServiceRequest implement
103103
* </note>
104104
* <p>
105105
* <b>Constraints:</b><br/>
106-
* <b>Length: </b>1 - 64<br/>
107106
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
108107
*/
109108
private String namespaceId;
@@ -481,7 +480,6 @@ public DeleteJobExecutionRequest withForce(Boolean force) {
481480
* </note>
482481
* <p>
483482
* <b>Constraints:</b><br/>
484-
* <b>Length: </b>1 - 64<br/>
485483
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
486484
*
487485
* @return <p>
@@ -525,7 +523,6 @@ public String getNamespaceId() {
525523
* </note>
526524
* <p>
527525
* <b>Constraints:</b><br/>
528-
* <b>Length: </b>1 - 64<br/>
529526
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
530527
*
531528
* @param namespaceId <p>
@@ -572,7 +569,6 @@ public void setNamespaceId(String namespaceId) {
572569
* together.
573570
* <p>
574571
* <b>Constraints:</b><br/>
575-
* <b>Length: </b>1 - 64<br/>
576572
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
577573
*
578574
* @param namespaceId <p>

aws-android-sdk-iot/src/main/java/com/amazonaws/services/iot/model/DeleteJobRequest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ public class DeleteJobRequest extends AmazonWebServiceRequest implements Seriali
9494
* </note>
9595
* <p>
9696
* <b>Constraints:</b><br/>
97-
* <b>Length: </b>1 - 64<br/>
9897
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
9998
*/
10099
private String namespaceId;
@@ -358,7 +357,6 @@ public DeleteJobRequest withForce(Boolean force) {
358357
* </note>
359358
* <p>
360359
* <b>Constraints:</b><br/>
361-
* <b>Length: </b>1 - 64<br/>
362360
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
363361
*
364362
* @return <p>
@@ -402,7 +400,6 @@ public String getNamespaceId() {
402400
* </note>
403401
* <p>
404402
* <b>Constraints:</b><br/>
405-
* <b>Length: </b>1 - 64<br/>
406403
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
407404
*
408405
* @param namespaceId <p>
@@ -449,7 +446,6 @@ public void setNamespaceId(String namespaceId) {
449446
* together.
450447
* <p>
451448
* <b>Constraints:</b><br/>
452-
* <b>Length: </b>1 - 64<br/>
453449
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
454450
*
455451
* @param namespaceId <p>

0 commit comments

Comments
 (0)