All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shiver.me.timbers.aws.iot1click.ProjectDeviceTemplate Maven / Gradle / Ivy

Go to download

This library is a complete mapping of the AWS CloudFormation Resource Specification into Java objects. The objects have been generated directly from the specification so should be a direct one to one mapping.

The newest version!

package shiver.me.timbers.aws.iot1click;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import shiver.me.timbers.aws.Property;


/**
 * ProjectDeviceTemplate
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-devicetemplate.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "DeviceType", "CallbackOverrides" }) public class ProjectDeviceTemplate implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-devicetemplate.html#cfn-iot1click-project-devicetemplate-devicetype * */ @JsonProperty("DeviceType") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-devicetemplate.html#cfn-iot1click-project-devicetemplate-devicetype") private CharSequence deviceType; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-devicetemplate.html#cfn-iot1click-project-devicetemplate-callbackoverrides * */ @JsonProperty("CallbackOverrides") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-devicetemplate.html#cfn-iot1click-project-devicetemplate-callbackoverrides") private Object callbackOverrides; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-devicetemplate.html#cfn-iot1click-project-devicetemplate-devicetype * */ @JsonIgnore public CharSequence getDeviceType() { return deviceType; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-devicetemplate.html#cfn-iot1click-project-devicetemplate-devicetype * */ @JsonIgnore public void setDeviceType(CharSequence deviceType) { this.deviceType = deviceType; } public ProjectDeviceTemplate withDeviceType(CharSequence deviceType) { this.deviceType = deviceType; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-devicetemplate.html#cfn-iot1click-project-devicetemplate-callbackoverrides * */ @JsonIgnore public Object getCallbackOverrides() { return callbackOverrides; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-devicetemplate.html#cfn-iot1click-project-devicetemplate-callbackoverrides * */ @JsonIgnore public void setCallbackOverrides(Object callbackOverrides) { this.callbackOverrides = callbackOverrides; } public ProjectDeviceTemplate withCallbackOverrides(Object callbackOverrides) { this.callbackOverrides = callbackOverrides; return this; } @Override public String toString() { return new ToStringBuilder(this).append("deviceType", deviceType).append("callbackOverrides", callbackOverrides).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(deviceType).append(callbackOverrides).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ProjectDeviceTemplate) == false) { return false; } ProjectDeviceTemplate rhs = ((ProjectDeviceTemplate) other); return new EqualsBuilder().append(deviceType, rhs.deviceType).append(callbackOverrides, rhs.callbackOverrides).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy