Class AliasPath
java.lang.Object
com.azure.resourcemanager.resources.models.AliasPath
The type of the paths for alias.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the apiVersions property: The API versions.metadata()Get the metadata property: The metadata of the alias path.path()Get the path property: The path of an alias.pattern()Get the pattern property: The pattern for an alias path.voidvalidate()Validates the instance.withApiVersions(List<String> apiVersions) Set the apiVersions property: The API versions.Set the path property: The path of an alias.withPattern(AliasPattern pattern) Set the pattern property: The pattern for an alias path.
-
Constructor Details
-
AliasPath
public AliasPath()
-
-
Method Details
-
path
Get the path property: The path of an alias.- Returns:
- the path value.
-
withPath
Set the path property: The path of an alias.- Parameters:
path- the path value to set.- Returns:
- the AliasPath object itself.
-
apiVersions
Get the apiVersions property: The API versions.- Returns:
- the apiVersions value.
-
withApiVersions
Set the apiVersions property: The API versions.- Parameters:
apiVersions- the apiVersions value to set.- Returns:
- the AliasPath object itself.
-
pattern
Get the pattern property: The pattern for an alias path.- Returns:
- the pattern value.
-
withPattern
Set the pattern property: The pattern for an alias path.- Parameters:
pattern- the pattern value to set.- Returns:
- the AliasPath object itself.
-
metadata
Get the metadata property: The metadata of the alias path. If missing, fall back to the default metadata of the alias.- Returns:
- the metadata value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-