RetentionPolicyParameters Class

  • java.lang.Object
    • com.microsoft.azure.management.network.RetentionPolicyParameters

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.

RetentionPolicyParameters withDays(Integer days)

Set number of days to retain flow log records.

RetentionPolicyParameters withEnabled(Boolean enabled)

Set flag to enable/disable retention.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

RetentionPolicyParameters

public RetentionPolicyParameters()

Method Details

days

public Integer days()

Get number of days to retain flow log records.

Returns:

the days value

enabled

public Boolean enabled()

Get flag to enable/disable retention.

Returns:

the enabled value

withDays

public RetentionPolicyParameters withDays(Integer days)

Set number of days to retain flow log records.

Parameters:

days - the days value to set

Returns:

the RetentionPolicyParameters object itself.

withEnabled

public RetentionPolicyParameters withEnabled(Boolean enabled)

Set flag to enable/disable retention.

Parameters:

enabled - the enabled value to set

Returns:

the RetentionPolicyParameters object itself.

Applies to