CsmMoveResourceEnvelope Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.CsmMoveResourceEnvelope

public final class CsmMoveResourceEnvelope

Object with a list of the resources that need to be moved and the resource group they should be moved to.

Constructor Summary

Constructor Description
CsmMoveResourceEnvelope()

Creates an instance of CsmMoveResourceEnvelope class.

Method Summary

Modifier and Type Method and Description
List<String> resources()

Get the resources property: The resources property.

String targetResourceGroup()

Get the targetResourceGroup property: The targetResourceGroup property.

void validate()

Validates the instance.

CsmMoveResourceEnvelope withResources(List<String> resources)

Set the resources property: The resources property.

CsmMoveResourceEnvelope withTargetResourceGroup(String targetResourceGroup)

Set the targetResourceGroup property: The targetResourceGroup property.

Methods inherited from java.lang.Object

Constructor Details

CsmMoveResourceEnvelope

public CsmMoveResourceEnvelope()

Creates an instance of CsmMoveResourceEnvelope class.

Method Details

resources

public List resources()

Get the resources property: The resources property.

Returns:

the resources value.

targetResourceGroup

public String targetResourceGroup()

Get the targetResourceGroup property: The targetResourceGroup property.

Returns:

the targetResourceGroup value.

validate

public void validate()

Validates the instance.

withResources

public CsmMoveResourceEnvelope withResources(List resources)

Set the resources property: The resources property.

Parameters:

resources - the resources value to set.

Returns:

the CsmMoveResourceEnvelope object itself.

withTargetResourceGroup

public CsmMoveResourceEnvelope withTargetResourceGroup(String targetResourceGroup)

Set the targetResourceGroup property: The targetResourceGroup property.

Parameters:

targetResourceGroup - the targetResourceGroup value to set.

Returns:

the CsmMoveResourceEnvelope object itself.

Applies to