LogsInner Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.fluent.models.LogsInner

Implements

public final class LogsInner
implements JsonSerializable<LogsInner>

The logs.

Constructor Summary

Constructor Description
LogsInner()

Creates an instance of LogsInner class.

Method Summary

Modifier and Type Method and Description
String content()

Get the content property: The content of the log.

static LogsInner fromJson(JsonReader jsonReader)

Reads an instance of LogsInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LogsInner withContent(String content)

Set the content property: The content of the log.

Methods inherited from java.lang.Object

Constructor Details

LogsInner

public LogsInner()

Creates an instance of LogsInner class.

Method Details

content

public String content()

Get the content property: The content of the log.

Returns:

the content value.

fromJson

public static LogsInner fromJson(JsonReader jsonReader)

Reads an instance of LogsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withContent

public LogsInner withContent(String content)

Set the content property: The content of the log.

Parameters:

content - the content value to set.

Returns:

the LogsInner object itself.

Applies to