public static final class DescribeChangeOrderResponseBody.Data.Builder extends Object
构造器和说明 |
---|
Builder() |
public DescribeChangeOrderResponseBody.Data.Builder appId(String appId)
public DescribeChangeOrderResponseBody.Data.Builder appName(String appName)
public DescribeChangeOrderResponseBody.Data.Builder approvalId(String approvalId)
public DescribeChangeOrderResponseBody.Data.Builder auto(Boolean auto)
* **true**: SAE automatically determines the release batches. * **false**: SAE does not automatically determine the release batches.
public DescribeChangeOrderResponseBody.Data.Builder batchCount(Integer batchCount)
public DescribeChangeOrderResponseBody.Data.Builder batchType(String batchType)
* **auto**: SAE automatically determines the release batches. * **Manual**: You must manually determine the release batches.
public DescribeChangeOrderResponseBody.Data.Builder batchWaitTime(Integer batchWaitTime)
public DescribeChangeOrderResponseBody.Data.Builder changeOrderId(String changeOrderId)
public DescribeChangeOrderResponseBody.Data.Builder coType(String coType)
public DescribeChangeOrderResponseBody.Data.Builder coTypeCode(String coTypeCode)
* **CoBindSlb**: associates the Server Load Balancer (SLB) instance with the application. * **CoUnbindSlb**: disassociates the SLB instance from the application. * **CoCreateApp**: creates the application. * **CoDeleteApp**: deletes the application. * **CoDeploy**: deploys the application. * **CoRestartApplication**: restarts the application. * **CoRollback**: rolls back the application. * **CoScaleIn**: scales in the application. * **CoScaleOut**: scales out the application. * **CoStart**: starts the application. * **CoStop**: stops the application. * **CoRescaleApplicationVertically**: modifies the instance specifications. * **CoDeployHistroy**: rolls back the application to a historical version. * **CoBindNas**: associates a network-attached storage (NAS) file system with the application. * **CoUnbindNas**: disassociates the NAS file system from the application. * **CoBatchStartApplication**: starts multiple applications concurrently. * **CoBatchStopApplication**: stops multiple applications concurrently. * **CoRestartInstances**: restarts the instances. * **CoDeleteInstances**: deletes the instances. * **CoScaleInAppWithInstances**: reduces the number of specified application instances.
public DescribeChangeOrderResponseBody.Data.Builder createTime(String createTime)
public DescribeChangeOrderResponseBody.Data.Builder currentPipelineId(String currentPipelineId)
public DescribeChangeOrderResponseBody.Data.Builder description(String description)
public DescribeChangeOrderResponseBody.Data.Builder errorMessage(String errorMessage)
public DescribeChangeOrderResponseBody.Data.Builder pipelines(List<DescribeChangeOrderResponseBody.Pipelines> pipelines)
public DescribeChangeOrderResponseBody.Data.Builder status(Integer status)
* **0**: The change order is being prepared. * **1**: The change order is being executed. * **2**: The change order was executed. * **3**: The change order could not be executed. * **6**: The change order was terminated. * **8**: The execution process is pending. You must manually determine the release batch. * **9**: The execution process is pending. SAE will automatically determine the release batches. * **10**: The execution failed due to a system exception. * **11**: The change order is pending approval. * **12**: The change order is approved and is pending execution.
public DescribeChangeOrderResponseBody.Data.Builder subStatus(Integer subStatus)
* **0**: No exception occurred. * **1**: An exception occurred. For example, when an error occurred during a phased release, you must manually roll back the application. In this case, the change order cannot be completed, so the Status parameter is still displayed as "1", which indicates that the change order is being executed. You can check the value of this parameter to determine whether an exception occurs.
public DescribeChangeOrderResponseBody.Data.Builder supportRollback(Boolean supportRollback)
* **true**: The application can be rolled back. * **false**: The application cannot be rolled back.
public DescribeChangeOrderResponseBody.Data build()
Copyright © 2024. All rights reserved.