类 GetInstanceRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.moladb.model.GetInstanceRequest
-
public class GetInstanceRequest extends AbstractBceRequest
Represents the input of a GetInstance operation.
-
-
构造器概要
构造器 构造器 说明 GetInstanceRequest()Constructs a new GetInstanceRequest object.GetInstanceRequest(String instanceName)Constructs a new GetInstanceRequest object.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetInstanceName()Get the name of the instance to get from the account.voidsetInstanceName(String instanceName)Set the name of the instance to get from the account.GetInstanceRequestwithInstanceName(String instanceName)Set the name of the instance to get from the account.GetInstanceRequestwithRequestCredentials(BceCredentials credentials)-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
构造器详细资料
-
GetInstanceRequest
public GetInstanceRequest()
Constructs a new GetInstanceRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
-
GetInstanceRequest
public GetInstanceRequest(String instanceName)
Constructs a new GetInstanceRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- 参数:
instanceName- The name of the instance to get from the account.
-
-
方法详细资料
-
withInstanceName
public GetInstanceRequest withInstanceName(String instanceName)
Set the name of the instance to get from the account.- 参数:
instanceName- The name of the instance to get from the account.- 返回:
- Returns a reference to the object so that method calls can be chained together.
-
setInstanceName
public void setInstanceName(String instanceName)
Set the name of the instance to get from the account.- 参数:
instanceName- The name of the instance to get from the account.
-
getInstanceName
public String getInstanceName()
Get the name of the instance to get from the account.- 返回:
- The name of the instance to get from the account.
-
withRequestCredentials
public GetInstanceRequest withRequestCredentials(BceCredentials credentials)
- 指定者:
withRequestCredentials在类中AbstractBceRequest
-
-