PreferencesValidationRequest Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. ValidationInputRequest - com.
azure. resourcemanager. databox. models. PreferencesValidationRequest
- com.
- com.
public final class PreferencesValidationRequest
extends ValidationInputRequest
Request to validate preference of transport and data center.
Constructor Summary
Constructor | Description |
---|---|
PreferencesValidationRequest() |
Creates an instance of Preferences |
Method Summary
Modifier and Type | Method and Description |
---|---|
Sku |
deviceType()
Get the device |
Preferences |
preference()
Get the preference property: Preference of transport and data center. |
void |
validate()
Validates the instance. |
Preferences |
withDeviceType(SkuName deviceType)
Set the device |
Preferences |
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:
preference
public Preferences preference()
Get the preference property: Preference of transport and data center.
Returns:
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:
Returns:
withPreference
public PreferencesValidationRequest withPreference(Preferences preference)
Set the preference property: Preference of transport and data center.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for