Package com.pulumi.automation
Class PluginInstallOptions
- java.lang.Object
-
- com.pulumi.automation.PluginInstallOptions
-
public class PluginInstallOptions extends java.lang.ObjectOptions for installing plugins.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPluginInstallOptions.BuilderBuilder forPluginInstallOptions.
-
Field Summary
Fields Modifier and Type Field Description static PluginInstallOptionsEmptyAn empty set of options.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PluginInstallOptions.Builderbuilder()Returns a new builder forPluginInstallOptions.booleanisExactVersion()Iftrue, force installation of an exact version match (usually >= is accepted).PluginKindkind()The kind of plugin to install.java.lang.StringserverUrl()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
-
-