public class AliasPath extends Object
| Constructor and Description |
|---|
AliasPath() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
apiVersions()
Get the API versions.
|
AliasPathMetadata |
metadata()
Get the metadata of the alias path.
|
String |
path()
Get the path of an alias.
|
AliasPattern |
pattern()
Get the pattern for an alias path.
|
AliasPath |
withApiVersions(List<String> apiVersions)
Set the API versions.
|
AliasPath |
withPath(String path)
Set the path of an alias.
|
AliasPath |
withPattern(AliasPattern pattern)
Set the pattern for an alias path.
|
public String path()
public AliasPath withPath(String path)
path - the path value to setpublic AliasPath withApiVersions(List<String> apiVersions)
apiVersions - the apiVersions value to setpublic AliasPattern pattern()
public AliasPath withPattern(AliasPattern pattern)
pattern - the pattern value to setpublic AliasPathMetadata metadata()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/