RetentionPolicyParameters Class
- java.
lang. Object - com.
microsoft. azure. management. network. RetentionPolicyParameters
- com.
public class RetentionPolicyParameters
Parameters that define the retention policy for flow log.
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
days()
Get the days value. |
Boolean |
enabled()
Get the enabled value. |
Retention |
withDays(Integer days)
Set the days value. |
Retention |
withEnabled(Boolean enabled)
Set the enabled value. |
Method Details
days
public Integer days()
Get the days value.
Returns:
the days value
enabled
public Boolean enabled()
Get the enabled value.
Returns:
the enabled value
withDays
public RetentionPolicyParameters withDays(Integer days)
Set the days value.
Parameters:
days
- the days value to set
Returns:
the RetentionPolicyParameters object itself.
withEnabled
public RetentionPolicyParameters withEnabled(Boolean enabled)
Set the enabled value.
Parameters:
enabled
- the enabled value to set
Returns:
the RetentionPolicyParameters object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
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