RetargetScheduleProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. models. RetargetScheduleProperties
- com.
public final class RetargetScheduleProperties
Properties for retargeting a virtual machine schedule.
Constructor Summary
Constructor | Description |
---|---|
RetargetScheduleProperties() |
Creates an instance of Retarget |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
currentResourceId()
Get the current |
String |
targetResourceId()
Get the target |
void |
validate()
Validates the instance. |
Retarget |
withCurrentResourceId(String currentResourceId)
Set the current |
Retarget |
withTargetResourceId(String targetResourceId)
Set the target |
Methods inherited from java.lang.Object
Constructor Details
RetargetScheduleProperties
public RetargetScheduleProperties()
Creates an instance of RetargetScheduleProperties class.
Method Details
currentResourceId
public String currentResourceId()
Get the currentResourceId property: The resource Id of the virtual machine on which the schedule operates.
Returns:
targetResourceId
public String targetResourceId()
Get the targetResourceId property: The resource Id of the virtual machine that the schedule should be retargeted to.
Returns:
validate
public void validate()
Validates the instance.
withCurrentResourceId
public RetargetScheduleProperties withCurrentResourceId(String currentResourceId)
Set the currentResourceId property: The resource Id of the virtual machine on which the schedule operates.
Parameters:
Returns:
withTargetResourceId
public RetargetScheduleProperties withTargetResourceId(String targetResourceId)
Set the targetResourceId property: The resource Id of the virtual machine that the schedule should be retargeted to.
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