Class CreateFirewallRuleWithAccountParameters

java.lang.Object
com.azure.resourcemanager.datalakeanalytics.models.CreateFirewallRuleWithAccountParameters

public final class CreateFirewallRuleWithAccountParameters extends Object
The parameters used to create a new firewall rule while creating a new Data Lake Analytics account.
  • Constructor Details

    • CreateFirewallRuleWithAccountParameters

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

    • name

      public String name()
      Get the name property: The unique name of the firewall rule to create.
      Returns:
      the name value.
    • withName

      Set the name property: The unique name of the firewall rule to create.
      Parameters:
      name - the name value to set.
      Returns:
      the CreateFirewallRuleWithAccountParameters object itself.
    • startIpAddress

      public String startIpAddress()
      Get the startIpAddress property: The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      Returns:
      the startIpAddress value.
    • withStartIpAddress

      public CreateFirewallRuleWithAccountParameters withStartIpAddress(String startIpAddress)
      Set the startIpAddress property: The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      Parameters:
      startIpAddress - the startIpAddress value to set.
      Returns:
      the CreateFirewallRuleWithAccountParameters object itself.
    • endIpAddress

      public String endIpAddress()
      Get the endIpAddress property: The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      Returns:
      the endIpAddress value.
    • withEndIpAddress

      public CreateFirewallRuleWithAccountParameters withEndIpAddress(String endIpAddress)
      Set the endIpAddress property: The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
      Parameters:
      endIpAddress - the endIpAddress value to set.
      Returns:
      the CreateFirewallRuleWithAccountParameters object itself.
    • validate

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