CustomizationSpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.vmwarecloudsimple.models.CustomizationSpecification

Implements

public final class CustomizationSpecification
implements JsonSerializable<CustomizationSpecification>

The specification for Customization Policy.

Constructor Summary

Constructor Description
CustomizationSpecification()

Creates an instance of CustomizationSpecification class.

Method Summary

Modifier and Type Method and Description
static CustomizationSpecification fromJson(JsonReader jsonReader)

Reads an instance of CustomizationSpecification from the JsonReader.

CustomizationIdentity identity()

Get the identity property: Customization Identity.

List<CustomizationNicSetting> nicSettings()

Get the nicSettings property: Network interface settings.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CustomizationSpecification withIdentity(CustomizationIdentity identity)

Set the identity property: Customization Identity.

CustomizationSpecification withNicSettings(List<CustomizationNicSetting> nicSettings)

Set the nicSettings property: Network interface settings.

Methods inherited from java.lang.Object

Constructor Details

CustomizationSpecification

public CustomizationSpecification()

Creates an instance of CustomizationSpecification class.

Method Details

fromJson

public static CustomizationSpecification fromJson(JsonReader jsonReader)

Reads an instance of CustomizationSpecification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CustomizationSpecification if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the CustomizationSpecification.

identity

public CustomizationIdentity identity()

Get the identity property: Customization Identity. It contains data about user and hostname.

Returns:

the identity value.

nicSettings

public List<CustomizationNicSetting> nicSettings()

Get the nicSettings property: Network interface settings.

Returns:

the nicSettings value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIdentity

public CustomizationSpecification withIdentity(CustomizationIdentity identity)

Set the identity property: Customization Identity. It contains data about user and hostname.

Parameters:

identity - the identity value to set.

Returns:

the CustomizationSpecification object itself.

withNicSettings

public CustomizationSpecification withNicSettings(List<CustomizationNicSetting> nicSettings)

Set the nicSettings property: Network interface settings.

Parameters:

nicSettings - the nicSettings value to set.

Returns:

the CustomizationSpecification object itself.

Applies to