Partager via


LogSpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.keyvault.models.LogSpecification

Implements

public final class LogSpecification
implements JsonSerializable<LogSpecification>

Log specification of operation.

Method Summary

Modifier and Type Method and Description
String blobDuration()

Get the blobDuration property: Blob duration of specification.

String displayName()

Get the displayName property: Display name of log specification.

static LogSpecification fromJson(JsonReader jsonReader)

Reads an instance of LogSpecification from the JsonReader.

String name()

Get the name property: Name of log specification.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

blobDuration

public String blobDuration()

Get the blobDuration property: Blob duration of specification.

Returns:

the blobDuration value.

displayName

public String displayName()

Get the displayName property: Display name of log specification.

Returns:

the displayName value.

fromJson

public static LogSpecification fromJson(JsonReader jsonReader)

Reads an instance of LogSpecification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of log specification.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to