shiver.me.timbers.aws.greengrass.ResourceDefinitionVersionS3MachineLearningModelResourceData Maven / Gradle / Ivy
package shiver.me.timbers.aws.greengrass;
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;
/**
* ResourceDefinitionVersionS3MachineLearningModelResourceData
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata.html
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"DestinationPath",
"S3Uri"
})
public class ResourceDefinitionVersionS3MachineLearningModelResourceData implements Property
{
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata-destinationpath
*
*/
@JsonProperty("DestinationPath")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata-destinationpath")
private CharSequence destinationPath;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata-s3uri
*
*/
@JsonProperty("S3Uri")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata-s3uri")
private CharSequence s3Uri;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata-destinationpath
*
*/
@JsonIgnore
public CharSequence getDestinationPath() {
return destinationPath;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata-destinationpath
*
*/
@JsonIgnore
public void setDestinationPath(CharSequence destinationPath) {
this.destinationPath = destinationPath;
}
public ResourceDefinitionVersionS3MachineLearningModelResourceData withDestinationPath(CharSequence destinationPath) {
this.destinationPath = destinationPath;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata-s3uri
*
*/
@JsonIgnore
public CharSequence getS3Uri() {
return s3Uri;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata-s3uri
*
*/
@JsonIgnore
public void setS3Uri(CharSequence s3Uri) {
this.s3Uri = s3Uri;
}
public ResourceDefinitionVersionS3MachineLearningModelResourceData withS3Uri(CharSequence s3Uri) {
this.s3Uri = s3Uri;
return this;
}
@Override
public String toString() {
return new ToStringBuilder(this).append("destinationPath", destinationPath).append("s3Uri", s3Uri).toString();
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(destinationPath).append(s3Uri).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof ResourceDefinitionVersionS3MachineLearningModelResourceData) == false) {
return false;
}
ResourceDefinitionVersionS3MachineLearningModelResourceData rhs = ((ResourceDefinitionVersionS3MachineLearningModelResourceData) other);
return new EqualsBuilder().append(destinationPath, rhs.destinationPath).append(s3Uri, rhs.s3Uri).isEquals();
}
}