Package com.pulumi.deployment
Class InvokeOptions
- java.lang.Object
-
- com.pulumi.deployment.InvokeOptions
-
@ParametersAreNonnullByDefault public final 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.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<Resource>
getParent()
An optional parent to use for default options for this invoke (e.g.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)
-
-
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.
-
-