Skip to content

Commit

Permalink
feat(aws-android-sdk-iot): update models to latest (#3054)
Browse files Browse the repository at this point in the history
Co-authored-by: Saijad Dhuka <[email protected]>
  • Loading branch information
awsmobilesdk and sdhuka authored Nov 3, 2022
1 parent 3013f83 commit 6e8ff43
Show file tree
Hide file tree
Showing 13 changed files with 1,092 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,14 @@ public class Action implements Serializable {
*/
private OpenSearchAction openSearch;

/**
* <p>
* The Amazon Location Service rule action sends device location updates
* from an MQTT message to an Amazon Location tracker resource.
* </p>
*/
private LocationAction location;

/**
* <p>
* Write to a DynamoDB table.
Expand Down Expand Up @@ -1295,6 +1303,60 @@ public Action withOpenSearch(OpenSearchAction openSearch) {
return this;
}

/**
* <p>
* The Amazon Location Service rule action sends device location updates
* from an MQTT message to an Amazon Location tracker resource.
* </p>
*
* @return <p>
* The Amazon Location Service rule action sends device location
* updates from an MQTT message to an Amazon Location tracker
* resource.
* </p>
*/
public LocationAction getLocation() {
return location;
}

/**
* <p>
* The Amazon Location Service rule action sends device location updates
* from an MQTT message to an Amazon Location tracker resource.
* </p>
*
* @param location <p>
* The Amazon Location Service rule action sends device location
* updates from an MQTT message to an Amazon Location tracker
* resource.
* </p>
*/
public void setLocation(LocationAction location) {
this.location = location;
}

/**
* <p>
* The Amazon Location Service rule action sends device location updates
* from an MQTT message to an Amazon Location tracker resource.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param location <p>
* The Amazon Location Service rule action sends device location
* updates from an MQTT message to an Amazon Location tracker
* resource.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
*/
public Action withLocation(LocationAction location) {
this.location = location;
return this;
}

/**
* Returns a string representation of this object; useful for testing and
* debugging.
Expand Down Expand Up @@ -1349,7 +1411,9 @@ public String toString() {
if (getKafka() != null)
sb.append("kafka: " + getKafka() + ",");
if (getOpenSearch() != null)
sb.append("openSearch: " + getOpenSearch());
sb.append("openSearch: " + getOpenSearch() + ",");
if (getLocation() != null)
sb.append("location: " + getLocation());
sb.append("}");
return sb.toString();
}
Expand Down Expand Up @@ -1388,6 +1452,7 @@ public int hashCode() {
hashCode = prime * hashCode + ((getHttp() == null) ? 0 : getHttp().hashCode());
hashCode = prime * hashCode + ((getKafka() == null) ? 0 : getKafka().hashCode());
hashCode = prime * hashCode + ((getOpenSearch() == null) ? 0 : getOpenSearch().hashCode());
hashCode = prime * hashCode + ((getLocation() == null) ? 0 : getLocation().hashCode());
return hashCode;
}

Expand Down Expand Up @@ -1503,6 +1568,10 @@ public boolean equals(Object obj) {
if (other.getOpenSearch() != null
&& other.getOpenSearch().equals(this.getOpenSearch()) == false)
return false;
if (other.getLocation() == null ^ this.getLocation() == null)
return false;
if (other.getLocation() != null && other.getLocation().equals(this.getLocation()) == false)
return false;
return true;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ public class CreateProvisioningTemplateRequest extends AmazonWebServiceRequest i

/**
* <p>
* Creates a pre-provisioning hook template.
* Creates a pre-provisioning hook template. Only supports template of type
* <code>FLEET_PROVISIONING</code>. For more information about provisioning
* template types, see <a href=
* "https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type"
* >type</a>.
* </p>
*/
private ProvisioningHook preProvisioningHook;
Expand Down Expand Up @@ -417,11 +421,19 @@ public CreateProvisioningTemplateRequest withProvisioningRoleArn(String provisio

/**
* <p>
* Creates a pre-provisioning hook template.
* Creates a pre-provisioning hook template. Only supports template of type
* <code>FLEET_PROVISIONING</code>. For more information about provisioning
* template types, see <a href=
* "https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type"
* >type</a>.
* </p>
*
* @return <p>
* Creates a pre-provisioning hook template.
* Creates a pre-provisioning hook template. Only supports template
* of type <code>FLEET_PROVISIONING</code>. For more information
* about provisioning template types, see <a href=
* "https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type"
* >type</a>.
* </p>
*/
public ProvisioningHook getPreProvisioningHook() {
Expand All @@ -430,11 +442,19 @@ public ProvisioningHook getPreProvisioningHook() {

/**
* <p>
* Creates a pre-provisioning hook template.
* Creates a pre-provisioning hook template. Only supports template of type
* <code>FLEET_PROVISIONING</code>. For more information about provisioning
* template types, see <a href=
* "https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type"
* >type</a>.
* </p>
*
* @param preProvisioningHook <p>
* Creates a pre-provisioning hook template.
* Creates a pre-provisioning hook template. Only supports
* template of type <code>FLEET_PROVISIONING</code>. For more
* information about provisioning template types, see <a href=
* "https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type"
* >type</a>.
* </p>
*/
public void setPreProvisioningHook(ProvisioningHook preProvisioningHook) {
Expand All @@ -443,14 +463,22 @@ public void setPreProvisioningHook(ProvisioningHook preProvisioningHook) {

/**
* <p>
* Creates a pre-provisioning hook template.
* Creates a pre-provisioning hook template. Only supports template of type
* <code>FLEET_PROVISIONING</code>. For more information about provisioning
* template types, see <a href=
* "https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type"
* >type</a>.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param preProvisioningHook <p>
* Creates a pre-provisioning hook template.
* Creates a pre-provisioning hook template. Only supports
* template of type <code>FLEET_PROVISIONING</code>. For more
* information about provisioning template types, see <a href=
* "https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type"
* >type</a>.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class GetBehaviorModelTrainingSummariesRequest extends AmazonWebServiceRe

/**
* <p>
* The maximum number of results to return at one time. The default is 25.
* The maximum number of results to return at one time. The default is 10.
* </p>
* <p>
* <b>Constraints:</b><br/>
Expand Down Expand Up @@ -120,15 +120,15 @@ public GetBehaviorModelTrainingSummariesRequest withSecurityProfileName(

/**
* <p>
* The maximum number of results to return at one time. The default is 25.
* The maximum number of results to return at one time. The default is 10.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Range: </b>1 - 10<br/>
*
* @return <p>
* The maximum number of results to return at one time. The default
* is 25.
* is 10.
* </p>
*/
public Integer getMaxResults() {
Expand All @@ -137,15 +137,15 @@ public Integer getMaxResults() {

/**
* <p>
* The maximum number of results to return at one time. The default is 25.
* The maximum number of results to return at one time. The default is 10.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Range: </b>1 - 10<br/>
*
* @param maxResults <p>
* The maximum number of results to return at one time. The
* default is 25.
* default is 10.
* </p>
*/
public void setMaxResults(Integer maxResults) {
Expand All @@ -154,7 +154,7 @@ public void setMaxResults(Integer maxResults) {

/**
* <p>
* The maximum number of results to return at one time. The default is 25.
* The maximum number of results to return at one time. The default is 10.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
Expand All @@ -165,7 +165,7 @@ public void setMaxResults(Integer maxResults) {
*
* @param maxResults <p>
* The maximum number of results to return at one time. The
* default is 25.
* default is 10.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
Expand Down
Loading

0 comments on commit 6e8ff43

Please sign in to comment.