RetentionPolicyParameters Class

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

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.

RetentionPolicyParameters withDays(Integer days)

Set the days value.

RetentionPolicyParameters 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