Package com.pulumi.automation
Class PluginRemoveOptions.Builder
- java.lang.Object
-
- com.pulumi.automation.PluginRemoveOptions.Builder
-
- Enclosing class:
- PluginRemoveOptions
public static class PluginRemoveOptions.Builder extends java.lang.Object
Builder forPluginRemoveOptions
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginRemoveOptions
build()
Builds thePluginRemoveOptions
.PluginRemoveOptions.Builder
kind(PluginKind kind)
The kind of plugin to remove.PluginRemoveOptions.Builder
name(java.lang.String name)
The name of the plugin to remove.PluginRemoveOptions.Builder
versionRange(java.lang.String versionRange)
The semver range to check when removing plugins matching the given name e.g.
-
-
-
Method Detail
-
name
public PluginRemoveOptions.Builder name(java.lang.String name)
The name of the plugin to remove.- Parameters:
name
- the name of the plugin- Returns:
- the builder
-
versionRange
public PluginRemoveOptions.Builder versionRange(java.lang.String versionRange)
The semver range to check when removing plugins matching the given name e.g. "1.0.0", ">1.0.0".- Parameters:
versionRange
- the semver range- Returns:
- the builder
-
kind
public PluginRemoveOptions.Builder kind(PluginKind kind)
The kind of plugin to remove. Defaults toPluginKind.RESOURCE
.- Parameters:
kind
- the kind of plugin- Returns:
- the builder
-
build
public PluginRemoveOptions build()
Builds thePluginRemoveOptions
.- Returns:
- the options
-
-