CsmOperationDisplay Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.CsmOperationDisplay

Implements

public final class CsmOperationDisplay
implements JsonSerializable<CsmOperationDisplay>

Meta data about operation used for display in portal.

Constructor Summary

Constructor Description
CsmOperationDisplay()

Creates an instance of CsmOperationDisplay class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The description property.

static CsmOperationDisplay fromJson(JsonReader jsonReader)

Reads an instance of CsmOperationDisplay from the JsonReader.

String operation()

Get the operation property: The operation property.

String provider()

Get the provider property: The provider property.

String resource()

Get the resource property: The resource property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CsmOperationDisplay withDescription(String description)

Set the description property: The description property.

CsmOperationDisplay withOperation(String operation)

Set the operation property: The operation property.

CsmOperationDisplay withProvider(String provider)

Set the provider property: The provider property.

CsmOperationDisplay withResource(String resource)

Set the resource property: The resource property.

Methods inherited from java.lang.Object

Constructor Details

CsmOperationDisplay

public CsmOperationDisplay()

Creates an instance of CsmOperationDisplay class.

Method Details

description

public String description()

Get the description property: The description property.

Returns:

the description value.

fromJson

public static CsmOperationDisplay fromJson(JsonReader jsonReader)

Reads an instance of CsmOperationDisplay from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

operation

public String operation()

Get the operation property: The operation property.

Returns:

the operation value.

provider

public String provider()

Get the provider property: The provider property.

Returns:

the provider value.

resource

public String resource()

Get the resource property: The resource property.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDescription

public CsmOperationDisplay withDescription(String description)

Set the description property: The description property.

Parameters:

description - the description value to set.

Returns:

the CsmOperationDisplay object itself.

withOperation

public CsmOperationDisplay withOperation(String operation)

Set the operation property: The operation property.

Parameters:

operation - the operation value to set.

Returns:

the CsmOperationDisplay object itself.

withProvider

public CsmOperationDisplay withProvider(String provider)

Set the provider property: The provider property.

Parameters:

provider - the provider value to set.

Returns:

the CsmOperationDisplay object itself.

withResource

public CsmOperationDisplay withResource(String resource)

Set the resource property: The resource property.

Parameters:

resource - the resource value to set.

Returns:

the CsmOperationDisplay object itself.

Applies to