public class GetPolicyResponse extends AbstractModel
| Constructor and Description |
|---|
GetPolicyResponse() |
GetPolicyResponse(GetPolicyResponse 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 |
getAddTime()
Get Time created
Note: This field may return null, indicating that no valid value was found.
|
String |
getDescription()
Get Policy description
Note: This field may return null, indicating that no valid value was found.
|
Long |
getIsServiceLinkedRolePolicy()
Get Whether it is a service-linked policy
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getPolicyDocument()
Get Policy document
Note: This field may return null, indicating that no valid value was found.
|
String |
getPolicyName()
Get Policy name
Note: This field may return null, indicating that no valid value was found.
|
String |
getPresetAlias()
Get Remarks
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
Long |
getType()
Get 1: Custom policy; 2: Preset policy
Note: This field may return null, indicating that no valid value was found.
|
String |
getUpdateTime()
Get Time of latest update
Note: This field may return null, indicating that no valid value was found.
|
void |
setAddTime(String AddTime)
Set Time created
Note: This field may return null, indicating that no valid value was found.
|
void |
setDescription(String Description)
Set Policy description
Note: This field may return null, indicating that no valid value was found.
|
void |
setIsServiceLinkedRolePolicy(Long IsServiceLinkedRolePolicy)
Set Whether it is a service-linked policy
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setPolicyDocument(String PolicyDocument)
Set Policy document
Note: This field may return null, indicating that no valid value was found.
|
void |
setPolicyName(String PolicyName)
Set Policy name
Note: This field may return null, indicating that no valid value was found.
|
void |
setPresetAlias(String PresetAlias)
Set Remarks
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setType(Long Type)
Set 1: Custom policy; 2: Preset policy
Note: This field may return null, indicating that no valid value was found.
|
void |
setUpdateTime(String UpdateTime)
Set Time of latest update
Note: This field may return null, indicating that no valid value was found.
|
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, toJsonStringpublic GetPolicyResponse()
public GetPolicyResponse(GetPolicyResponse source)
public String getPolicyName()
public void setPolicyName(String PolicyName)
PolicyName - Policy name
Note: This field may return null, indicating that no valid value was found.public String getDescription()
public void setDescription(String Description)
Description - Policy description
Note: This field may return null, indicating that no valid value was found.public Long getType()
public void setType(Long Type)
Type - 1: Custom policy; 2: Preset policy
Note: This field may return null, indicating that no valid value was found.public String getAddTime()
public void setAddTime(String AddTime)
AddTime - Time created
Note: This field may return null, indicating that no valid value was found.public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime - Time of latest update
Note: This field may return null, indicating that no valid value was found.public String getPolicyDocument()
public void setPolicyDocument(String PolicyDocument)
PolicyDocument - Policy document
Note: This field may return null, indicating that no valid value was found.public String getPresetAlias()
public void setPresetAlias(String PresetAlias)
PresetAlias - Remarks
Note: this field may return null, indicating that no valid values can be obtained.public Long getIsServiceLinkedRolePolicy()
public void setIsServiceLinkedRolePolicy(Long IsServiceLinkedRolePolicy)
IsServiceLinkedRolePolicy - Whether it is a service-linked policy
Note: this field may return null, indicating that no valid values can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId - The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2022. All rights reserved.