ProblemClassificationProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.support.fluent.models.ProblemClassificationProperties

Implements

public final class ProblemClassificationProperties
implements JsonSerializable<ProblemClassificationProperties>

Details about a problem classification available for an Azure service.

Constructor Summary

Constructor Description
ProblemClassificationProperties()

Creates an instance of ProblemClassificationProperties class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: Localized name of problem classification.

static ProblemClassificationProperties fromJson(JsonReader jsonReader)

Reads an instance of ProblemClassificationProperties from the JsonReader.

List<SecondaryConsentEnabled> secondaryConsentEnabled()

Get the secondaryConsentEnabled property: This property indicates whether secondary consent is present for problem classification.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ProblemClassificationProperties withDisplayName(String displayName)

Set the displayName property: Localized name of problem classification.

ProblemClassificationProperties withSecondaryConsentEnabled(List<SecondaryConsentEnabled> secondaryConsentEnabled)

Set the secondaryConsentEnabled property: This property indicates whether secondary consent is present for problem classification.

Methods inherited from java.lang.Object

Constructor Details

ProblemClassificationProperties

public ProblemClassificationProperties()

Creates an instance of ProblemClassificationProperties class.

Method Details

displayName

public String displayName()

Get the displayName property: Localized name of problem classification.

Returns:

the displayName value.

fromJson

public static ProblemClassificationProperties fromJson(JsonReader jsonReader)

Reads an instance of ProblemClassificationProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

secondaryConsentEnabled

public List<SecondaryConsentEnabled> secondaryConsentEnabled()

Get the secondaryConsentEnabled property: This property indicates whether secondary consent is present for problem classification.

Returns:

the secondaryConsentEnabled value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisplayName

public ProblemClassificationProperties withDisplayName(String displayName)

Set the displayName property: Localized name of problem classification.

Parameters:

displayName - the displayName value to set.

Returns:

the ProblemClassificationProperties object itself.

withSecondaryConsentEnabled

public ProblemClassificationProperties withSecondaryConsentEnabled(List<SecondaryConsentEnabled> secondaryConsentEnabled)

Set the secondaryConsentEnabled property: This property indicates whether secondary consent is present for problem classification.

Parameters:

secondaryConsentEnabled - the secondaryConsentEnabled value to set.

Returns:

the ProblemClassificationProperties object itself.

Applies to