Package com.pulumi.automation
Class PluginInstallOptions.Builder
java.lang.Object
com.pulumi.automation.PluginInstallOptions.Builder
- Enclosing class:
- PluginInstallOptions
Builder for
PluginInstallOptions.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds thePluginInstallOptions.exactVersion(boolean exactVersion) Whether to force installation of an exact version match (usually >= is accepted).kind(PluginKind kind) The kind of plugin to install.Sets the server URL for plugin downloads.
-
Method Details
-
kind
The kind of plugin to install. Defaults toPluginKind.RESOURCE.- Parameters:
kind- the kind of plugin- Returns:
- the builder
-
exactVersion
Whether to force installation of an exact version match (usually >= is accepted).Defaults to
false.- Parameters:
exactVersion- whether to force exact version match- Returns:
- the builder
-
serverUrl
Sets the server URL for plugin downloads.- Parameters:
serverUrl- the server URL- Returns:
- the builder
-
build
Builds thePluginInstallOptions.- Returns:
- the options
-