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

shiver.me.timbers.aws.apigatewayv2.Deployment Maven / Gradle / Ivy


package shiver.me.timbers.aws.apigatewayv2;

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;


/**
 * Deployment
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "Description", "StageName", "ApiId" }) public class Deployment { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-description * */ @JsonProperty("Description") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-description") private CharSequence description; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-stagename * */ @JsonProperty("StageName") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-stagename") private CharSequence stageName; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-apiid * */ @JsonProperty("ApiId") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-apiid") private CharSequence apiId; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-description * */ @JsonIgnore public CharSequence getDescription() { return description; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-description * */ @JsonIgnore public void setDescription(CharSequence description) { this.description = description; } public Deployment withDescription(CharSequence description) { this.description = description; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-stagename * */ @JsonIgnore public CharSequence getStageName() { return stageName; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-stagename * */ @JsonIgnore public void setStageName(CharSequence stageName) { this.stageName = stageName; } public Deployment withStageName(CharSequence stageName) { this.stageName = stageName; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-apiid * */ @JsonIgnore public CharSequence getApiId() { return apiId; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-apiid * */ @JsonIgnore public void setApiId(CharSequence apiId) { this.apiId = apiId; } public Deployment withApiId(CharSequence apiId) { this.apiId = apiId; return this; } @Override public String toString() { return new ToStringBuilder(this).append("description", description).append("stageName", stageName).append("apiId", apiId).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(description).append(stageName).append(apiId).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Deployment) == false) { return false; } Deployment rhs = ((Deployment) other); return new EqualsBuilder().append(description, rhs.description).append(stageName, rhs.stageName).append(apiId, rhs.apiId).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy