Class ElasticTrafficFilter

java.lang.Object
com.azure.resourcemanager.elastic.models.ElasticTrafficFilter

public final class ElasticTrafficFilter extends Object
Elastic traffic filter object.
  • Constructor Details

    • ElasticTrafficFilter

      public ElasticTrafficFilter()
      Creates an instance of ElasticTrafficFilter class.
  • Method Details

    • id

      public String id()
      Get the id property: Id of the elastic filter.
      Returns:
      the id value.
    • withId

      public ElasticTrafficFilter withId(String id)
      Set the id property: Id of the elastic filter.
      Parameters:
      id - the id value to set.
      Returns:
      the ElasticTrafficFilter object itself.
    • name

      public String name()
      Get the name property: Name of the elastic filter.
      Returns:
      the name value.
    • withName

      public ElasticTrafficFilter withName(String name)
      Set the name property: Name of the elastic filter.
      Parameters:
      name - the name value to set.
      Returns:
      the ElasticTrafficFilter object itself.
    • description

      public String description()
      Get the description property: Description of the elastic filter.
      Returns:
      the description value.
    • withDescription

      public ElasticTrafficFilter withDescription(String description)
      Set the description property: Description of the elastic filter.
      Parameters:
      description - the description value to set.
      Returns:
      the ElasticTrafficFilter object itself.
    • region

      public String region()
      Get the region property: Region of the elastic filter.
      Returns:
      the region value.
    • withRegion

      public ElasticTrafficFilter withRegion(String region)
      Set the region property: Region of the elastic filter.
      Parameters:
      region - the region value to set.
      Returns:
      the ElasticTrafficFilter object itself.
    • type

      public Type type()
      Get the type property: Type of the elastic filter.
      Returns:
      the type value.
    • withType

      public ElasticTrafficFilter withType(Type type)
      Set the type property: Type of the elastic filter.
      Parameters:
      type - the type value to set.
      Returns:
      the ElasticTrafficFilter object itself.
    • includeByDefault

      public Boolean includeByDefault()
      Get the includeByDefault property: IncludeByDefault for the elastic filter.
      Returns:
      the includeByDefault value.
    • withIncludeByDefault

      public ElasticTrafficFilter withIncludeByDefault(Boolean includeByDefault)
      Set the includeByDefault property: IncludeByDefault for the elastic filter.
      Parameters:
      includeByDefault - the includeByDefault value to set.
      Returns:
      the ElasticTrafficFilter object itself.
    • rules

      public List<ElasticTrafficFilterRule> 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.