Class OperationLogSpecification


  • public final class OperationLogSpecification
    extends Object
    Details about an operation related to logs.
    • Constructor Detail

      • OperationLogSpecification

        public OperationLogSpecification()
    • Method Detail

      • name

        public String name()
        Get the name property: The name of the log category.
        Returns:
        the name value.
      • withName

        public OperationLogSpecification withName​(String name)
        Set the name property: The name of the log category.
        Parameters:
        name - the name value to set.
        Returns:
        the OperationLogSpecification object itself.
      • displayName

        public String displayName()
        Get the displayName property: Localized display name.
        Returns:
        the displayName value.
      • withDisplayName

        public OperationLogSpecification withDisplayName​(String displayName)
        Set the displayName property: Localized display name.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the OperationLogSpecification object itself.
      • blobDuration

        public String blobDuration()
        Get the blobDuration property: Blobs created in the customer storage account, per hour.
        Returns:
        the blobDuration value.
      • withBlobDuration

        public OperationLogSpecification withBlobDuration​(String blobDuration)
        Set the blobDuration property: Blobs created in the customer storage account, per hour.
        Parameters:
        blobDuration - the blobDuration value to set.
        Returns:
        the OperationLogSpecification object itself.
      • validate

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