Class InvokeOptions

java.lang.Object
com.pulumi.deployment.InvokeOptions
Direct Known Subclasses:
InvokeOutputOptions

@ParametersAreNonnullByDefault public class InvokeOptions extends Object
Options to help control the behavior of @see Deployment.invokeAsync(String, TypeShape, InvokeArgs, InvokeOptions).
  • Field Details

  • Constructor Details

    • InvokeOptions

      public InvokeOptions()
    • InvokeOptions

      public InvokeOptions(@Nullable Resource parent, @Nullable ProviderResource provider, @Nullable String version)
    • InvokeOptions

      public InvokeOptions(@Nullable Resource parent, @Nullable ProviderResource provider, @Nullable String version, @Nullable String pluginDownloadURL)
  • Method Details

    • getParent

      public Optional<Resource> getParent()
      An optional parent to use for default options for this invoke (e.g. the default provider to use).
    • getProvider

      public Optional<ProviderResource> getProvider()
    • getVersion

      public Optional<String> getVersion()
      An optional version, corresponding to the version of the provider plugin that should be used when performing this invoke.
    • getPluginDownloadURL

      public Optional<String> getPluginDownloadURL()
      An optional URL, corresponding to the url from which the provider plugin that should be used when operating on this resource is downloaded from. This URL overrides the download URL inferred from the current package and should rarely be used.
    • builder

      public static InvokeOptions.Builder builder()