Alias Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.Alias

public class Alias

The alias type.

Constructor Summary

Constructor Description
Alias()

Method Summary

Modifier and Type Method and Description
AliasPathMetadata defaultMetadata()

Get the default alias path metadata.

java.lang.String defaultPath()

Get the default path for an alias.

AliasPattern defaultPattern()

Get the default pattern for an alias.

java.lang.String name()

Get the alias name.

java.util.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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

the defaultMetadata value

defaultPath

public String defaultPath()

Get the default path for an alias.

Returns:

the defaultPath value

defaultPattern

public AliasPattern defaultPattern()

Get the default pattern for an alias.

Returns:

the defaultPattern value

name

public String name()

Get the alias name.

Returns:

the name value

paths

public List paths()

Get the paths for an alias.

Returns:

the paths value

type

public AliasType type()

Get the type of the alias. Possible values include: 'NotSpecified', 'PlainText', 'Mask'.

Returns:

the type value

withDefaultPath

public Alias withDefaultPath(String defaultPath)

Set the default path for an alias.

Parameters:

defaultPath - the defaultPath value to set

Returns:

the Alias object itself.

withDefaultPattern

public Alias withDefaultPattern(AliasPattern defaultPattern)

Set the default pattern for an alias.

Parameters:

defaultPattern - the defaultPattern value to set

Returns:

the Alias object itself.

withName

public Alias withName(String name)

Set the alias name.

Parameters:

name - the name value to set

Returns:

the Alias object itself.

withPaths

public Alias withPaths(List paths)

Set the paths for an alias.

Parameters:

paths - the paths value to set

Returns:

the Alias object itself.

withType

public Alias withType(AliasType type)

Set the type of the alias. Possible values include: 'NotSpecified', 'PlainText', 'Mask'.

Parameters:

type - the type value to set

Returns:

the Alias object itself.

Applies to