Package com.pulumi.automation
Class PluginInfo
- java.lang.Object
-
- com.pulumi.automation.PluginInfo
-
public class PluginInfo extends java.lang.Object
Information about a plugin.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.Instant
installTime()
The time the plugin was installed.PluginKind
kind()
The kind of plugin.java.time.Instant
lastUsedTime()
The last time the plugin was used.java.lang.String
name()
The simple name of the plugin.long
size()
The size of the plugin in bytes.java.lang.String
version()
The plugin's semantic version, if present.
-
-
-
Method Detail
-
name
public java.lang.String name()
The simple name of the plugin.- Returns:
- the plugin name
-
kind
public PluginKind kind()
The kind of plugin.- Returns:
- the plugin kind
-
version
@Nullable public java.lang.String version()
The plugin's semantic version, if present.- Returns:
- the plugin version or
null
-
size
public long size()
The size of the plugin in bytes.- Returns:
- the plugin size
-
installTime
public java.time.Instant installTime()
The time the plugin was installed.- Returns:
- the install time
-
lastUsedTime
public java.time.Instant lastUsedTime()
The last time the plugin was used.- Returns:
- the last used time
-
-