MoveResourceProperties Class

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

public final class MoveResourceProperties

Defines the move resource properties.

Constructor Summary

Constructor Description
MoveResourceProperties()

Creates an instance of MoveResourceProperties class.

Method Summary

Modifier and Type Method and Description
List<MoveResourceDependency> dependsOn()

Get the dependsOn property: Gets or sets the move resource dependencies.

List<MoveResourceDependencyOverride> dependsOnOverrides()

Get the dependsOnOverrides property: Gets or sets the move resource dependencies overrides.

MoveResourcePropertiesErrors errors()

Get the errors property: Defines the move resource errors.

String existingTargetId()

Get the existingTargetId property: Gets or sets the existing target ARM Id of the resource.

Boolean isResolveRequired()

Get the isResolveRequired property: Gets a value indicating whether the resolve action is required over the move collection.

MoveResourcePropertiesMoveStatus moveStatus()

Get the moveStatus property: Defines the move resource status.

ProvisioningState provisioningState()

Get the provisioningState property: Defines the provisioning states.

ResourceSettings resourceSettings()

Get the resourceSettings property: Gets or sets the resource settings.

String sourceId()

Get the sourceId property: Gets or sets the Source ARM Id of the resource.

ResourceSettings sourceResourceSettings()

Get the sourceResourceSettings property: Gets or sets the source resource settings.

String targetId()

Get the targetId property: Gets or sets the Target ARM Id of the resource.

void validate()

Validates the instance.

MoveResourceProperties withDependsOnOverrides(List<MoveResourceDependencyOverride> dependsOnOverrides)

Set the dependsOnOverrides property: Gets or sets the move resource dependencies overrides.

MoveResourceProperties withExistingTargetId(String existingTargetId)

Set the existingTargetId property: Gets or sets the existing target ARM Id of the resource.

MoveResourceProperties withResourceSettings(ResourceSettings resourceSettings)

Set the resourceSettings property: Gets or sets the resource settings.

MoveResourceProperties withSourceId(String sourceId)

Set the sourceId property: Gets or sets the Source ARM Id of the resource.

Methods inherited from java.lang.Object

Constructor Details

MoveResourceProperties

public MoveResourceProperties()

Creates an instance of MoveResourceProperties class.

Method Details

dependsOn

public List dependsOn()

Get the dependsOn property: Gets or sets the move resource dependencies.

Returns:

the dependsOn value.

dependsOnOverrides

public List dependsOnOverrides()

Get the dependsOnOverrides property: Gets or sets the move resource dependencies overrides.

Returns:

the dependsOnOverrides value.

errors

public MoveResourcePropertiesErrors errors()

Get the errors property: Defines the move resource errors.

Returns:

the errors value.

existingTargetId

public String existingTargetId()

Get the existingTargetId property: Gets or sets the existing target ARM Id of the resource.

Returns:

the existingTargetId value.

isResolveRequired

public Boolean isResolveRequired()

Get the isResolveRequired property: Gets a value indicating whether the resolve action is required over the move collection.

Returns:

the isResolveRequired value.

moveStatus

public MoveResourcePropertiesMoveStatus moveStatus()

Get the moveStatus property: Defines the move resource status.

Returns:

the moveStatus value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Defines the provisioning states.

Returns:

the provisioningState value.

resourceSettings

public ResourceSettings resourceSettings()

Get the resourceSettings property: Gets or sets the resource settings.

Returns:

the resourceSettings value.

sourceId

public String sourceId()

Get the sourceId property: Gets or sets the Source ARM Id of the resource.

Returns:

the sourceId value.

sourceResourceSettings

public ResourceSettings sourceResourceSettings()

Get the sourceResourceSettings property: Gets or sets the source resource settings.

Returns:

the sourceResourceSettings value.

targetId

public String targetId()

Get the targetId property: Gets or sets the Target ARM Id of the resource.

Returns:

the targetId value.

validate

public void validate()

Validates the instance.

withDependsOnOverrides

public MoveResourceProperties withDependsOnOverrides(List dependsOnOverrides)

Set the dependsOnOverrides property: Gets or sets the move resource dependencies overrides.

Parameters:

dependsOnOverrides - the dependsOnOverrides value to set.

Returns:

the MoveResourceProperties object itself.

withExistingTargetId

public MoveResourceProperties withExistingTargetId(String existingTargetId)

Set the existingTargetId property: Gets or sets the existing target ARM Id of the resource.

Parameters:

existingTargetId - the existingTargetId value to set.

Returns:

the MoveResourceProperties object itself.

withResourceSettings

public MoveResourceProperties withResourceSettings(ResourceSettings resourceSettings)

Set the resourceSettings property: Gets or sets the resource settings.

Parameters:

resourceSettings - the resourceSettings value to set.

Returns:

the MoveResourceProperties object itself.

withSourceId

public MoveResourceProperties withSourceId(String sourceId)

Set the sourceId property: Gets or sets the Source ARM Id of the resource.

Parameters:

sourceId - the sourceId value to set.

Returns:

the MoveResourceProperties object itself.

Applies to