public class WhatIfChange extends Object
| Constructor and Description |
|---|
WhatIfChange() |
| Modifier and Type | Method and Description |
|---|---|
Object |
after()
Get the predicted snapshot of the resource after the deployment is executed.
|
Object |
before()
Get the snapshot of the resource before the deployment is executed.
|
ChangeType |
changeType()
Get type of change that will be made to the resource when the deployment is executed.
|
List<WhatIfPropertyChange> |
delta()
Get the predicted changes to resource properties.
|
String |
resourceId()
Get resource ID.
|
WhatIfChange |
withAfter(Object after)
Set the predicted snapshot of the resource after the deployment is executed.
|
WhatIfChange |
withBefore(Object before)
Set the snapshot of the resource before the deployment is executed.
|
WhatIfChange |
withChangeType(ChangeType changeType)
Set type of change that will be made to the resource when the deployment is executed.
|
WhatIfChange |
withDelta(List<WhatIfPropertyChange> delta)
Set the predicted changes to resource properties.
|
WhatIfChange |
withResourceId(String resourceId)
Set resource ID.
|
public String resourceId()
public WhatIfChange withResourceId(String resourceId)
resourceId - the resourceId value to setpublic ChangeType changeType()
public WhatIfChange withChangeType(ChangeType changeType)
changeType - the changeType value to setpublic Object before()
public WhatIfChange withBefore(Object before)
before - the before value to setpublic Object after()
public WhatIfChange withAfter(Object after)
after - the after value to setpublic List<WhatIfPropertyChange> delta()
public WhatIfChange withDelta(List<WhatIfPropertyChange> delta)
delta - the delta value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/