Class MethodResponseState


  • public final class MethodResponseState
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  MethodResponseState.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static MethodResponseState.Builder builder()  
      static MethodResponseState.Builder builder​(MethodResponseState defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> httpMethod()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> resourceId()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> responseModels()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Boolean>>> responseParameters()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> restApi()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> statusCode()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • httpMethod

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> httpMethod()
        Returns:
        HTTP verb of the method resource (`GET`, `POST`, `PUT`, `DELETE`, `HEAD`, `OPTIONS`, `ANY`).
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • resourceId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> resourceId()
        Returns:
        Resource identifier for the method resource.
      • responseModels

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> responseModels()
        Returns:
        Map specifying the model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.
      • responseParameters

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Boolean>>> responseParameters()
        Returns:
        Map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a boolean flag indicating whether the method response parameter is required. The method response header names must match the pattern of `method.response.header.{name}`, where `name` is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in `integration.response.header.{name}`, a static value enclosed within a pair of single quotes (e.g., '`application/json'`), or a JSON expression from the back-end response payload in the form of `integration.response.body.{JSON-expression}`, where `JSON-expression` is a valid JSON expression without the `$` prefix.)
      • restApi

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> restApi()
        Returns:
        String identifier of the associated REST API.
      • statusCode

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> statusCode()
        Returns:
        Method response's status code.