Compartir a través de


SecondaryConsentEnabled Class

  • java.lang.Object
    • com.azure.resourcemanager.support.models.SecondaryConsentEnabled

public final class SecondaryConsentEnabled

This property indicates whether secondary consent is present for problem classification.

Constructor Summary

Constructor Description
SecondaryConsentEnabled()

Creates an instance of SecondaryConsentEnabled class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: User consent description.

String type()

Get the type property: The Azure service for which secondary consent is needed for case creation.

void validate()

Validates the instance.

SecondaryConsentEnabled withDescription(String description)

Set the description property: User consent description.

SecondaryConsentEnabled withType(String type)

Set the type property: The Azure service for which secondary consent is needed for case creation.

Methods inherited from java.lang.Object

Constructor Details

SecondaryConsentEnabled

public SecondaryConsentEnabled()

Creates an instance of SecondaryConsentEnabled class.

Method Details

description

public String description()

Get the description property: User consent description.

Returns:

the description value.

type

public String type()

Get the type property: The Azure service for which secondary consent is needed for case creation.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDescription

public SecondaryConsentEnabled withDescription(String description)

Set the description property: User consent description.

Parameters:

description - the description value to set.

Returns:

the SecondaryConsentEnabled object itself.

withType

public SecondaryConsentEnabled withType(String type)

Set the type property: The Azure service for which secondary consent is needed for case creation.

Parameters:

type - the type value to set.

Returns:

the SecondaryConsentEnabled object itself.

Applies to