Package com.pulumi.automation.events
Class StepEventMetadata
- java.lang.Object
-
- com.pulumi.automation.events.StepEventMetadata
-
public class StepEventMetadata extends java.lang.Object
StepEventMetadata
describes a "step" within the Pulumi engine, which is any concrete action to migrate a set of cloud resources from one state to another.
-
-
Constructor Summary
Constructors Constructor Description StepEventMetadata(OperationType op, java.lang.String urn, java.lang.String type, StepEventStateMetadata old, StepEventStateMetadata newState, java.util.List<java.lang.String> keys, java.util.List<java.lang.String> diffs, java.util.Map<java.lang.String,PropertyDiff> detailedDiff, java.lang.Boolean logical, java.lang.String provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,PropertyDiff>
detailedDiff()
Gets the diff for this step as a list of property paths and difference types.java.util.List<java.lang.String>
diffs()
Gets the keys that changed with this step.java.util.List<java.lang.String>
keys()
Gets the keys causing a replacement (only applicable for "create" and "replace" Ops).java.lang.Boolean
logical()
Gets whether the step is a logical operation in the program.StepEventStateMetadata
new_()
Gets the state of the resource after performing the step.StepEventStateMetadata
old()
Gets the state of the resource before performing the step.OperationType
op()
Gets the operation being performed.java.lang.String
provider()
Gets the provider actually performing the step.java.lang.String
type()
java.lang.String
urn()
-
-
-
Constructor Detail
-
StepEventMetadata
public StepEventMetadata(OperationType op, java.lang.String urn, java.lang.String type, StepEventStateMetadata old, StepEventStateMetadata newState, java.util.List<java.lang.String> keys, java.util.List<java.lang.String> diffs, java.util.Map<java.lang.String,PropertyDiff> detailedDiff, java.lang.Boolean logical, java.lang.String provider)
-
-
Method Detail
-
op
public OperationType op()
Gets the operation being performed.- Returns:
- the operation type
-
urn
public java.lang.String urn()
-
type
public java.lang.String type()
-
old
@Nullable public StepEventStateMetadata old()
Gets the state of the resource before performing the step.- Returns:
- the old state metadata, may be null
-
new_
@Nullable public StepEventStateMetadata new_()
Gets the state of the resource after performing the step.- Returns:
- the new state metadata, may be null
-
keys
public java.util.List<java.lang.String> keys()
Gets the keys causing a replacement (only applicable for "create" and "replace" Ops).- Returns:
- an unmodifiable list of keys, may be null
-
diffs
public java.util.List<java.lang.String> diffs()
Gets the keys that changed with this step.- Returns:
- an unmodifiable list of changed keys, may be null
-
detailedDiff
public java.util.Map<java.lang.String,PropertyDiff> detailedDiff()
Gets the diff for this step as a list of property paths and difference types.- Returns:
- an unmodifiable map of detailed differences, may be null
-
logical
@Nullable public java.lang.Boolean logical()
Gets whether the step is a logical operation in the program.- Returns:
- true if the step is logical, may be null
-
provider
public java.lang.String provider()
Gets the provider actually performing the step.- Returns:
- the provider
-
-