Package com.pulumi.automation
Class PluginInstallOptions.Builder
- java.lang.Object
-
- com.pulumi.automation.PluginInstallOptions.Builder
-
- Enclosing class:
- PluginInstallOptions
public static class PluginInstallOptions.Builder extends java.lang.ObjectBuilder forPluginInstallOptions.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginInstallOptionsbuild()Builds thePluginInstallOptions.PluginInstallOptions.BuilderexactVersion(boolean exactVersion)Whether to force installation of an exact version match (usually >= is accepted).PluginInstallOptions.Builderkind(PluginKind kind)The kind of plugin to install.PluginInstallOptions.BuilderserverUrl(java.lang.String serverUrl)Sets the server URL for plugin downloads.
-
-
-
Method Detail
-
kind
public PluginInstallOptions.Builder kind(PluginKind kind)
The kind of plugin to install. Defaults toPluginKind.RESOURCE.- Parameters:
kind- the kind of plugin- Returns:
- the builder
-
exactVersion
public PluginInstallOptions.Builder exactVersion(boolean 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
public PluginInstallOptions.Builder serverUrl(java.lang.String serverUrl)
Sets the server URL for plugin downloads.- Parameters:
serverUrl- the server URL- Returns:
- the builder
-
build
public PluginInstallOptions build()
Builds thePluginInstallOptions.- Returns:
- the options
-
-