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.Object
Builder forPluginInstallOptions
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginInstallOptions
build()
Builds thePluginInstallOptions
.PluginInstallOptions.Builder
exactVersion(boolean exactVersion)
Whether to force installation of an exact version match (usually >= is accepted).PluginInstallOptions.Builder
kind(PluginKind kind)
The kind of plugin to install.PluginInstallOptions.Builder
serverUrl(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
-
-