public class PrometheusTemplateSyncTarget extends AbstractModel
Constructor and Description |
---|
PrometheusTemplateSyncTarget() |
PrometheusTemplateSyncTarget(PrometheusTemplateSyncTarget 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 |
getClusterId()
Get Cluster ID, which is required only if the `Level` of the collection template is `cluster`.
|
String |
getClusterName()
Get Cluster name, which is used as an output parameter.
|
String |
getClusterType()
Get Cluster type, which is required only if the `Level` of the collection template is `cluster`.
|
String |
getInstanceId()
Get Target instance
|
String |
getInstanceName()
Get Instance name, which is used as an output parameter.
|
String |
getRegion()
Get Target region
|
String |
getSyncTime()
Get Last sync time, which is used as an output parameter.
|
String |
getVersion()
Get The currently used template version, which is used as an output parameter.
|
void |
setClusterId(String ClusterId)
Set Cluster ID, which is required only if the `Level` of the collection template is `cluster`.
|
void |
setClusterName(String ClusterName)
Set Cluster name, which is used as an output parameter.
|
void |
setClusterType(String ClusterType)
Set Cluster type, which is required only if the `Level` of the collection template is `cluster`.
|
void |
setInstanceId(String InstanceId)
Set Target instance
|
void |
setInstanceName(String InstanceName)
Set Instance name, which is used as an output parameter.
|
void |
setRegion(String Region)
Set Target region
|
void |
setSyncTime(String SyncTime)
Set Last sync time, which is used as an output parameter.
|
void |
setVersion(String Version)
Set The currently used template version, which is used as an output parameter.
|
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 PrometheusTemplateSyncTarget()
public PrometheusTemplateSyncTarget(PrometheusTemplateSyncTarget source)
public String getRegion()
public void setRegion(String Region)
Region
- Target regionpublic String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Target instancepublic String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Cluster ID, which is required only if the `Level` of the collection template is `cluster`.
Note: This field may return null, indicating that no valid values can be obtained.public String getSyncTime()
public void setSyncTime(String SyncTime)
SyncTime
- Last sync time, which is used as an output parameter.
Note: This field may return null, indicating that no valid values can be obtained.public String getVersion()
public void setVersion(String Version)
Version
- The currently used template version, which is used as an output parameter.
Note: This field may return null, indicating that no valid values can be obtained.public String getClusterType()
public void setClusterType(String ClusterType)
ClusterType
- Cluster type, which is required only if the `Level` of the collection template is `cluster`.
Note: This field may return null, indicating that no valid values can be obtained.public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance name, which is used as an output parameter.
Note: This field may return null, indicating that no valid values can be obtained.public String getClusterName()
public void setClusterName(String ClusterName)
ClusterName
- Cluster name, which is used as an output parameter.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.