public final class AliasPattern extends Object
| Constructor and Description |
|---|
AliasPattern() |
| Modifier and Type | Method and Description |
|---|---|
String |
phrase()
Get the phrase property: The alias pattern phrase.
|
AliasPatternType |
type()
Get the type property: The type of alias pattern.
|
void |
validate()
Validates the instance.
|
String |
variable()
Get the variable property: The alias pattern variable.
|
AliasPattern |
withPhrase(String phrase)
Set the phrase property: The alias pattern phrase.
|
AliasPattern |
withType(AliasPatternType type)
Set the type property: The type of alias pattern.
|
AliasPattern |
withVariable(String variable)
Set the variable property: The alias pattern variable.
|
public String phrase()
public AliasPattern withPhrase(String phrase)
phrase - the phrase value to set.public String variable()
public AliasPattern withVariable(String variable)
variable - the variable value to set.public AliasPatternType type()
public AliasPattern withType(AliasPatternType type)
type - the type value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.