Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iot Update models to latest #3090

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,7 @@ AttachSecurityProfileResult attachSecurityProfile(
/**
* <p>
* Attaches the specified principal to the specified thing. A principal can
* be X.509 certificates, IAM users, groups, and roles, Amazon Cognito
* identities or federated identities.
* be X.509 certificates, Amazon Cognito identities or federated identities.
* </p>
* <p>
* Requires permission to access the <a href=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -824,8 +824,7 @@ public AttachSecurityProfileResult attachSecurityProfile(
/**
* <p>
* Attaches the specified principal to the specified thing. A principal can
* be X.509 certificates, IAM users, groups, and roles, Amazon Cognito
* identities or federated identities.
* be X.509 certificates, Amazon Cognito identities or federated identities.
* </p>
* <p>
* Requires permission to access the <a href=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ public class AssociateTargetsWithJobRequest extends AmazonWebServiceRequest impl
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 64<br/>
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
*/
private String namespaceId;
Expand Down Expand Up @@ -318,7 +317,6 @@ public AssociateTargetsWithJobRequest withComment(String comment) {
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 64<br/>
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
*
* @return <p>
Expand Down Expand Up @@ -362,7 +360,6 @@ public String getNamespaceId() {
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 64<br/>
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
*
* @param namespaceId <p>
Expand Down Expand Up @@ -409,7 +406,6 @@ public void setNamespaceId(String namespaceId) {
* together.
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 64<br/>
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
*
* @param namespaceId <p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
/**
* <p>
* Attaches the specified principal to the specified thing. A principal can be
* X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities
* or federated identities.
* X.509 certificates, Amazon Cognito identities or federated identities.
* </p>
* <p>
* Requires permission to access the <a href=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ public class CreateJobRequest extends AmazonWebServiceRequest implements Seriali
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 64<br/>
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
*/
private String namespaceId;
Expand Down Expand Up @@ -217,6 +216,14 @@ public class CreateJobRequest extends AmazonWebServiceRequest implements Seriali
*/
private java.util.Map<String, String> documentParameters;

/**
* <p>
* The configuration that allows you to schedule a job for a future date and
* time in addition to specifying the end behavior for each job execution.
* </p>
*/
private SchedulingConfig schedulingConfig;

/**
* <p>
* A job identifier which must be unique for your Amazon Web Services
Expand Down Expand Up @@ -1164,7 +1171,6 @@ public CreateJobRequest withTags(java.util.Collection<Tag> tags) {
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 64<br/>
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
*
* @return <p>
Expand Down Expand Up @@ -1208,7 +1214,6 @@ public String getNamespaceId() {
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 64<br/>
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
*
* @param namespaceId <p>
Expand Down Expand Up @@ -1255,7 +1260,6 @@ public void setNamespaceId(String namespaceId) {
* together.
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 64<br/>
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
*
* @param namespaceId <p>
Expand Down Expand Up @@ -1527,6 +1531,60 @@ public CreateJobRequest cleardocumentParametersEntries() {
return this;
}

/**
* <p>
* The configuration that allows you to schedule a job for a future date and
* time in addition to specifying the end behavior for each job execution.
* </p>
*
* @return <p>
* The configuration that allows you to schedule a job for a future
* date and time in addition to specifying the end behavior for each
* job execution.
* </p>
*/
public SchedulingConfig getSchedulingConfig() {
return schedulingConfig;
}

/**
* <p>
* The configuration that allows you to schedule a job for a future date and
* time in addition to specifying the end behavior for each job execution.
* </p>
*
* @param schedulingConfig <p>
* The configuration that allows you to schedule a job for a
* future date and time in addition to specifying the end
* behavior for each job execution.
* </p>
*/
public void setSchedulingConfig(SchedulingConfig schedulingConfig) {
this.schedulingConfig = schedulingConfig;
}

/**
* <p>
* The configuration that allows you to schedule a job for a future date and
* time in addition to specifying the end behavior for each job execution.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param schedulingConfig <p>
* The configuration that allows you to schedule a job for a
* future date and time in addition to specifying the end
* behavior for each job execution.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
*/
public CreateJobRequest withSchedulingConfig(SchedulingConfig schedulingConfig) {
this.schedulingConfig = schedulingConfig;
return this;
}

/**
* Returns a string representation of this object; useful for testing and
* debugging.
Expand Down Expand Up @@ -1567,7 +1625,9 @@ public String toString() {
if (getJobExecutionsRetryConfig() != null)
sb.append("jobExecutionsRetryConfig: " + getJobExecutionsRetryConfig() + ",");
if (getDocumentParameters() != null)
sb.append("documentParameters: " + getDocumentParameters());
sb.append("documentParameters: " + getDocumentParameters() + ",");
if (getSchedulingConfig() != null)
sb.append("schedulingConfig: " + getSchedulingConfig());
sb.append("}");
return sb.toString();
}
Expand Down Expand Up @@ -1607,6 +1667,8 @@ public int hashCode() {
.hashCode());
hashCode = prime * hashCode
+ ((getDocumentParameters() == null) ? 0 : getDocumentParameters().hashCode());
hashCode = prime * hashCode
+ ((getSchedulingConfig() == null) ? 0 : getSchedulingConfig().hashCode());
return hashCode;
}

Expand Down Expand Up @@ -1695,6 +1757,11 @@ public boolean equals(Object obj) {
if (other.getDocumentParameters() != null
&& other.getDocumentParameters().equals(this.getDocumentParameters()) == false)
return false;
if (other.getSchedulingConfig() == null ^ this.getSchedulingConfig() == null)
return false;
if (other.getSchedulingConfig() != null
&& other.getSchedulingConfig().equals(this.getSchedulingConfig()) == false)
return false;
return true;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ public class DeleteJobExecutionRequest extends AmazonWebServiceRequest implement
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 64<br/>
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
*/
private String namespaceId;
Expand Down Expand Up @@ -481,7 +480,6 @@ public DeleteJobExecutionRequest withForce(Boolean force) {
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 64<br/>
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
*
* @return <p>
Expand Down Expand Up @@ -525,7 +523,6 @@ public String getNamespaceId() {
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 64<br/>
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
*
* @param namespaceId <p>
Expand Down Expand Up @@ -572,7 +569,6 @@ public void setNamespaceId(String namespaceId) {
* together.
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 64<br/>
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
*
* @param namespaceId <p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ public class DeleteJobRequest extends AmazonWebServiceRequest implements Seriali
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 64<br/>
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
*/
private String namespaceId;
Expand Down Expand Up @@ -358,7 +357,6 @@ public DeleteJobRequest withForce(Boolean force) {
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 64<br/>
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
*
* @return <p>
Expand Down Expand Up @@ -402,7 +400,6 @@ public String getNamespaceId() {
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 64<br/>
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
*
* @param namespaceId <p>
Expand Down Expand Up @@ -449,7 +446,6 @@ public void setNamespaceId(String namespaceId) {
* together.
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 64<br/>
* <b>Pattern: </b>[a-zA-Z0-9_-]+<br/>
*
* @param namespaceId <p>
Expand Down
Loading