PreferencesValidationRequest Class

public final class PreferencesValidationRequest
extends ValidationInputRequest

Request to validate preference of transport and data center.

Constructor Summary

Constructor Description
PreferencesValidationRequest()

Creates an instance of PreferencesValidationRequest class.

Method Summary

Modifier and Type Method and Description
SkuName deviceType()

Get the deviceType property: Device type to be used for the job.

Preferences preference()

Get the preference property: Preference of transport and data center.

void validate()

Validates the instance.

PreferencesValidationRequest withDeviceType(SkuName deviceType)

Set the deviceType property: Device type to be used for the job.

PreferencesValidationRequest withPreference(Preferences preference)

Set the preference property: Preference of transport and data center.

Methods inherited from ValidationInputRequest

Methods inherited from java.lang.Object

Constructor Details

PreferencesValidationRequest

public PreferencesValidationRequest()

Creates an instance of PreferencesValidationRequest class.

Method Details

deviceType

public SkuName deviceType()

Get the deviceType property: Device type to be used for the job.

Returns:

the deviceType value.

preference

public Preferences preference()

Get the preference property: Preference of transport and data center.

Returns:

the preference value.

validate

public void validate()

Validates the instance.

Overrides:

PreferencesValidationRequest.validate()

withDeviceType

public PreferencesValidationRequest withDeviceType(SkuName deviceType)

Set the deviceType property: Device type to be used for the job.

Parameters:

deviceType - the deviceType value to set.

Returns:

the PreferencesValidationRequest object itself.

withPreference

public PreferencesValidationRequest withPreference(Preferences preference)

Set the preference property: Preference of transport and data center.

Parameters:

preference - the preference value to set.

Returns:

the PreferencesValidationRequest object itself.

Applies to