Package com.pulumi.automation
Class StackSummary
- java.lang.Object
-
- com.pulumi.automation.StackSummary
-
public class StackSummary extends java.lang.ObjectInformation about a stack.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCurrent()Returns whether the stack is the currently selected stack.booleanisUpdateInProgress()Returns whether an update is currently in progress for the stack.java.time.InstantlastUpdate()Returns the time of the last update to the stack.java.lang.Stringname()Returns the name of the stack.java.lang.IntegerresourceCount()Returns the number of resources in the stack.java.lang.Stringurl()Returns the URL of the stack.
-
-
-
Method Detail
-
name
public java.lang.String name()
Returns the name of the stack.- Returns:
- the name
-
isCurrent
public boolean isCurrent()
Returns whether the stack is the currently selected stack.- Returns:
- true if the stack is the currently selected stack
-
lastUpdate
public java.time.Instant lastUpdate()
Returns the time of the last update to the stack.- Returns:
- the time of the last update
-
isUpdateInProgress
public boolean isUpdateInProgress()
Returns whether an update is currently in progress for the stack.- Returns:
- true if an update is in progress
-
resourceCount
public java.lang.Integer resourceCount()
Returns the number of resources in the stack.- Returns:
- the number of resources
-
url
public java.lang.String url()
Returns the URL of the stack.- Returns:
- the URL
-
-