CheckTrafficManagerRelativeDnsNameAvailabilityParameters Class
- java.
lang. Object - com.
azure. resourcemanager. trafficmanager. models. CheckTrafficManagerRelativeDnsNameAvailabilityParameters
- com.
Implements
public final class CheckTrafficManagerRelativeDnsNameAvailabilityParameters
implements JsonSerializable<CheckTrafficManagerRelativeDnsNameAvailabilityParameters>
Parameters supplied to check Traffic Manager name operation.
Constructor Summary
| Constructor | Description |
|---|---|
| CheckTrafficManagerRelativeDnsNameAvailabilityParameters() |
Creates an instance of Check |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Check |
fromJson(JsonReader jsonReader)
Reads an instance of Check |
| String |
name()
Get the name property: The name of the resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Check |
withName(String name)
Set the name property: The name of the resource. |
|
Check |
withType(String type)
Set the type property: The type of the resource. |
Methods inherited from java.lang.Object
Constructor Details
CheckTrafficManagerRelativeDnsNameAvailabilityParameters
public CheckTrafficManagerRelativeDnsNameAvailabilityParameters()
Creates an instance of CheckTrafficManagerRelativeDnsNameAvailabilityParameters class.
Method Details
fromJson
public static CheckTrafficManagerRelativeDnsNameAvailabilityParameters fromJson(JsonReader jsonReader)
Reads an instance of CheckTrafficManagerRelativeDnsNameAvailabilityParameters from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the resource.
Returns:
toJson
type
public String type()
Get the type property: The type of the resource.
Returns:
validate
public void validate()
Validates the instance.
withName
public CheckTrafficManagerRelativeDnsNameAvailabilityParameters withName(String name)
Set the name property: The name of the resource.
Parameters:
Returns:
withType
public CheckTrafficManagerRelativeDnsNameAvailabilityParameters withType(String type)
Set the type property: The type of the resource.
Parameters:
Returns: