Class LogFileProperties

java.lang.Object
com.azure.resourcemanager.mariadb.fluent.models.LogFileProperties

public final class LogFileProperties extends Object
The properties of a log file.
  • Constructor Details

    • LogFileProperties

      public LogFileProperties()
      Creates an instance of LogFileProperties class.
  • Method Details

    • sizeInKB

      public Long sizeInKB()
      Get the sizeInKB property: Size of the log file.
      Returns:
      the sizeInKB value.
    • withSizeInKB

      public LogFileProperties withSizeInKB(Long sizeInKB)
      Set the sizeInKB property: Size of the log file.
      Parameters:
      sizeInKB - the sizeInKB value to set.
      Returns:
      the LogFileProperties object itself.
    • createdTime

      public OffsetDateTime createdTime()
      Get the createdTime property: Creation timestamp of the log file.
      Returns:
      the createdTime value.
    • lastModifiedTime

      public OffsetDateTime lastModifiedTime()
      Get the lastModifiedTime property: Last modified timestamp of the log file.
      Returns:
      the lastModifiedTime value.
    • type

      public String type()
      Get the type property: Type of the log file.
      Returns:
      the type value.
    • withType

      public LogFileProperties withType(String type)
      Set the type property: Type of the log file.
      Parameters:
      type - the type value to set.
      Returns:
      the LogFileProperties object itself.
    • url

      public String 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.