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

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

    • LogFileProperties

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

    • sizeInKB

      public Long sizeInKB()
      Get the sizeInKB property: The size in kb of the logFile.
      Returns:
      the sizeInKB value.
    • withSizeInKB

      public LogFileProperties withSizeInKB(Long sizeInKB)
      Set the sizeInKB property: The size in kb of the logFile.
      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.
    • withCreatedTime

      public LogFileProperties withCreatedTime(OffsetDateTime createdTime)
      Set the createdTime property: Creation timestamp of the log file.
      Parameters:
      createdTime - the createdTime value to set.
      Returns:
      the LogFileProperties object itself.
    • 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.
    • lastModifiedTime

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

      public LogFileProperties withLastModifiedTime(OffsetDateTime lastModifiedTime)
      Set the lastModifiedTime property: Last modified timestamp of the log file.
      Parameters:
      lastModifiedTime - the lastModifiedTime 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.
    • withUrl

      public LogFileProperties withUrl(String url)
      Set the url property: The url to download the log file from.
      Parameters:
      url - the url value to set.
      Returns:
      the LogFileProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.