public class SetServerReservedRequest extends AbstractModel
Constructor and Description |
---|
SetServerReservedRequest() |
SetServerReservedRequest(SetServerReservedRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getFleetId()
Get ID of the fleet to be bound with the policy
|
String |
getInstanceId()
Get Instance ID
|
Long |
getReserveValue()
Get Whether the instance is retained.
|
void |
setFleetId(String FleetId)
Set ID of the fleet to be bound with the policy
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setReserveValue(Long ReserveValue)
Set Whether the instance is retained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SetServerReservedRequest()
public SetServerReservedRequest(SetServerReservedRequest source)
public String getFleetId()
public void setFleetId(String FleetId)
FleetId
- ID of the fleet to be bound with the policypublic String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic Long getReserveValue()
public void setReserveValue(Long ReserveValue)
ReserveValue
- Whether the instance is retained. Valid values: 1 (retained), 0 (not retained). Default value: 0.Copyright © 2022. All rights reserved.