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