Class FlowLogInformationInner
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.FlowLogInformationInner
-
public final class FlowLogInformationInner extends Object
Information on the configuration of flow log and traffic analytics (optional) .
-
-
Constructor Summary
Constructors Constructor Description FlowLogInformationInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanenabled()Get the enabled property: Flag to enable/disable flow logging.TrafficAnalyticsPropertiesflowAnalyticsConfiguration()Get the flowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.FlowLogFormatParametersformat()Get the format property: Parameters that define the flow log format.RetentionPolicyParametersretentionPolicy()Get the retentionPolicy property: Parameters that define the retention policy for flow log.StringstorageId()Get the storageId property: ID of the storage account which is used to store the flow log.StringtargetResourceId()Get the targetResourceId property: The ID of the resource to configure for flow log and traffic analytics (optional) .voidvalidate()Validates the instance.FlowLogInformationInnerwithEnabled(boolean enabled)Set the enabled property: Flag to enable/disable flow logging.FlowLogInformationInnerwithFlowAnalyticsConfiguration(TrafficAnalyticsProperties flowAnalyticsConfiguration)Set the flowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.FlowLogInformationInnerwithFormat(FlowLogFormatParameters format)Set the format property: Parameters that define the flow log format.FlowLogInformationInnerwithRetentionPolicy(RetentionPolicyParameters retentionPolicy)Set the retentionPolicy property: Parameters that define the retention policy for flow log.FlowLogInformationInnerwithStorageId(String storageId)Set the storageId property: ID of the storage account which is used to store the flow log.FlowLogInformationInnerwithTargetResourceId(String targetResourceId)Set the targetResourceId property: The ID of the resource to configure for flow log and traffic analytics (optional) .
-
-
-
Method Detail
-
targetResourceId
public String targetResourceId()
Get the targetResourceId property: The ID of the resource to configure for flow log and traffic analytics (optional) .- Returns:
- the targetResourceId value.
-
withTargetResourceId
public FlowLogInformationInner withTargetResourceId(String targetResourceId)
Set the targetResourceId property: The ID of the resource to configure for flow log and traffic analytics (optional) .- Parameters:
targetResourceId- the targetResourceId value to set.- Returns:
- the FlowLogInformationInner object itself.
-
flowAnalyticsConfiguration
public TrafficAnalyticsProperties flowAnalyticsConfiguration()
Get the flowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.- Returns:
- the flowAnalyticsConfiguration value.
-
withFlowAnalyticsConfiguration
public FlowLogInformationInner withFlowAnalyticsConfiguration(TrafficAnalyticsProperties flowAnalyticsConfiguration)
Set the flowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.- Parameters:
flowAnalyticsConfiguration- the flowAnalyticsConfiguration value to set.- Returns:
- the FlowLogInformationInner object itself.
-
storageId
public String storageId()
Get the storageId property: ID of the storage account which is used to store the flow log.- Returns:
- the storageId value.
-
withStorageId
public FlowLogInformationInner withStorageId(String storageId)
Set the storageId property: ID of the storage account which is used to store the flow log.- Parameters:
storageId- the storageId value to set.- Returns:
- the FlowLogInformationInner object itself.
-
enabled
public boolean enabled()
Get the enabled property: Flag to enable/disable flow logging.- Returns:
- the enabled value.
-
withEnabled
public FlowLogInformationInner withEnabled(boolean enabled)
Set the enabled property: Flag to enable/disable flow logging.- Parameters:
enabled- the enabled value to set.- Returns:
- the FlowLogInformationInner object itself.
-
retentionPolicy
public RetentionPolicyParameters retentionPolicy()
Get the retentionPolicy property: Parameters that define the retention policy for flow log.- Returns:
- the retentionPolicy value.
-
withRetentionPolicy
public FlowLogInformationInner withRetentionPolicy(RetentionPolicyParameters retentionPolicy)
Set the retentionPolicy property: Parameters that define the retention policy for flow log.- Parameters:
retentionPolicy- the retentionPolicy value to set.- Returns:
- the FlowLogInformationInner object itself.
-
format
public FlowLogFormatParameters format()
Get the format property: Parameters that define the flow log format.- Returns:
- the format value.
-
withFormat
public FlowLogInformationInner withFormat(FlowLogFormatParameters format)
Set the format property: Parameters that define the flow log format.- Parameters:
format- the format value to set.- Returns:
- the FlowLogInformationInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-