public final class RetentionPolicyParameters extends Object
| Constructor and Description |
|---|
RetentionPolicyParameters() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
days()
Get the days property: Number of days to retain flow log records.
|
Boolean |
enabled()
Get the enabled property: Flag to enable/disable retention.
|
void |
validate()
Validates the instance.
|
RetentionPolicyParameters |
withDays(Integer days)
Set the days property: Number of days to retain flow log records.
|
RetentionPolicyParameters |
withEnabled(Boolean enabled)
Set the enabled property: Flag to enable/disable retention.
|
public Integer days()
public RetentionPolicyParameters withDays(Integer days)
days - the days value to set.public Boolean enabled()
public RetentionPolicyParameters withEnabled(Boolean enabled)
enabled - the enabled value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.