Class RetentionPolicyParameters


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

      • RetentionPolicyParameters

        public RetentionPolicyParameters()
    • Method Detail

      • days

        public Integer days()
        Get the days value.
        Returns:
        the days value
      • withDays

        public RetentionPolicyParameters withDays​(Integer days)
        Set the days value.
        Parameters:
        days - the days value to set
        Returns:
        the RetentionPolicyParameters object itself.
      • enabled

        public Boolean enabled()
        Get the enabled value.
        Returns:
        the enabled value
      • withEnabled

        public RetentionPolicyParameters withEnabled​(Boolean enabled)
        Set the enabled value.
        Parameters:
        enabled - the enabled value to set
        Returns:
        the RetentionPolicyParameters object itself.