public class AssignPrivateIpAddressesRequest extends AbstractModel
Constructor and Description |
---|
AssignPrivateIpAddressesRequest() |
AssignPrivateIpAddressesRequest(AssignPrivateIpAddressesRequest 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 |
getNetworkInterfaceId()
Get The ID of the ENI instance, such as `eni-m6dyj72l`.
|
PrivateIpAddressSpecification[] |
getPrivateIpAddresses()
Get The information on private IP addresses, of which you can specify a maximum of 10 at a time.
|
String |
getQosLevel()
Get IP service level.
|
Long |
getSecondaryPrivateIpAddressCount()
Get The number of newly-applied private IP addresses.
|
void |
setNetworkInterfaceId(String NetworkInterfaceId)
Set The ID of the ENI instance, such as `eni-m6dyj72l`.
|
void |
setPrivateIpAddresses(PrivateIpAddressSpecification[] PrivateIpAddresses)
Set The information on private IP addresses, of which you can specify a maximum of 10 at a time.
|
void |
setQosLevel(String QosLevel)
Set IP service level.
|
void |
setSecondaryPrivateIpAddressCount(Long SecondaryPrivateIpAddressCount)
Set The number of newly-applied private IP addresses.
|
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 AssignPrivateIpAddressesRequest()
public AssignPrivateIpAddressesRequest(AssignPrivateIpAddressesRequest source)
public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String NetworkInterfaceId)
NetworkInterfaceId
- The ID of the ENI instance, such as `eni-m6dyj72l`.public PrivateIpAddressSpecification[] getPrivateIpAddresses()
public void setPrivateIpAddresses(PrivateIpAddressSpecification[] PrivateIpAddresses)
PrivateIpAddresses
- The information on private IP addresses, of which you can specify a maximum of 10 at a time. You should provide either this parameter or SecondaryPrivateIpAddressCount, or both.public Long getSecondaryPrivateIpAddressCount()
public void setSecondaryPrivateIpAddressCount(Long SecondaryPrivateIpAddressCount)
SecondaryPrivateIpAddressCount
- The number of newly-applied private IP addresses. You should provide either this parameter or PrivateIpAddresses, or both. The total number of private IP addresses cannot exceed the quota. For more information, seeENI Use Limits.public String getQosLevel()
public void setQosLevel(String QosLevel)
QosLevel
- IP service level. It’s used in combination with `SecondaryPrivateIpAddressCount`. Values: `PT` (Gold), `AU` (Silver), `AG` (Bronze) and `DEFAULT`Copyright © 2023. All rights reserved.