Class RetentionPolicyParameters
java.lang.Object
com.microsoft.azure.management.network.RetentionPolicyParameters
Parameters that define the retention policy for flow log.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondays()
Get number of days to retain flow log records.enabled()
Get flag to enable/disable retention.Set number of days to retain flow log records.withEnabled
(Boolean enabled) Set flag to enable/disable retention.
-
Constructor Details
-
RetentionPolicyParameters
public RetentionPolicyParameters()
-
-
Method Details
-
days
Get number of days to retain flow log records.- Returns:
- the days value
-
withDays
Set number of days to retain flow log records.- Parameters:
days
- the days value to set- Returns:
- the RetentionPolicyParameters object itself.
-
enabled
Get flag to enable/disable retention.- Returns:
- the enabled value
-
withEnabled
Set flag to enable/disable retention.- Parameters:
enabled
- the enabled value to set- Returns:
- the RetentionPolicyParameters object itself.
-