Share via


AutomaticResolutionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.resourcemover.models.AutomaticResolutionProperties

Implements

public final class AutomaticResolutionProperties
implements JsonSerializable<AutomaticResolutionProperties>

Defines the properties for automatic resolution.

Constructor Summary

Constructor Description
AutomaticResolutionProperties()

Creates an instance of AutomaticResolutionProperties class.

Method Summary

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

Reads an instance of AutomaticResolutionProperties from the JsonReader.

String moveResourceId()

Get the moveResourceId property: Gets the MoveResource ARM ID of the dependent resource if the resolution type is Automatic.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AutomaticResolutionProperties withMoveResourceId(String moveResourceId)

Set the moveResourceId property: Gets the MoveResource ARM ID of the dependent resource if the resolution type is Automatic.

Methods inherited from java.lang.Object

Constructor Details

AutomaticResolutionProperties

public AutomaticResolutionProperties()

Creates an instance of AutomaticResolutionProperties class.

Method Details

fromJson

public static AutomaticResolutionProperties fromJson(JsonReader jsonReader)

Reads an instance of AutomaticResolutionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AutomaticResolutionProperties 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 AutomaticResolutionProperties.

moveResourceId

public String moveResourceId()

Get the moveResourceId property: Gets the MoveResource ARM ID of the dependent resource if the resolution type is Automatic.

Returns:

the moveResourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withMoveResourceId

public AutomaticResolutionProperties withMoveResourceId(String moveResourceId)

Set the moveResourceId property: Gets the MoveResource ARM ID of the dependent resource if the resolution type is Automatic.

Parameters:

moveResourceId - the moveResourceId value to set.

Returns:

the AutomaticResolutionProperties object itself.

Applies to