Class ElasticTrafficFilterRule

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

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

    • ElasticTrafficFilterRule

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

    • source

      public String source()
      Get the source property: IP of the elastic filter rule.
      Returns:
      the source value.
    • withSource

      public ElasticTrafficFilterRule withSource(String source)
      Set the source property: IP of the elastic filter rule.
      Parameters:
      source - the source value to set.
      Returns:
      the ElasticTrafficFilterRule object itself.
    • description

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

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

      public String azureEndpointGuid()
      Get the azureEndpointGuid property: Guid of Private Endpoint in the elastic filter rule.
      Returns:
      the azureEndpointGuid value.
    • withAzureEndpointGuid

      public ElasticTrafficFilterRule withAzureEndpointGuid(String azureEndpointGuid)
      Set the azureEndpointGuid property: Guid of Private Endpoint in the elastic filter rule.
      Parameters:
      azureEndpointGuid - the azureEndpointGuid value to set.
      Returns:
      the ElasticTrafficFilterRule object itself.
    • azureEndpointName

      public String azureEndpointName()
      Get the azureEndpointName property: Name of the Private Endpoint in the elastic filter rule.
      Returns:
      the azureEndpointName value.
    • withAzureEndpointName

      public ElasticTrafficFilterRule withAzureEndpointName(String azureEndpointName)
      Set the azureEndpointName property: Name of the Private Endpoint in the elastic filter rule.
      Parameters:
      azureEndpointName - the azureEndpointName value to set.
      Returns:
      the ElasticTrafficFilterRule object itself.
    • id

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

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

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.