public class RetentionPolicyParameters extends Object
| Constructor and Description |
|---|
RetentionPolicyParameters() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
days()
Get number of days to retain flow log records.
|
Boolean |
enabled()
Get flag to enable/disable retention.
|
RetentionPolicyParameters |
withDays(Integer days)
Set number of days to retain flow log records.
|
RetentionPolicyParameters |
withEnabled(Boolean enabled)
Set flag to enable/disable retention.
|
public Integer days()
public RetentionPolicyParameters withDays(Integer days)
days - the days value to setpublic Boolean enabled()
public RetentionPolicyParameters withEnabled(Boolean enabled)
enabled - the enabled value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/