public final class TrafficManagerNameAvailabilityInner extends Object
| Constructor and Description |
|---|
TrafficManagerNameAvailabilityInner() |
| Modifier and Type | Method and Description |
|---|---|
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 nameAvailable property: Describes whether the relative name is available or not.
|
String |
reason()
Get the reason property: The reason why the name is not available, when applicable.
|
String |
type()
Get the type property: Traffic Manager profile resource type.
|
void |
validate()
Validates the instance.
|
TrafficManagerNameAvailabilityInner |
withMessage(String message)
Set the message property: Descriptive message that explains why the name is not available, when applicable.
|
TrafficManagerNameAvailabilityInner |
withName(String name)
Set the name property: The relative name.
|
TrafficManagerNameAvailabilityInner |
withNameAvailable(Boolean nameAvailable)
Set the nameAvailable property: Describes whether the relative name is available or not.
|
TrafficManagerNameAvailabilityInner |
withReason(String reason)
Set the reason property: The reason why the name is not available, when applicable.
|
TrafficManagerNameAvailabilityInner |
withType(String type)
Set the type property: Traffic Manager profile resource type.
|
public String name()
public TrafficManagerNameAvailabilityInner withName(String name)
name - the name value to set.public String type()
public TrafficManagerNameAvailabilityInner withType(String type)
type - the type value to set.public Boolean nameAvailable()
public TrafficManagerNameAvailabilityInner withNameAvailable(Boolean nameAvailable)
nameAvailable - the nameAvailable value to set.public String reason()
public TrafficManagerNameAvailabilityInner withReason(String reason)
reason - the reason value to set.public String message()
public TrafficManagerNameAvailabilityInner withMessage(String message)
message - the message value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.