public class QuarantinePolicy extends Object
| Constructor | Description |
|---|---|
QuarantinePolicy() |
| Modifier and Type | Method | Description |
|---|---|---|
PolicyStatus |
status() |
Get the value that indicates whether the policy is enabled or not.
|
QuarantinePolicy |
withStatus(PolicyStatus status) |
Set the value that indicates whether the policy is enabled or not.
|
public PolicyStatus status()
public QuarantinePolicy withStatus(PolicyStatus status)
status - the status 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.
*/