shiver.me.timbers.aws.Export Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smt-cloudformation-objects Show documentation
Show all versions of smt-cloudformation-objects Show documentation
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;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
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;
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"Name"
})
public class Export {
@JsonProperty("Name")
private String name;
@JsonIgnore
public String getName() {
return name;
}
@JsonIgnore
public void setName(String name) {
this.name = name;
}
public Export withName(String name) {
this.name = name;
return this;
}
@Override
public String toString() {
return new ToStringBuilder(this).append("name", name).toString();
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(name).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Export) == false) {
return false;
}
Export rhs = ((Export) other);
return new EqualsBuilder().append(name, rhs.name).isEquals();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy