Package com.pulumi.automation
Class PluginInstallOptions
- java.lang.Object
-
- com.pulumi.automation.PluginInstallOptions
-
public class PluginInstallOptions extends java.lang.Object
Options for installing plugins.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PluginInstallOptions.Builder
Builder forPluginInstallOptions
.
-
Field Summary
Fields Modifier and Type Field Description static PluginInstallOptions
Empty
An empty set of options.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PluginInstallOptions.Builder
builder()
Returns a new builder forPluginInstallOptions
.boolean
isExactVersion()
Iftrue
, force installation of an exact version match (usually >= is accepted).PluginKind
kind()
The kind of plugin to install.java.lang.String
serverUrl()
A URL to download plugins from.
-
-
-
Field Detail
-
Empty
public static final PluginInstallOptions Empty
An empty set of options.
-
-
Method Detail
-
builder
public static PluginInstallOptions.Builder builder()
Returns a new builder forPluginInstallOptions
.- Returns:
- the builder
-
kind
public PluginKind kind()
The kind of plugin to install. Defaults toPluginKind.RESOURCE
.- Returns:
- the kind of plugin
-
isExactVersion
public boolean isExactVersion()
Iftrue
, force installation of an exact version match (usually >= is accepted).Defaults to
false
.- Returns:
- whether to force exact version match
-
serverUrl
@Nullable public java.lang.String serverUrl()
A URL to download plugins from.- Returns:
- the server URL
-
-