Class ClientDiscoveryForLogSpecification

java.lang.Object
com.azure.resourcemanager.recoveryservices.models.ClientDiscoveryForLogSpecification

public final class ClientDiscoveryForLogSpecification extends Object
Class to represent shoebox log specification in json client discovery.
  • Constructor Details

    • ClientDiscoveryForLogSpecification

      public ClientDiscoveryForLogSpecification()
  • Method Details

    • name

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

      Set the name property: Name of the log.
      Parameters:
      name - the name value to set.
      Returns:
      the ClientDiscoveryForLogSpecification object itself.
    • displayName

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

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

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

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

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