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

shiver.me.timbers.aws.apigateway.MethodIntegrationResponse 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.apigateway;

import java.util.Map;
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;


/**
 * MethodIntegrationResponse
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "ContentHandling", "ResponseParameters", "ResponseTemplates", "SelectionPattern", "StatusCode" }) public class MethodIntegrationResponse implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integrationresponse-contenthandling * */ @JsonProperty("ContentHandling") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integrationresponse-contenthandling") private CharSequence contentHandling; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-responseparameters * */ @JsonProperty("ResponseParameters") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-responseparameters") private Map responseParameters; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-responsetemplates * */ @JsonProperty("ResponseTemplates") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-responsetemplates") private Map responseTemplates; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-selectionpattern * */ @JsonProperty("SelectionPattern") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-selectionpattern") private CharSequence selectionPattern; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-statuscode * */ @JsonProperty("StatusCode") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-statuscode") private CharSequence statusCode; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integrationresponse-contenthandling * */ @JsonIgnore public CharSequence getContentHandling() { return contentHandling; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integrationresponse-contenthandling * */ @JsonIgnore public void setContentHandling(CharSequence contentHandling) { this.contentHandling = contentHandling; } public MethodIntegrationResponse withContentHandling(CharSequence contentHandling) { this.contentHandling = contentHandling; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-responseparameters * */ @JsonIgnore public Map getResponseParameters() { return responseParameters; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-responseparameters * */ @JsonIgnore public void setResponseParameters(Map responseParameters) { this.responseParameters = responseParameters; } public MethodIntegrationResponse withResponseParameters(Map responseParameters) { this.responseParameters = responseParameters; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-responsetemplates * */ @JsonIgnore public Map getResponseTemplates() { return responseTemplates; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-responsetemplates * */ @JsonIgnore public void setResponseTemplates(Map responseTemplates) { this.responseTemplates = responseTemplates; } public MethodIntegrationResponse withResponseTemplates(Map responseTemplates) { this.responseTemplates = responseTemplates; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-selectionpattern * */ @JsonIgnore public CharSequence getSelectionPattern() { return selectionPattern; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-selectionpattern * */ @JsonIgnore public void setSelectionPattern(CharSequence selectionPattern) { this.selectionPattern = selectionPattern; } public MethodIntegrationResponse withSelectionPattern(CharSequence selectionPattern) { this.selectionPattern = selectionPattern; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-statuscode * */ @JsonIgnore public CharSequence getStatusCode() { return statusCode; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-statuscode * */ @JsonIgnore public void setStatusCode(CharSequence statusCode) { this.statusCode = statusCode; } public MethodIntegrationResponse withStatusCode(CharSequence statusCode) { this.statusCode = statusCode; return this; } @Override public java.lang.String toString() { return new ToStringBuilder(this).append("contentHandling", contentHandling).append("responseParameters", responseParameters).append("responseTemplates", responseTemplates).append("selectionPattern", selectionPattern).append("statusCode", statusCode).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(selectionPattern).append(responseParameters).append(contentHandling).append(responseTemplates).append(statusCode).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof MethodIntegrationResponse) == false) { return false; } MethodIntegrationResponse rhs = ((MethodIntegrationResponse) other); return new EqualsBuilder().append(selectionPattern, rhs.selectionPattern).append(responseParameters, rhs.responseParameters).append(contentHandling, rhs.contentHandling).append(responseTemplates, rhs.responseTemplates).append(statusCode, rhs.statusCode).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy