|
||||||||||
| 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.moladb.model.CreateInstanceRequest
public class CreateInstanceRequest
Represents the input of a CreateInstance operation.
| Constructor Summary | |
|---|---|
CreateInstanceRequest()
Constructs a new CreateInstanceRequest object. |
|
| Method Summary | |
|---|---|
String |
getDescription()
Get the description information for the instance when creating an instance. |
String |
getInstanceName()
Get the name of instance when creating an instance. |
void |
setDescription(String description)
Set the description information for the instance when creating an instance. |
void |
setInstanceName(String name)
Set the name of instance when creating an instance. |
String |
toString()
Return a string representation of request information. |
CreateInstanceRequest |
withDescription(String description)
Set the description information for the instance when creating an instance. |
CreateInstanceRequest |
withInstanceName(String name)
Set the name of instance when creating an instance. |
CreateInstanceRequest |
withRequestCredentials(BceCredentials credentials)
|
| Methods inherited from class com.baidubce.model.AbstractBceRequest |
|---|
getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CreateInstanceRequest()
| Method Detail |
|---|
public void setInstanceName(String name)
name - The name of instance when creating an instance.public CreateInstanceRequest withInstanceName(String name)
name - The name of instance when creating an instance.
public String getInstanceName()
public void setDescription(String description)
description - The description information for the instance when creating an instance.public CreateInstanceRequest withDescription(String description)
description - The description information for the instance when creating an instance.
public String getDescription()
public String toString()
toString in class Objectpublic CreateInstanceRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||