HierarchyInformation Class

  • java.lang.Object
    • com.azure.resourcemanager.edgeorder.models.HierarchyInformation

Implements

public final class HierarchyInformation
implements JsonSerializable<HierarchyInformation>

Holds details about product hierarchy information.

Constructor Summary

Constructor Description
HierarchyInformation()

Creates an instance of HierarchyInformation class.

Method Summary

Modifier and Type Method and Description
String configurationName()

Get the configurationName property: Represents configuration name that uniquely identifies configuration.

static HierarchyInformation fromJson(JsonReader jsonReader)

Reads an instance of HierarchyInformation from the JsonReader.

String productFamilyName()

Get the productFamilyName property: Represents product family name that uniquely identifies product family.

String productLineName()

Get the productLineName property: Represents product line name that uniquely identifies product line.

String productName()

Get the productName property: Represents product name that uniquely identifies product.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

HierarchyInformation withConfigurationName(String configurationName)

Set the configurationName property: Represents configuration name that uniquely identifies configuration.

HierarchyInformation withProductFamilyName(String productFamilyName)

Set the productFamilyName property: Represents product family name that uniquely identifies product family.

HierarchyInformation withProductLineName(String productLineName)

Set the productLineName property: Represents product line name that uniquely identifies product line.

HierarchyInformation withProductName(String productName)

Set the productName property: Represents product name that uniquely identifies product.

Methods inherited from java.lang.Object

Constructor Details

HierarchyInformation

public HierarchyInformation()

Creates an instance of HierarchyInformation class.

Method Details

configurationName

public String configurationName()

Get the configurationName property: Represents configuration name that uniquely identifies configuration.

Returns:

the configurationName value.

fromJson

public static HierarchyInformation fromJson(JsonReader jsonReader)

Reads an instance of HierarchyInformation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

productFamilyName

public String productFamilyName()

Get the productFamilyName property: Represents product family name that uniquely identifies product family.

Returns:

the productFamilyName value.

productLineName

public String productLineName()

Get the productLineName property: Represents product line name that uniquely identifies product line.

Returns:

the productLineName value.

productName

public String productName()

Get the productName property: Represents product name that uniquely identifies product.

Returns:

the productName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withConfigurationName

public HierarchyInformation withConfigurationName(String configurationName)

Set the configurationName property: Represents configuration name that uniquely identifies configuration.

Parameters:

configurationName - the configurationName value to set.

Returns:

the HierarchyInformation object itself.

withProductFamilyName

public HierarchyInformation withProductFamilyName(String productFamilyName)

Set the productFamilyName property: Represents product family name that uniquely identifies product family.

Parameters:

productFamilyName - the productFamilyName value to set.

Returns:

the HierarchyInformation object itself.

withProductLineName

public HierarchyInformation withProductLineName(String productLineName)

Set the productLineName property: Represents product line name that uniquely identifies product line.

Parameters:

productLineName - the productLineName value to set.

Returns:

the HierarchyInformation object itself.

withProductName

public HierarchyInformation withProductName(String productName)

Set the productName property: Represents product name that uniquely identifies product.

Parameters:

productName - the productName value to set.

Returns:

the HierarchyInformation object itself.

Applies to