Package com.pulumi.deployment
Class InvokeOptions
- java.lang.Object
-
- com.pulumi.deployment.InvokeOptions
-
- Direct Known Subclasses:
InvokeOutputOptions
@ParametersAreNonnullByDefault public class InvokeOptions extends java.lang.Object
Options to help control the behavior of @seeDeployment.invokeAsync(String, TypeShape, InvokeArgs, InvokeOptions)
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InvokeOptions.Builder
static class
InvokeOptions.InvokeOptionsInternal
-
Field Summary
Fields Modifier and Type Field Description static InvokeOptions
Empty
-
Constructor Summary
Constructors Constructor Description InvokeOptions()
InvokeOptions(Resource parent, ProviderResource provider, java.lang.String version)
InvokeOptions(Resource parent, ProviderResource provider, java.lang.String version, java.lang.String pluginDownloadURL)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvokeOptions.Builder
builder()
java.util.Optional<Resource>
getParent()
An optional parent to use for default options for this invoke (e.g.java.util.Optional<java.lang.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.java.util.Optional<ProviderResource>
getProvider()
java.util.Optional<java.lang.String>
getVersion()
An optional version, corresponding to the version of the provider plugin that should be used when performing this invoke.
-
-
-
Field Detail
-
Empty
public static InvokeOptions Empty
-
-
Constructor Detail
-
InvokeOptions
public InvokeOptions()
-
InvokeOptions
public InvokeOptions(@Nullable Resource parent, @Nullable ProviderResource provider, @Nullable java.lang.String version)
-
InvokeOptions
public InvokeOptions(@Nullable Resource parent, @Nullable ProviderResource provider, @Nullable java.lang.String version, @Nullable java.lang.String pluginDownloadURL)
-
-
Method Detail
-
getParent
public java.util.Optional<Resource> getParent()
An optional parent to use for default options for this invoke (e.g. the default provider to use).
-
getProvider
public java.util.Optional<ProviderResource> getProvider()
-
getVersion
public java.util.Optional<java.lang.String> getVersion()
An optional version, corresponding to the version of the provider plugin that should be used when performing this invoke.
-
getPluginDownloadURL
public java.util.Optional<java.lang.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()
-
-