public class WhatIfOperationResultInner extends Object
| Constructor and Description |
|---|
WhatIfOperationResultInner() |
| Modifier and Type | Method and Description |
|---|---|
List<WhatIfChange> |
changes()
Get the changes property: List of resource changes predicted by What-If operation.
|
com.azure.core.management.exception.ManagementError |
error()
Get the error property: Error when What-If operation fails.
|
String |
status()
Get the status property: Status of the What-If operation.
|
void |
validate()
Validates the instance.
|
WhatIfOperationResultInner |
withChanges(List<WhatIfChange> changes)
Set the changes property: List of resource changes predicted by What-If operation.
|
WhatIfOperationResultInner |
withError(com.azure.core.management.exception.ManagementError error)
Set the error property: Error when What-If operation fails.
|
WhatIfOperationResultInner |
withStatus(String status)
Set the status property: Status of the What-If operation.
|
public String status()
public WhatIfOperationResultInner withStatus(String status)
status - the status value to set.public com.azure.core.management.exception.ManagementError error()
public WhatIfOperationResultInner withError(com.azure.core.management.exception.ManagementError error)
error - the error value to set.public List<WhatIfChange> changes()
public WhatIfOperationResultInner withChanges(List<WhatIfChange> changes)
changes - the changes value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.