Class OrchestrationServiceStateInput
java.lang.Object
com.azure.resourcemanager.compute.models.OrchestrationServiceStateInput
The input for OrchestrationServiceState.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaction()Get the action property: The action to be performed.Get the serviceName property: The name of the service.voidvalidate()Validates the instance.Set the action property: The action to be performed.withServiceName(OrchestrationServiceNames serviceName) Set the serviceName property: The name of the service.
-
Constructor Details
-
OrchestrationServiceStateInput
public OrchestrationServiceStateInput()
-
-
Method Details
-
serviceName
Get the serviceName property: The name of the service.- Returns:
- the serviceName value.
-
withServiceName
Set the serviceName property: The name of the service.- Parameters:
serviceName- the serviceName value to set.- Returns:
- the OrchestrationServiceStateInput object itself.
-
action
Get the action property: The action to be performed.- Returns:
- the action value.
-
withAction
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.
-