Class ElasticTrafficFilter
java.lang.Object
com.azure.resourcemanager.elastic.models.ElasticTrafficFilter
Elastic traffic filter object.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the elastic filter.id()
Get the id property: Id of the elastic filter.Get the includeByDefault property: IncludeByDefault for the elastic filter.name()
Get the name property: Name of the elastic filter.region()
Get the region property: Region of the elastic filter.rules()
Get the rules property: Rules in the elastic filter.type()
Get the type property: Type of the elastic filter.void
validate()
Validates the instance.withDescription
(String description) Set the description property: Description of the elastic filter.Set the id property: Id of the elastic filter.withIncludeByDefault
(Boolean includeByDefault) Set the includeByDefault property: IncludeByDefault for the elastic filter.Set the name property: Name of the elastic filter.withRegion
(String region) Set the region property: Region of the elastic filter.withRules
(List<ElasticTrafficFilterRule> rules) Set the rules property: Rules in the elastic filter.Set the type property: Type of the elastic filter.
-
Constructor Details
-
ElasticTrafficFilter
public ElasticTrafficFilter()Creates an instance of ElasticTrafficFilter class.
-
-
Method Details
-
id
Get the id property: Id of the elastic filter.- Returns:
- the id value.
-
withId
Set the id property: Id of the elastic filter.- Parameters:
id
- the id value to set.- Returns:
- the ElasticTrafficFilter object itself.
-
name
Get the name property: Name of the elastic filter.- Returns:
- the name value.
-
withName
Set the name property: Name of the elastic filter.- Parameters:
name
- the name value to set.- Returns:
- the ElasticTrafficFilter object itself.
-
description
Get the description property: Description of the elastic filter.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the elastic filter.- Parameters:
description
- the description value to set.- Returns:
- the ElasticTrafficFilter object itself.
-
region
Get the region property: Region of the elastic filter.- Returns:
- the region value.
-
withRegion
Set the region property: Region of the elastic filter.- Parameters:
region
- the region value to set.- Returns:
- the ElasticTrafficFilter object itself.
-
type
Get the type property: Type of the elastic filter.- Returns:
- the type value.
-
withType
Set the type property: Type of the elastic filter.- Parameters:
type
- the type value to set.- Returns:
- the ElasticTrafficFilter object itself.
-
includeByDefault
Get the includeByDefault property: IncludeByDefault for the elastic filter.- Returns:
- the includeByDefault value.
-
withIncludeByDefault
Set the includeByDefault property: IncludeByDefault for the elastic filter.- Parameters:
includeByDefault
- the includeByDefault value to set.- Returns:
- the ElasticTrafficFilter object itself.
-
rules
Get the rules property: Rules in the elastic filter.- Returns:
- the rules value.
-
withRules
Set the rules property: Rules in the elastic filter.- Parameters:
rules
- the rules value to set.- Returns:
- the ElasticTrafficFilter object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-