AliasPattern Class

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

Implements

public final class AliasPattern
implements JsonSerializable<AliasPattern>

The type of the pattern for an alias path.

Method Summary

Modifier and Type Method and Description
static AliasPattern fromJson(JsonReader jsonReader)

Reads an instance of AliasPattern from the JsonReader.

String phrase()

Get the phrase property: The alias pattern phrase.

JsonWriter toJson(JsonWriter jsonWriter)
AliasPatternType type()

Get the type property: The type of alias pattern.

String variable()

Get the variable property: The alias pattern variable.

Methods inherited from java.lang.Object

Method Details

fromJson

public static AliasPattern fromJson(JsonReader jsonReader)

Reads an instance of AliasPattern from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AliasPattern 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 AliasPattern.

phrase

public String phrase()

Get the phrase property: The alias pattern phrase.

Returns:

the phrase value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public AliasPatternType type()

Get the type property: The type of alias pattern.

Returns:

the type value.

variable

public String variable()

Get the variable property: The alias pattern variable.

Returns:

the variable value.

Applies to