RetentionPolicyParameters Class
- java.
lang. Object - com.
microsoft. azure. management. network. RetentionPolicyParameters
- com.
public class RetentionPolicyParameters
Parameters that define the retention policy for flow log.
Constructor Summary
Constructor | Description | |
---|---|---|
RetentionPolicyParameters() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
days()
Get number of days to retain flow log records. |
java.lang.Boolean |
enabled()
Get flag to enable/disable retention. |
Retention |
withDays(Integer days)
Set number of days to retain flow log records. |
Retention |
withEnabled(Boolean enabled)
Set flag to enable/disable retention. |
Methods inherited from java.lang.Object
Constructor Details
RetentionPolicyParameters
public RetentionPolicyParameters()
Method Details
days
public Integer days()
Get number of days to retain flow log records.
Returns:
enabled
public Boolean enabled()
Get flag to enable/disable retention.
Returns:
withDays
public RetentionPolicyParameters withDays(Integer days)
Set number of days to retain flow log records.
Parameters:
Returns:
withEnabled
public RetentionPolicyParameters withEnabled(Boolean enabled)
Set flag to enable/disable retention.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for