HttpLogsConfig Class

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

Implements

public final class HttpLogsConfig
implements JsonSerializable<HttpLogsConfig>

Http logs configuration.

Constructor Summary

Constructor Description
HttpLogsConfig()

Creates an instance of HttpLogsConfig class.

Method Summary

Modifier and Type Method and Description
AzureBlobStorageHttpLogsConfig azureBlobStorage()

Get the azureBlobStorage property: Http logs to azure blob storage configuration.

FileSystemHttpLogsConfig fileSystem()

Get the fileSystem property: Http logs to file system configuration.

static HttpLogsConfig fromJson(JsonReader jsonReader)

Reads an instance of HttpLogsConfig from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

HttpLogsConfig withAzureBlobStorage(AzureBlobStorageHttpLogsConfig azureBlobStorage)

Set the azureBlobStorage property: Http logs to azure blob storage configuration.

HttpLogsConfig withFileSystem(FileSystemHttpLogsConfig fileSystem)

Set the fileSystem property: Http logs to file system configuration.

Methods inherited from java.lang.Object

Constructor Details

HttpLogsConfig

public HttpLogsConfig()

Creates an instance of HttpLogsConfig class.

Method Details

azureBlobStorage

public AzureBlobStorageHttpLogsConfig azureBlobStorage()

Get the azureBlobStorage property: Http logs to azure blob storage configuration.

Returns:

the azureBlobStorage value.

fileSystem

public FileSystemHttpLogsConfig fileSystem()

Get the fileSystem property: Http logs to file system configuration.

Returns:

the fileSystem value.

fromJson

public static HttpLogsConfig fromJson(JsonReader jsonReader)

Reads an instance of HttpLogsConfig from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAzureBlobStorage

public HttpLogsConfig withAzureBlobStorage(AzureBlobStorageHttpLogsConfig azureBlobStorage)

Set the azureBlobStorage property: Http logs to azure blob storage configuration.

Parameters:

azureBlobStorage - the azureBlobStorage value to set.

Returns:

the HttpLogsConfig object itself.

withFileSystem

public HttpLogsConfig withFileSystem(FileSystemHttpLogsConfig fileSystem)

Set the fileSystem property: Http logs to file system configuration.

Parameters:

fileSystem - the fileSystem value to set.

Returns:

the HttpLogsConfig object itself.

Applies to