public class AliasPattern extends Object
| Constructor and Description |
|---|
AliasPattern() |
| Modifier and Type | Method and Description |
|---|---|
String |
phrase()
Get the alias pattern phrase.
|
AliasPatternType |
type()
Get the type of alias pattern.
|
String |
variable()
Get the alias pattern variable.
|
AliasPattern |
withPhrase(String phrase)
Set the alias pattern phrase.
|
AliasPattern |
withType(AliasPatternType type)
Set the type of alias pattern.
|
AliasPattern |
withVariable(String variable)
Set the alias pattern variable.
|
public String phrase()
public AliasPattern withPhrase(String phrase)
phrase - the phrase value to setpublic String variable()
public AliasPattern withVariable(String variable)
variable - the variable value to setpublic AliasPatternType type()
public AliasPattern withType(AliasPatternType type)
type - the type 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.
*/