com.baidubce.services.bcc.model.instance
Class ModifyInstanceDescRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.bcc.model.instance.ModifyInstanceDescRequest
public class ModifyInstanceDescRequest
- extends AbstractBceRequest
The request for modifying the desc of the instance.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModifyInstanceDescRequest
public ModifyInstanceDescRequest()
getInstanceId
public String getInstanceId()
setInstanceId
public void setInstanceId(String instanceId)
getDesc
public String getDesc()
setDesc
public void setDesc(String desc)
withInstanceId
public ModifyInstanceDescRequest withInstanceId(String instanceId)
- Configure instanceId for the request.
- Parameters:
instanceId - The id of the instance.
- Returns:
- ModifyInstanceDescRequest with specified instanceId.
withDesc
public ModifyInstanceDescRequest withDesc(String desc)
- Configure desc for the request.
- Parameters:
desc - The new value for instance's desc.
- Returns:
- ModifyInstanceAttributesRequest with desc.
withRequestCredentials
public ModifyInstanceDescRequest withRequestCredentials(BceCredentials credentials)
- Configure request credential for the request.
- Specified by:
withRequestCredentials in class AbstractBceRequest
- Parameters:
credentials - a valid instance of BceCredentials.
- Returns:
- ModifyInstanceAttributesRequest with credentials.
Copyright © 2020. All rights reserved.