public class TrustPolicy extends Object
| Constructor and Description |
|---|
TrustPolicy() |
| Modifier and Type | Method and 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 setCopyright © 2019. All rights reserved.