Alias Class
- java.
lang. Object - com.
microsoft. azure. management. resources. Alias
- com.
public class Alias
The alias type.
Constructor Summary
Constructor | Description | |
---|---|---|
Alias() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Alias |
defaultMetadata()
Get the default alias path metadata. |
java.lang.String |
defaultPath()
Get the default path for an alias. |
Alias |
defaultPattern()
Get the default pattern for an alias. |
java.lang.String |
name()
Get the alias name. |
java.util.List<Alias |
paths()
Get the paths for an alias. |
Alias |
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. |
Methods inherited from java.lang.Object
Constructor Details
Alias
public Alias()
Method Details
defaultMetadata
public AliasPathMetadata defaultMetadata()
Get the default alias path metadata. Applies to the default path and to any alias path that doesn't have metadata.
Returns:
defaultPath
public String defaultPath()
Get the default path for an alias.
Returns:
defaultPattern
public AliasPattern defaultPattern()
Get the default pattern for an alias.
Returns:
name
public String name()
Get the alias name.
Returns:
paths
public List
Get the paths for an alias.
Returns:
type
public AliasType type()
Get the type of the alias. Possible values include: 'NotSpecified', 'PlainText', 'Mask'.
Returns:
withDefaultPath
public Alias withDefaultPath(String defaultPath)
Set the default path for an alias.
Parameters:
Returns:
withDefaultPattern
public Alias withDefaultPattern(AliasPattern defaultPattern)
Set the default pattern for an alias.
Parameters:
Returns:
withName
public Alias withName(String name)
Set the alias name.
Parameters:
Returns:
withPaths
public Alias withPaths(List
Set the paths for an alias.
Parameters:
Returns:
withType
public Alias withType(AliasType type)
Set the type of the alias. Possible values include: 'NotSpecified', 'PlainText', 'Mask'.
Parameters:
Returns:
Applies to
Azure SDK for Java