Class MethodSettingsSettingsArgs.Builder

  • Enclosing class:
    MethodSettingsSettingsArgs

    public static final class MethodSettingsSettingsArgs.Builder
    extends java.lang.Object
    • Method Detail

      • cacheDataEncrypted

        public MethodSettingsSettingsArgs.Builder cacheDataEncrypted​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.Boolean> cacheDataEncrypted)
        Parameters:
        cacheDataEncrypted - Whether the cached responses are encrypted.
        Returns:
        builder
      • cacheDataEncrypted

        public MethodSettingsSettingsArgs.Builder cacheDataEncrypted​(java.lang.Boolean cacheDataEncrypted)
        Parameters:
        cacheDataEncrypted - Whether the cached responses are encrypted.
        Returns:
        builder
      • cacheTtlInSeconds

        public MethodSettingsSettingsArgs.Builder cacheTtlInSeconds​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.Integer> cacheTtlInSeconds)
        Parameters:
        cacheTtlInSeconds - Time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
        Returns:
        builder
      • cacheTtlInSeconds

        public MethodSettingsSettingsArgs.Builder cacheTtlInSeconds​(java.lang.Integer cacheTtlInSeconds)
        Parameters:
        cacheTtlInSeconds - Time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
        Returns:
        builder
      • cachingEnabled

        public MethodSettingsSettingsArgs.Builder cachingEnabled​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.Boolean> cachingEnabled)
        Parameters:
        cachingEnabled - Whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached.
        Returns:
        builder
      • cachingEnabled

        public MethodSettingsSettingsArgs.Builder cachingEnabled​(java.lang.Boolean cachingEnabled)
        Parameters:
        cachingEnabled - Whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached.
        Returns:
        builder
      • dataTraceEnabled

        public MethodSettingsSettingsArgs.Builder dataTraceEnabled​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.Boolean> dataTraceEnabled)
        Parameters:
        dataTraceEnabled - Whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs.
        Returns:
        builder
      • dataTraceEnabled

        public MethodSettingsSettingsArgs.Builder dataTraceEnabled​(java.lang.Boolean dataTraceEnabled)
        Parameters:
        dataTraceEnabled - Whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs.
        Returns:
        builder
      • loggingLevel

        public MethodSettingsSettingsArgs.Builder loggingLevel​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> loggingLevel)
        Parameters:
        loggingLevel - Logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The available levels are `OFF`, `ERROR`, and `INFO`.
        Returns:
        builder
      • loggingLevel

        public MethodSettingsSettingsArgs.Builder loggingLevel​(java.lang.String loggingLevel)
        Parameters:
        loggingLevel - Logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The available levels are `OFF`, `ERROR`, and `INFO`.
        Returns:
        builder
      • metricsEnabled

        public MethodSettingsSettingsArgs.Builder metricsEnabled​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.Boolean> metricsEnabled)
        Parameters:
        metricsEnabled - Whether Amazon CloudWatch metrics are enabled for this method.
        Returns:
        builder
      • metricsEnabled

        public MethodSettingsSettingsArgs.Builder metricsEnabled​(java.lang.Boolean metricsEnabled)
        Parameters:
        metricsEnabled - Whether Amazon CloudWatch metrics are enabled for this method.
        Returns:
        builder
      • requireAuthorizationForCacheControl

        public MethodSettingsSettingsArgs.Builder requireAuthorizationForCacheControl​(@Nullable
                                                                                      com.pulumi.core.Output<java.lang.Boolean> requireAuthorizationForCacheControl)
        Parameters:
        requireAuthorizationForCacheControl - Whether authorization is required for a cache invalidation request.
        Returns:
        builder
      • requireAuthorizationForCacheControl

        public MethodSettingsSettingsArgs.Builder requireAuthorizationForCacheControl​(java.lang.Boolean requireAuthorizationForCacheControl)
        Parameters:
        requireAuthorizationForCacheControl - Whether authorization is required for a cache invalidation request.
        Returns:
        builder
      • throttlingBurstLimit

        public MethodSettingsSettingsArgs.Builder throttlingBurstLimit​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.Integer> throttlingBurstLimit)
        Parameters:
        throttlingBurstLimit - Throttling burst limit. Default: `-1` (throttling disabled).
        Returns:
        builder
      • throttlingBurstLimit

        public MethodSettingsSettingsArgs.Builder throttlingBurstLimit​(java.lang.Integer throttlingBurstLimit)
        Parameters:
        throttlingBurstLimit - Throttling burst limit. Default: `-1` (throttling disabled).
        Returns:
        builder
      • throttlingRateLimit

        public MethodSettingsSettingsArgs.Builder throttlingRateLimit​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Double> throttlingRateLimit)
        Parameters:
        throttlingRateLimit - Throttling rate limit. Default: `-1` (throttling disabled).
        Returns:
        builder
      • throttlingRateLimit

        public MethodSettingsSettingsArgs.Builder throttlingRateLimit​(java.lang.Double throttlingRateLimit)
        Parameters:
        throttlingRateLimit - Throttling rate limit. Default: `-1` (throttling disabled).
        Returns:
        builder
      • unauthorizedCacheControlHeaderStrategy

        public MethodSettingsSettingsArgs.Builder unauthorizedCacheControlHeaderStrategy​(@Nullable
                                                                                         com.pulumi.core.Output<java.lang.String> unauthorizedCacheControlHeaderStrategy)
        Parameters:
        unauthorizedCacheControlHeaderStrategy - How to handle unauthorized requests for cache invalidation. The available values are `FAIL_WITH_403`, `SUCCEED_WITH_RESPONSE_HEADER`, `SUCCEED_WITHOUT_RESPONSE_HEADER`.
        Returns:
        builder
      • unauthorizedCacheControlHeaderStrategy

        public MethodSettingsSettingsArgs.Builder unauthorizedCacheControlHeaderStrategy​(java.lang.String unauthorizedCacheControlHeaderStrategy)
        Parameters:
        unauthorizedCacheControlHeaderStrategy - How to handle unauthorized requests for cache invalidation. The available values are `FAIL_WITH_403`, `SUCCEED_WITH_RESPONSE_HEADER`, `SUCCEED_WITHOUT_RESPONSE_HEADER`.
        Returns:
        builder