public final class PolicySku extends Object
| Constructor and Description |
|---|
PolicySku() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name property: The name of the policy sku.
|
String |
tier()
Get the tier property: The policy sku tier.
|
void |
validate()
Validates the instance.
|
PolicySku |
withName(String name)
Set the name property: The name of the policy sku.
|
PolicySku |
withTier(String tier)
Set the tier property: The policy sku tier.
|
public String name()
public PolicySku withName(String name)
name - the name value to set.public String tier()
public PolicySku withTier(String tier)
tier - the tier value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.