public class Alias extends Object
| Constructor and Description |
|---|
Alias() |
| Modifier and Type | Method and Description |
|---|---|
AliasPathMetadata |
defaultMetadata()
Get the default alias path metadata.
|
String |
defaultPath()
Get the default path for an alias.
|
AliasPattern |
defaultPattern()
Get the default pattern for an alias.
|
String |
name()
Get the alias name.
|
List<AliasPath> |
paths()
Get the paths for an alias.
|
AliasType |
type()
Get the type of the alias.
|
Alias |
withDefaultPath(String defaultPath)
Set the default path for an alias.
|
Alias |
withDefaultPattern(AliasPattern defaultPattern)
Set the default pattern for an alias.
|
Alias |
withName(String name)
Set the alias name.
|
Alias |
withPaths(List<AliasPath> paths)
Set the paths for an alias.
|
Alias |
withType(AliasType type)
Set the type of the alias.
|
public String name()
public Alias withName(String name)
name - the name value to setpublic Alias withPaths(List<AliasPath> paths)
paths - the paths value to setpublic AliasType type()
public Alias withType(AliasType type)
type - the type value to setpublic String defaultPath()
public Alias withDefaultPath(String defaultPath)
defaultPath - the defaultPath value to setpublic AliasPattern defaultPattern()
public Alias withDefaultPattern(AliasPattern defaultPattern)
defaultPattern - the defaultPattern value to setpublic AliasPathMetadata defaultMetadata()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/