public class AddStepsRequest extends AbstractBceRequest
The essential option is the ID of cluster, and the List of steps can be constructed by calling the methods of StepConfig.
| Constructor and Description |
|---|
AddStepsRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientToken() |
String |
getClusterId() |
List<StepConfig> |
getSteps() |
void |
setClientToken(String clientToken) |
void |
setClusterId(String clusterId) |
void |
setSteps(List<StepConfig> steps) |
AddStepsRequest |
withClientToken(String clientToken)
Configure optional client token for the request.
|
AddStepsRequest |
withClusterId(String clusterId)
Configure the ID of the cluster.
|
AddStepsRequest |
withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.
|
AddStepsRequest |
withStep(StepConfig step)
Configure the step to be added.
|
AddStepsRequest |
withSteps(List<StepConfig> steps)
Configure the steps to be added.
|
getRequestCredentials, setRequestCredentialspublic String getClusterId()
public void setClusterId(String clusterId)
public String getClientToken()
public void setClientToken(String clientToken)
public List<StepConfig> getSteps()
public void setSteps(List<StepConfig> steps)
public AddStepsRequest withClusterId(String clusterId)
clusterId - The ID of the cluster.public AddStepsRequest withStep(StepConfig step)
step - a StepConfig object to be added.public AddStepsRequest withSteps(List<StepConfig> steps)
steps - a List of StepConfig instances to be added.public AddStepsRequest withClientToken(String clientToken)
clientToken - An ASCII string whose length is less than 64.public AddStepsRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.Copyright © 2024. All rights reserved.