OperationLogSpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.OperationLogSpecification

Implements

public final class OperationLogSpecification
implements JsonSerializable<OperationLogSpecification>

Details about an operation related to logs.

Constructor Summary

Constructor Description
OperationLogSpecification()

Creates an instance of OperationLogSpecification class.

Method Summary

Modifier and Type Method and Description
String blobDuration()

Get the blobDuration property: Blobs created in the customer storage account, per hour.

String displayName()

Get the displayName property: Localized display name.

static OperationLogSpecification fromJson(JsonReader jsonReader)

Reads an instance of OperationLogSpecification from the JsonReader.

String name()

Get the name property: The name of the log category.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OperationLogSpecification withBlobDuration(String blobDuration)

Set the blobDuration property: Blobs created in the customer storage account, per hour.

OperationLogSpecification withDisplayName(String displayName)

Set the displayName property: Localized display name.

OperationLogSpecification withName(String name)

Set the name property: The name of the log category.

Methods inherited from java.lang.Object

Constructor Details

OperationLogSpecification

public OperationLogSpecification()

Creates an instance of OperationLogSpecification class.

Method Details

blobDuration

public String blobDuration()

Get the blobDuration property: Blobs created in the customer storage account, per hour.

Returns:

the blobDuration value.

displayName

public String displayName()

Get the displayName property: Localized display name.

Returns:

the displayName value.

fromJson

public static OperationLogSpecification fromJson(JsonReader jsonReader)

Reads an instance of OperationLogSpecification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of the log category.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBlobDuration

public OperationLogSpecification withBlobDuration(String blobDuration)

Set the blobDuration property: Blobs created in the customer storage account, per hour.

Parameters:

blobDuration - the blobDuration value to set.

Returns:

the OperationLogSpecification object itself.

withDisplayName

public OperationLogSpecification withDisplayName(String displayName)

Set the displayName property: Localized display name.

Parameters:

displayName - the displayName value to set.

Returns:

the OperationLogSpecification object itself.

withName

public OperationLogSpecification withName(String name)

Set the name property: The name of the log category.

Parameters:

name - the name value to set.

Returns:

the OperationLogSpecification object itself.

Applies to