public final class Alias extends Object
| Constructor and Description |
|---|
Alias() |
| Modifier and Type | Method and Description |
|---|---|
AliasPathMetadata |
defaultMetadata()
Get the defaultMetadata property: The default alias path metadata.
|
String |
defaultPath()
Get the defaultPath property: The default path for an alias.
|
AliasPattern |
defaultPattern()
Get the defaultPattern property: The default pattern for an alias.
|
String |
name()
Get the name property: The alias name.
|
List<AliasPath> |
paths()
Get the paths property: The paths for an alias.
|
AliasType |
type()
Get the type property: The type of the alias.
|
void |
validate()
Validates the instance.
|
Alias |
withDefaultPath(String defaultPath)
Set the defaultPath property: The default path for an alias.
|
Alias |
withDefaultPattern(AliasPattern defaultPattern)
Set the defaultPattern property: The default pattern for an alias.
|
Alias |
withName(String name)
Set the name property: The alias name.
|
Alias |
withPaths(List<AliasPath> paths)
Set the paths property: The paths for an alias.
|
Alias |
withType(AliasType type)
Set the type property: The type of the alias.
|
public String name()
public Alias withName(String name)
name - the name value to set.public List<AliasPath> paths()
public Alias withPaths(List<AliasPath> paths)
paths - the paths value to set.public AliasType type()
public Alias withType(AliasType type)
type - the type value to set.public String defaultPath()
public Alias withDefaultPath(String defaultPath)
defaultPath - the defaultPath value to set.public AliasPattern defaultPattern()
public Alias withDefaultPattern(AliasPattern defaultPattern)
defaultPattern - the defaultPattern value to set.public AliasPathMetadata defaultMetadata()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.