TrafficManagerNameAvailabilityInner Class
- java.
lang. Object - com.
azure. resourcemanager. trafficmanager. fluent. models. TrafficManagerNameAvailabilityInner
- com.
Implements
public final class TrafficManagerNameAvailabilityInner
implements JsonSerializable<TrafficManagerNameAvailabilityInner>
Class representing a Traffic Manager Name Availability response.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Traffic |
fromJson(JsonReader jsonReader)
Reads an instance of Traffic |
| String |
message()
Get the message property: Descriptive message that explains why the name is not available, when applicable. |
| String |
name()
Get the name property: The relative name. |
| Boolean |
nameAvailable()
Get the name |
| String |
reason()
Get the reason property: The reason why the name is not available, when applicable. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Traffic Manager profile resource type. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static TrafficManagerNameAvailabilityInner fromJson(JsonReader jsonReader)
Reads an instance of TrafficManagerNameAvailabilityInner from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: Descriptive message that explains why the name is not available, when applicable.
Returns:
name
public String name()
Get the name property: The relative name.
Returns:
nameAvailable
public Boolean nameAvailable()
Get the nameAvailable property: Describes whether the relative name is available or not.
Returns:
reason
public String reason()
Get the reason property: The reason why the name is not available, when applicable.
Returns:
toJson
type
public String type()
Get the type property: Traffic Manager profile resource type.
Returns:
validate
public void validate()
Validates the instance.