Class Alias
java.lang.Object
com.azure.resourcemanager.resources.models.Alias
The alias type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the defaultMetadata property: The default alias path metadata.Get the defaultPath property: The default path for an alias.Get the defaultPattern property: The default pattern for an alias.name()Get the name property: The alias name.paths()Get the paths property: The paths for an alias.type()Get the type property: The type of the alias.voidvalidate()Validates the instance.withDefaultPath(String defaultPath) Set the defaultPath property: The default path for an alias.withDefaultPattern(AliasPattern defaultPattern) Set the defaultPattern property: The default pattern for an alias.Set the name property: The alias name.Set the paths property: The paths for an alias.Set the type property: The type of the alias.
-
Constructor Details
-
Alias
public Alias()Creates an instance of Alias class.
-
-
Method Details
-
name
Get the name property: The alias name.- Returns:
- the name value.
-
withName
Set the name property: The alias name.- Parameters:
name- the name value to set.- Returns:
- the Alias object itself.
-
paths
Get the paths property: The paths for an alias.- Returns:
- the paths value.
-
withPaths
Set the paths property: The paths for an alias.- Parameters:
paths- the paths value to set.- Returns:
- the Alias object itself.
-
type
Get the type property: The type of the alias.- Returns:
- the type value.
-
withType
Set the type property: The type of the alias.- Parameters:
type- the type value to set.- Returns:
- the Alias object itself.
-
defaultPath
Get the defaultPath property: The default path for an alias.- Returns:
- the defaultPath value.
-
withDefaultPath
Set the defaultPath property: The default path for an alias.- Parameters:
defaultPath- the defaultPath value to set.- Returns:
- the Alias object itself.
-
defaultPattern
Get the defaultPattern property: The default pattern for an alias.- Returns:
- the defaultPattern value.
-
withDefaultPattern
Set the defaultPattern property: The default pattern for an alias.- Parameters:
defaultPattern- the defaultPattern value to set.- Returns:
- the Alias object itself.
-
defaultMetadata
Get the defaultMetadata property: The default alias path metadata. Applies to the default path and to any alias path that doesn't have metadata.- Returns:
- the defaultMetadata value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-