AliasPath Class
- java.
lang. Object - com.
microsoft. azure. management. resources. AliasPath
- com.
public class AliasPath
The type of the paths for alias.
Constructor Summary
Constructor | Description | |
---|---|---|
AliasPath() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
apiVersions()
Get the API versions. |
Alias |
metadata()
Get the metadata of the alias path. |
java.lang.String |
path()
Get the path of an alias. |
Alias |
pattern()
Get the pattern for an alias path. |
Alias |
withApiVersions(List<String> apiVersions)
Set the API versions. |
Alias |
withPath(String path)
Set the path of an alias. |
Alias |
withPattern(AliasPattern pattern)
Set the pattern for an alias path. |
Methods inherited from java.lang.Object
Constructor Details
AliasPath
public AliasPath()
Method Details
apiVersions
public List
Get the API versions.
Returns:
metadata
public AliasPathMetadata metadata()
Get the metadata of the alias path. If missing, fall back to the default metadata of the alias.
Returns:
path
public String path()
Get the path of an alias.
Returns:
pattern
public AliasPattern pattern()
Get the pattern for an alias path.
Returns:
withApiVersions
public AliasPath withApiVersions(List
Set the API versions.
Parameters:
Returns:
withPath
public AliasPath withPath(String path)
Set the path of an alias.
Parameters:
Returns:
withPattern
public AliasPath withPattern(AliasPattern pattern)
Set the pattern for an alias path.
Parameters:
Returns: