CustomizationHostname Class
- java.
lang. Object - com.
azure. resourcemanager. vmwarecloudsimple. models. CustomizationHostname
- com.
Implements
public final class CustomizationHostname
implements JsonSerializable<CustomizationHostname>
Host name model.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomizationHostname() |
Creates an instance of Customization |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Customization |
fromJson(JsonReader jsonReader)
Reads an instance of Customization |
| String |
name()
Get the name property: Hostname. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Customization |
type()
Get the type property: Type of host name. |
| void |
validate()
Validates the instance. |
|
Customization |
withName(String name)
Set the name property: Hostname. |
|
Customization |
withType(CustomizationHostnameType type)
Set the type property: Type of host name. |
Methods inherited from java.lang.Object
Constructor Details
CustomizationHostname
public CustomizationHostname()
Creates an instance of CustomizationHostname class.
Method Details
fromJson
public static CustomizationHostname fromJson(JsonReader jsonReader)
Reads an instance of CustomizationHostname from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Hostname.
Returns:
toJson
type
public CustomizationHostnameType type()
Get the type property: Type of host name.
Returns:
validate
public void validate()
Validates the instance.
withName
public CustomizationHostname withName(String name)
Set the name property: Hostname.
Parameters:
Returns:
withType
public CustomizationHostname withType(CustomizationHostnameType type)
Set the type property: Type of host name.
Parameters:
Returns: