public class BindingPolicyObjectRequest extends AbstractModel
Constructor and Description |
---|
BindingPolicyObjectRequest() |
BindingPolicyObjectRequest(BindingPolicyObjectRequest 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 |
---|---|
BindingPolicyObjectDimension[] |
getDimensions()
Get Dimensions of an object to be bound.
|
Long |
getEbEventFlag()
Get Whether the event alert has been configured
|
String |
getEbSubject()
Get The alert configured for an event
|
Long |
getGroupId()
Get Policy group ID, such as `4739573`.
|
Long |
getInstanceGroupId()
Get Instance group ID.
|
String |
getModule()
Get Required.
|
String |
getPolicyId()
Get Alarm policy ID, such as `policy-gh892hg0`.
|
void |
setDimensions(BindingPolicyObjectDimension[] Dimensions)
Set Dimensions of an object to be bound.
|
void |
setEbEventFlag(Long EbEventFlag)
Set Whether the event alert has been configured
|
void |
setEbSubject(String EbSubject)
Set The alert configured for an event
|
void |
setGroupId(Long GroupId)
Set Policy group ID, such as `4739573`.
|
void |
setInstanceGroupId(Long InstanceGroupId)
Set Instance group ID.
|
void |
setModule(String Module)
Set Required.
|
void |
setPolicyId(String PolicyId)
Set Alarm policy ID, such as `policy-gh892hg0`.
|
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 BindingPolicyObjectRequest()
public BindingPolicyObjectRequest(BindingPolicyObjectRequest source)
public String getModule()
public void setModule(String Module)
Module
- Required. The value is fixed to monitor.public Long getGroupId()
public void setGroupId(Long GroupId)
GroupId
- Policy group ID, such as `4739573`. This parameter will be disused soon. Another parameter `PolicyId` is recommended.public String getPolicyId()
public void setPolicyId(String PolicyId)
PolicyId
- Alarm policy ID, such as `policy-gh892hg0`. At least one of the two parameters, `PolicyId` and `GroupId`, must be specified; otherwise, an error will be reported. `PolicyId` is preferred over `GroupId` when both of them are specified.public Long getInstanceGroupId()
public void setInstanceGroupId(Long InstanceGroupId)
InstanceGroupId
- Instance group ID.public BindingPolicyObjectDimension[] getDimensions()
public void setDimensions(BindingPolicyObjectDimension[] Dimensions)
Dimensions
- Dimensions of an object to be bound.public String getEbSubject()
public void setEbSubject(String EbSubject)
EbSubject
- The alert configured for an eventpublic Long getEbEventFlag()
public void setEbEventFlag(Long EbEventFlag)
EbEventFlag
- Whether the event alert has been configuredCopyright © 2023. All rights reserved.