Class AliasPattern
java.lang.Object
com.azure.resourcemanager.resources.models.AliasPattern
The type of the pattern for an alias path.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionphrase()Get the phrase property: The alias pattern phrase.type()Get the type property: The type of alias pattern.voidvalidate()Validates the instance.variable()Get the variable property: The alias pattern variable.withPhrase(String phrase) Set the phrase property: The alias pattern phrase.withType(AliasPatternType type) Set the type property: The type of alias pattern.withVariable(String variable) Set the variable property: The alias pattern variable.
-
Constructor Details
-
AliasPattern
public AliasPattern()
-
-
Method Details
-
phrase
Get the phrase property: The alias pattern phrase.- Returns:
- the phrase value.
-
withPhrase
Set the phrase property: The alias pattern phrase.- Parameters:
phrase- the phrase value to set.- Returns:
- the AliasPattern object itself.
-
variable
Get the variable property: The alias pattern variable.- Returns:
- the variable value.
-
withVariable
Set the variable property: The alias pattern variable.- Parameters:
variable- the variable value to set.- Returns:
- the AliasPattern object itself.
-
type
Get the type property: The type of alias pattern.- Returns:
- the type value.
-
withType
Set the type property: The type of alias pattern.- Parameters:
type- the type value to set.- Returns:
- the AliasPattern object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-