Class CheckTrafficManagerRelativeDnsNameAvailabilityParameters

java.lang.Object
com.azure.resourcemanager.trafficmanager.models.CheckTrafficManagerRelativeDnsNameAvailabilityParameters

public final class CheckTrafficManagerRelativeDnsNameAvailabilityParameters extends Object
Parameters supplied to check Traffic Manager name operation.
  • Constructor Details

    • CheckTrafficManagerRelativeDnsNameAvailabilityParameters

      public CheckTrafficManagerRelativeDnsNameAvailabilityParameters()
  • Method Details

    • name

      public String name()
      Get the name property: The name of the resource.
      Returns:
      the name value.
    • withName

      Set the name property: The name of the resource.
      Parameters:
      name - the name value to set.
      Returns:
      the CheckTrafficManagerRelativeDnsNameAvailabilityParameters object itself.
    • type

      public String type()
      Get the type property: The type of the resource.
      Returns:
      the type value.
    • withType

      Set the type property: The type of the resource.
      Parameters:
      type - the type value to set.
      Returns:
      the CheckTrafficManagerRelativeDnsNameAvailabilityParameters object itself.
    • validate

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