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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin