Package com.pulumi.automation.events
Class StepEventMetadata
- java.lang.Object
-
- com.pulumi.automation.events.StepEventMetadata
-
public class StepEventMetadata extends java.lang.ObjectStepEventMetadatadescribes 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.Booleanlogical()Gets whether the step is a logical operation in the program.StepEventStateMetadatanew_()Gets the state of the resource after performing the step.StepEventStateMetadataold()Gets the state of the resource before performing the step.OperationTypeop()Gets the operation being performed.java.lang.Stringprovider()Gets the provider actually performing the step.java.lang.Stringtype()java.lang.Stringurn()
-
-
-
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
-
-