AliasPath Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.deployments.models.AliasPath

Implements

public final class AliasPath
implements JsonSerializable<AliasPath>

The type of the paths for alias.

Method Summary

Modifier and Type Method and Description
List<String> apiVersions()

Get the apiVersions property: The API versions.

static AliasPath fromJson(JsonReader jsonReader)

Reads an instance of AliasPath from the JsonReader.

AliasPathMetadata metadata()

Get the metadata property: The metadata of the alias path.

String path()

Get the path property: The path of an alias.

AliasPattern pattern()

Get the pattern property: The pattern for an alias path.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

apiVersions

public List<String> apiVersions()

Get the apiVersions property: The API versions.

Returns:

the apiVersions value.

fromJson

public static AliasPath fromJson(JsonReader jsonReader)

Reads an instance of AliasPath from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AliasPath if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AliasPath.

metadata

public AliasPathMetadata metadata()

Get the metadata property: 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 property: The path of an alias.

Returns:

the path value.

pattern

public AliasPattern pattern()

Get the pattern property: The pattern for an alias path.

Returns:

the pattern value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to