Class LogFileProperties
java.lang.Object
com.azure.resourcemanager.mariadb.fluent.models.LogFileProperties
The properties of a log file.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the createdTime property: Creation timestamp of the log file.Get the lastModifiedTime property: Last modified timestamp of the log file.sizeInKB()
Get the sizeInKB property: Size of the log file.type()
Get the type property: Type of the log file.url()
Get the url property: The url to download the log file from.void
validate()
Validates the instance.withSizeInKB
(Long sizeInKB) Set the sizeInKB property: Size of the log file.Set the type property: Type of the log file.
-
Constructor Details
-
LogFileProperties
public LogFileProperties()Creates an instance of LogFileProperties class.
-
-
Method Details
-
sizeInKB
Get the sizeInKB property: Size of the log file.- Returns:
- the sizeInKB value.
-
withSizeInKB
Set the sizeInKB property: Size of the log file.- Parameters:
sizeInKB
- the sizeInKB value to set.- Returns:
- the LogFileProperties object itself.
-
createdTime
Get the createdTime property: Creation timestamp of the log file.- Returns:
- the createdTime value.
-
lastModifiedTime
Get the lastModifiedTime property: Last modified timestamp of the log file.- Returns:
- the lastModifiedTime value.
-
type
Get the type property: Type of the log file.- Returns:
- the type value.
-
withType
Set the type property: Type of the log file.- Parameters:
type
- the type value to set.- Returns:
- the LogFileProperties object itself.
-
url
Get the url property: The url to download the log file from.- Returns:
- the url value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-