Class MethodSettingsState.Builder

  • Enclosing class:
    MethodSettingsState

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

      • methodPath

        public MethodSettingsState.Builder methodPath​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> methodPath)
        Parameters:
        methodPath - Method path defined as `{resource_path}/{http_method}` for an individual method override, or `*/*` for overriding all methods in the stage. Ensure to trim any leading forward slashes in the path (e.g., `trimprefix(aws_api_gateway_resource.example.path, "/")`).
        Returns:
        builder
      • methodPath

        public MethodSettingsState.Builder methodPath​(java.lang.String methodPath)
        Parameters:
        methodPath - Method path defined as `{resource_path}/{http_method}` for an individual method override, or `*/*` for overriding all methods in the stage. Ensure to trim any leading forward slashes in the path (e.g., `trimprefix(aws_api_gateway_resource.example.path, "/")`).
        Returns:
        builder
      • region

        public MethodSettingsState.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 MethodSettingsState.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
      • restApi

        public MethodSettingsState.Builder restApi​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> restApi)
        Parameters:
        restApi - ID of the REST API
        Returns:
        builder
      • restApi

        public MethodSettingsState.Builder restApi​(java.lang.String restApi)
        Parameters:
        restApi - ID of the REST API
        Returns:
        builder
      • stageName

        public MethodSettingsState.Builder stageName​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> stageName)
        Parameters:
        stageName - Name of the stage
        Returns:
        builder
      • stageName

        public MethodSettingsState.Builder stageName​(java.lang.String stageName)
        Parameters:
        stageName - Name of the stage
        Returns:
        builder