Class OrchestrationServiceStateInput
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.OrchestrationServiceStateInput
-
public final class OrchestrationServiceStateInput extends Object
The input for OrchestrationServiceState.
-
-
Constructor Summary
Constructors Constructor Description OrchestrationServiceStateInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrchestrationServiceStateActionaction()Get the action property: The action to be performed.OrchestrationServiceNamesserviceName()Get the serviceName property: The name of the service.voidvalidate()Validates the instance.OrchestrationServiceStateInputwithAction(OrchestrationServiceStateAction action)Set the action property: The action to be performed.OrchestrationServiceStateInputwithServiceName(OrchestrationServiceNames serviceName)Set the serviceName property: The name of the service.
-
-
-
Method Detail
-
serviceName
public OrchestrationServiceNames serviceName()
Get the serviceName property: The name of the service.- Returns:
- the serviceName value.
-
withServiceName
public OrchestrationServiceStateInput withServiceName(OrchestrationServiceNames serviceName)
Set the serviceName property: The name of the service.- Parameters:
serviceName- the serviceName value to set.- Returns:
- the OrchestrationServiceStateInput object itself.
-
action
public OrchestrationServiceStateAction action()
Get the action property: The action to be performed.- Returns:
- the action value.
-
withAction
public OrchestrationServiceStateInput withAction(OrchestrationServiceStateAction action)
Set the action property: The action to be performed.- Parameters:
action- the action value to set.- Returns:
- the OrchestrationServiceStateInput object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-