Class RestApiPutArgs.Builder

  • Enclosing class:
    RestApiPutArgs

    public static final class RestApiPutArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • body

        public RestApiPutArgs.Builder body​(com.pulumi.core.Output<java.lang.String> body)
        Parameters:
        body - PUT request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 6MB.
        Returns:
        builder
      • body

        public RestApiPutArgs.Builder body​(java.lang.String body)
        Parameters:
        body - PUT request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 6MB.
        Returns:
        builder
      • failOnWarnings

        public RestApiPutArgs.Builder failOnWarnings​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Boolean> failOnWarnings)
        Parameters:
        failOnWarnings - Whether to rollback the API update when a warning is encountered. The default value is `false`.
        Returns:
        builder
      • failOnWarnings

        public RestApiPutArgs.Builder failOnWarnings​(java.lang.Boolean failOnWarnings)
        Parameters:
        failOnWarnings - Whether to rollback the API update when a warning is encountered. The default value is `false`.
        Returns:
        builder
      • parameters

        public RestApiPutArgs.Builder parameters​(@Nullable
                                                 com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> parameters)
        Parameters:
        parameters - Map of customizations for importing the specification in the `body` argument. For example, to exclude DocumentationParts from an imported API, use `ignore = "documentation"`. Additional documentation, including other parameters such as `basepath`, can be found in the [API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-import-api.html).
        Returns:
        builder
      • parameters

        public RestApiPutArgs.Builder parameters​(java.util.Map<java.lang.String,​java.lang.String> parameters)
        Parameters:
        parameters - Map of customizations for importing the specification in the `body` argument. For example, to exclude DocumentationParts from an imported API, use `ignore = "documentation"`. Additional documentation, including other parameters such as `basepath`, can be found in the [API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-import-api.html).
        Returns:
        builder
      • region

        public RestApiPutArgs.Builder region​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - 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.
        Returns:
        builder
      • region

        public RestApiPutArgs.Builder region​(java.lang.String region)
        Parameters:
        region - 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.
        Returns:
        builder
      • restApiId

        public RestApiPutArgs.Builder restApiId​(com.pulumi.core.Output<java.lang.String> restApiId)
        Parameters:
        restApiId - Identifier of the associated REST API. The following arguments are optional:
        Returns:
        builder
      • restApiId

        public RestApiPutArgs.Builder restApiId​(java.lang.String restApiId)
        Parameters:
        restApiId - Identifier of the associated REST API. The following arguments are optional:
        Returns:
        builder
      • triggers

        public RestApiPutArgs.Builder triggers​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> triggers)
        Parameters:
        triggers - Map of arbitrary keys and values that, when changed, will trigger a redeployment. To force a redeployment without changing these keys/values, use the `-replace` option with `pulumi preview` or `pulumi up`.
        Returns:
        builder
      • triggers

        public RestApiPutArgs.Builder triggers​(java.util.Map<java.lang.String,​java.lang.String> triggers)
        Parameters:
        triggers - Map of arbitrary keys and values that, when changed, will trigger a redeployment. To force a redeployment without changing these keys/values, use the `-replace` option with `pulumi preview` or `pulumi up`.
        Returns:
        builder