Partilhar via


OperationProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.OperationProperties

Implements

public final class OperationProperties
implements JsonSerializable<OperationProperties>

Extra Operation properties.

Constructor Summary

Constructor Description
OperationProperties()

Creates an instance of OperationProperties class.

Method Summary

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

Reads an instance of OperationProperties from the JsonReader.

ServiceSpecification serviceSpecification()

Get the serviceSpecification property: Service specifications of the operation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OperationProperties withServiceSpecification(ServiceSpecification serviceSpecification)

Set the serviceSpecification property: Service specifications of the operation.

Methods inherited from java.lang.Object

Constructor Details

OperationProperties

public OperationProperties()

Creates an instance of OperationProperties class.

Method Details

fromJson

public static OperationProperties fromJson(JsonReader jsonReader)

Reads an instance of OperationProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

serviceSpecification

public ServiceSpecification serviceSpecification()

Get the serviceSpecification property: Service specifications of the operation.

Returns:

the serviceSpecification value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withServiceSpecification

public OperationProperties withServiceSpecification(ServiceSpecification serviceSpecification)

Set the serviceSpecification property: Service specifications of the operation.

Parameters:

serviceSpecification - the serviceSpecification value to set.

Returns:

the OperationProperties object itself.

Applies to