public final class WhatIfChange extends Object
| Constructor and Description |
|---|
WhatIfChange() |
| Modifier and Type | Method and Description |
|---|---|
Object |
after()
Get the after property: The predicted snapshot of the resource after the deployment is executed.
|
Object |
before()
Get the before property: The snapshot of the resource before the deployment is executed.
|
ChangeType |
changeType()
Get the changeType property: Type of change that will be made to the resource when the deployment is executed.
|
List<WhatIfPropertyChange> |
delta()
Get the delta property: The predicted changes to resource properties.
|
String |
resourceId()
Get the resourceId property: Resource ID.
|
void |
validate()
Validates the instance.
|
WhatIfChange |
withAfter(Object after)
Set the after property: The predicted snapshot of the resource after the deployment is executed.
|
WhatIfChange |
withBefore(Object before)
Set the before property: The snapshot of the resource before the deployment is executed.
|
WhatIfChange |
withChangeType(ChangeType changeType)
Set the changeType property: Type of change that will be made to the resource when the deployment is executed.
|
WhatIfChange |
withDelta(List<WhatIfPropertyChange> delta)
Set the delta property: The predicted changes to resource properties.
|
WhatIfChange |
withResourceId(String resourceId)
Set the resourceId property: Resource ID.
|
public String resourceId()
public WhatIfChange withResourceId(String resourceId)
resourceId - the resourceId value to set.public ChangeType changeType()
public WhatIfChange withChangeType(ChangeType changeType)
changeType - the changeType value to set.public Object before()
public WhatIfChange withBefore(Object before)
before - the before value to set.public Object after()
public WhatIfChange withAfter(Object after)
after - the after value to set.public List<WhatIfPropertyChange> delta()
public WhatIfChange withDelta(List<WhatIfPropertyChange> delta)
delta - the delta value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.