AliasPattern Class
- java.
lang. Object - com.
microsoft. azure. management. resources. AliasPattern
- com.
public class AliasPattern
The type of the pattern for an alias path.
Constructor Summary
Constructor | Description | |
---|---|---|
AliasPattern() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
phrase()
Get the alias pattern phrase. |
Alias |
type()
Get the type of alias pattern. |
java.lang.String |
variable()
Get the alias pattern variable. |
Alias |
withPhrase(String phrase)
Set the alias pattern phrase. |
Alias |
withType(AliasPatternType type)
Set the type of alias pattern. |
Alias |
withVariable(String variable)
Set the alias pattern variable. |
Methods inherited from java.lang.Object
Constructor Details
AliasPattern
public AliasPattern()
Method Details
phrase
public String phrase()
Get the alias pattern phrase.
Returns:
type
public AliasPatternType type()
Get the type of alias pattern. Possible values include: 'NotSpecified', 'Extract'.
Returns:
variable
public String variable()
Get the alias pattern variable.
Returns:
withPhrase
public AliasPattern withPhrase(String phrase)
Set the alias pattern phrase.
Parameters:
Returns:
withType
public AliasPattern withType(AliasPatternType type)
Set the type of alias pattern. Possible values include: 'NotSpecified', 'Extract'.
Parameters:
Returns:
withVariable
public AliasPattern withVariable(String variable)
Set the alias pattern variable.
Parameters:
Returns:
Applies to
Azure SDK for Java