|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.model.AbstractBceRequest
com.baidubce.services.bmr.model.AddStepsRequest
public class AddStepsRequest
Provide options for adding steps to the target cluster. The essential option is the ID of cluster, and the List of steps can be constructed by calling the methods of StepConfig.
Constructor Summary | |
---|---|
AddStepsRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.baidubce.model.AbstractBceRequest |
---|
getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddStepsRequest()
Method Detail |
---|
public 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 AbstractBceRequest
credentials
- a valid instance of BceCredentials.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |