LogFileInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. postgresql. fluent. models. LogFileInner
- com.
- com.
public final class LogFileInner
extends ProxyResource
Represents a log file.
Constructor Summary
| Constructor | Description |
|---|---|
| LogFileInner() |
Creates an instance of Log |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
createdTime()
Get the created |
|
static
Log |
fromJson(JsonReader jsonReader)
Reads an instance of Log |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Offset |
lastModifiedTime()
Get the last |
| String |
name()
Get the name property: The name of the resource. |
| Long |
sizeInKB()
Get the size |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| String |
typePropertiesType()
Get the type property: Type of the log file. |
| String |
url()
Get the url property: The url to download the log file from. |
| void |
validate()
Validates the instance. |
|
Log |
withSizeInKB(Long sizeInKB)
Set the size |
|
Log |
withTypePropertiesType(String type)
Set the type property: Type of the log file. |
|
Log |
withUrl(String url)
Set the url property: The url to download the log file from. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
LogFileInner
public LogFileInner()
Creates an instance of LogFileInner class.
Method Details
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: Creation timestamp of the log file.
Returns:
fromJson
public static LogFileInner fromJson(JsonReader jsonReader)
Reads an instance of LogFileInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
LogFileInner.id()Returns:
lastModifiedTime
public OffsetDateTime lastModifiedTime()
Get the lastModifiedTime property: Last modified timestamp of the log file.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
LogFileInner.name()Returns:
sizeInKB
public Long sizeInKB()
Get the sizeInKB property: Size of the log file.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
LogFileInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
LogFileInner.type()Returns:
typePropertiesType
public String typePropertiesType()
Get the type property: Type of the log file.
Returns:
url
public String url()
Get the url property: The url to download the log file from.
Returns:
validate
public void validate()
Validates the instance.
withSizeInKB
public LogFileInner withSizeInKB(Long sizeInKB)
Set the sizeInKB property: Size of the log file.
Parameters:
Returns:
withTypePropertiesType
public LogFileInner withTypePropertiesType(String type)
Set the type property: Type of the log file.
Parameters:
Returns:
withUrl
public LogFileInner withUrl(String url)
Set the url property: The url to download the log file from.
Parameters:
Returns: