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 Summary
Constructors Constructor Description RetentionPolicyParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
days()
Get the days value.Boolean
enabled()
Get the enabled value.RetentionPolicyParameters
withDays(Integer days)
Set the days value.RetentionPolicyParameters
withEnabled(Boolean enabled)
Set the enabled value.
-
-
-
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.
-
-