Partager via


SitePhpErrorLogFlagInner Class

public final class SitePhpErrorLogFlagInner
extends ProxyOnlyResource

Used for getting PHP error logging flag.

Constructor Summary

Constructor Description
SitePhpErrorLogFlagInner()

Creates an instance of SitePhpErrorLogFlagInner class.

Method Summary

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

Reads an instance of SitePhpErrorLogFlagInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String localLogErrors()

Get the localLogErrors property: Local log_errors setting.

String localLogErrorsMaxLength()

Get the localLogErrorsMaxLength property: Local log_errors_max_len setting.

String masterLogErrors()

Get the masterLogErrors property: Master log_errors setting.

String masterLogErrorsMaxLength()

Get the masterLogErrorsMaxLength property: Master log_errors_max_len setting.

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SitePhpErrorLogFlagInner withKind(String kind)

Set the kind property: Kind of resource.

SitePhpErrorLogFlagInner withLocalLogErrors(String localLogErrors)

Set the localLogErrors property: Local log_errors setting.

SitePhpErrorLogFlagInner withLocalLogErrorsMaxLength(String localLogErrorsMaxLength)

Set the localLogErrorsMaxLength property: Local log_errors_max_len setting.

SitePhpErrorLogFlagInner withMasterLogErrors(String masterLogErrors)

Set the masterLogErrors property: Master log_errors setting.

SitePhpErrorLogFlagInner withMasterLogErrorsMaxLength(String masterLogErrorsMaxLength)

Set the masterLogErrorsMaxLength property: Master log_errors_max_len setting.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

SitePhpErrorLogFlagInner

public SitePhpErrorLogFlagInner()

Creates an instance of SitePhpErrorLogFlagInner class.

Method Details

fromJson

public static SitePhpErrorLogFlagInner fromJson(JsonReader jsonReader)

Reads an instance of SitePhpErrorLogFlagInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SitePhpErrorLogFlagInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SitePhpErrorLogFlagInner.id()

Returns:

the id value.

localLogErrors

public String localLogErrors()

Get the localLogErrors property: Local log_errors setting.

Returns:

the localLogErrors value.

localLogErrorsMaxLength

public String localLogErrorsMaxLength()

Get the localLogErrorsMaxLength property: Local log_errors_max_len setting.

Returns:

the localLogErrorsMaxLength value.

masterLogErrors

public String masterLogErrors()

Get the masterLogErrors property: Master log_errors setting.

Returns:

the masterLogErrors value.

masterLogErrorsMaxLength

public String masterLogErrorsMaxLength()

Get the masterLogErrorsMaxLength property: Master log_errors_max_len setting.

Returns:

the masterLogErrorsMaxLength value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SitePhpErrorLogFlagInner.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SitePhpErrorLogFlagInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SitePhpErrorLogFlagInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

SitePhpErrorLogFlagInner.validate()

withKind

public SitePhpErrorLogFlagInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

SitePhpErrorLogFlagInner.withKind(String kind)

Parameters:

kind

withLocalLogErrors

public SitePhpErrorLogFlagInner withLocalLogErrors(String localLogErrors)

Set the localLogErrors property: Local log_errors setting.

Parameters:

localLogErrors - the localLogErrors value to set.

Returns:

the SitePhpErrorLogFlagInner object itself.

withLocalLogErrorsMaxLength

public SitePhpErrorLogFlagInner withLocalLogErrorsMaxLength(String localLogErrorsMaxLength)

Set the localLogErrorsMaxLength property: Local log_errors_max_len setting.

Parameters:

localLogErrorsMaxLength - the localLogErrorsMaxLength value to set.

Returns:

the SitePhpErrorLogFlagInner object itself.

withMasterLogErrors

public SitePhpErrorLogFlagInner withMasterLogErrors(String masterLogErrors)

Set the masterLogErrors property: Master log_errors setting.

Parameters:

masterLogErrors - the masterLogErrors value to set.

Returns:

the SitePhpErrorLogFlagInner object itself.

withMasterLogErrorsMaxLength

public SitePhpErrorLogFlagInner withMasterLogErrorsMaxLength(String masterLogErrorsMaxLength)

Set the masterLogErrorsMaxLength property: Master log_errors_max_len setting.

Parameters:

masterLogErrorsMaxLength - the masterLogErrorsMaxLength value to set.

Returns:

the SitePhpErrorLogFlagInner object itself.

Applies to