public class ActivateAutomationAgentRequest extends ApiServiceRequest
| Constructor and Description |
|---|
ActivateAutomationAgentRequest() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getActive() |
java.lang.Long |
getAgentServerId() |
java.lang.Long |
getHostServerId() |
java.lang.Long |
getProjectId() |
void |
setActive(java.lang.Boolean active)
Sets the active flag.
|
void |
setAgentServerId(java.lang.Long agentServerId)
Sets the agent server identifier.
|
void |
setHostServerId(java.lang.Long hostServerId)
Sets the host server identifier.
|
void |
setProjectId(java.lang.Long projectId)
Sets project identifier.
|
java.lang.String |
toString() |
ActivateAutomationAgentRequest |
withActive(java.lang.Boolean active)
Sets the active flag.
|
ActivateAutomationAgentRequest |
withAgentServerId(java.lang.Long agentServerId)
Sets the agent server identifier.
|
ActivateAutomationAgentRequest |
withHostServerId(java.lang.Long hostServerId)
Sets the host server identifier.
|
ActivateAutomationAgentRequest |
withProjectId(java.lang.Long projectId)
Sets project identifier.
|
copyPrivateRequestParameters, getCredentials, getRequestClientOptions, setCredentials, withCredentialspublic java.lang.Long getProjectId()
public void setProjectId(java.lang.Long projectId)
projectId - the given project identifier.public ActivateAutomationAgentRequest withProjectId(java.lang.Long projectId)
projectId - the given project identifier.public java.lang.Long getAgentServerId()
public void setAgentServerId(java.lang.Long agentServerId)
agentServerId - the given agent server identifier.public ActivateAutomationAgentRequest withAgentServerId(java.lang.Long agentServerId)
agentServerId - the given agent server identifier.public java.lang.Long getHostServerId()
public void setHostServerId(java.lang.Long hostServerId)
hostServerId - the given host server identifier.public ActivateAutomationAgentRequest withHostServerId(java.lang.Long hostServerId)
hostServerId - the given host server identifier.public java.lang.Boolean getActive()
true is active, false is inactive.public void setActive(java.lang.Boolean active)
true: is active. false: is inactive.
active - the given active flag to set.public ActivateAutomationAgentRequest withActive(java.lang.Boolean active)
true: is active. false: is inactive.
active - the given active flag to set.public java.lang.String toString()
toString in class ApiServiceRequest