Class RetentionPolicyParameters

java.lang.Object
com.microsoft.azure.management.network.RetentionPolicyParameters

public class RetentionPolicyParameters extends Object
Parameters that define the retention policy for flow log.
  • Constructor Details

    • RetentionPolicyParameters

      public RetentionPolicyParameters()
  • Method Details

    • days

      public Integer days()
      Get number of days to retain flow log records.
      Returns:
      the days value
    • withDays

      public RetentionPolicyParameters withDays(Integer days)
      Set number of days to retain flow log records.
      Parameters:
      days - the days value to set
      Returns:
      the RetentionPolicyParameters object itself.
    • enabled

      public Boolean enabled()
      Get flag to enable/disable retention.
      Returns:
      the enabled value
    • withEnabled

      public RetentionPolicyParameters withEnabled(Boolean enabled)
      Set flag to enable/disable retention.
      Parameters:
      enabled - the enabled value to set
      Returns:
      the RetentionPolicyParameters object itself.