public final class AliasPath extends Object
| Constructor and Description |
|---|
AliasPath() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
apiVersions()
Get the apiVersions property: The API versions.
|
AliasPathMetadata |
metadata()
Get the metadata property: The metadata of the alias path.
|
String |
path()
Get the path property: The path of an alias.
|
AliasPattern |
pattern()
Get the pattern property: The pattern for an alias path.
|
void |
validate()
Validates the instance.
|
AliasPath |
withApiVersions(List<String> apiVersions)
Set the apiVersions property: The API versions.
|
AliasPath |
withPath(String path)
Set the path property: The path of an alias.
|
AliasPath |
withPattern(AliasPattern pattern)
Set the pattern property: The pattern for an alias path.
|
public String path()
public AliasPath withPath(String path)
path - the path value to set.public List<String> apiVersions()
public AliasPath withApiVersions(List<String> apiVersions)
apiVersions - the apiVersions value to set.public AliasPattern pattern()
public AliasPath withPattern(AliasPattern pattern)
pattern - the pattern value to set.public AliasPathMetadata metadata()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.