AliasPath Class

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

public class AliasPath

The type of the paths for alias.

Constructor Summary

Constructor Description
AliasPath()

Method Summary

Modifier and Type Method and Description
java.util.List<java.lang.String> apiVersions()

Get the API versions.

AliasPathMetadata metadata()

Get the metadata of the alias path.

java.lang.String path()

Get the path of an alias.

AliasPattern pattern()

Get the pattern for an alias path.

AliasPath withApiVersions(List<String> apiVersions)

Set the API versions.

AliasPath withPath(String path)

Set the path of an alias.

AliasPath withPattern(AliasPattern pattern)

Set the pattern for an alias path.

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

AliasPath

public AliasPath()

Method Details

apiVersions

public List apiVersions()

Get the API versions.

Returns:

the apiVersions value

metadata

public AliasPathMetadata metadata()

Get the metadata of the alias path. If missing, fall back to the default metadata of the alias.

Returns:

the metadata value

path

public String path()

Get the path of an alias.

Returns:

the path value

pattern

public AliasPattern pattern()

Get the pattern for an alias path.

Returns:

the pattern value

withApiVersions

public AliasPath withApiVersions(List apiVersions)

Set the API versions.

Parameters:

apiVersions - the apiVersions value to set

Returns:

the AliasPath object itself.

withPath

public AliasPath withPath(String path)

Set the path of an alias.

Parameters:

path - the path value to set

Returns:

the AliasPath object itself.

withPattern

public AliasPath withPattern(AliasPattern pattern)

Set the pattern for an alias path.

Parameters:

pattern - the pattern value to set

Returns:

the AliasPath object itself.

Applies to