public class CreatePolicyVersionRequest extends AbstractModel
| Constructor and Description |
|---|
CreatePolicyVersionRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPolicyDocument()
Get The policy document to use as the content for the new version
|
Long |
getPolicyId()
Get Policy ID
|
Boolean |
getSetAsDefault()
Get Specifies whether to set this version as the default version
|
void |
setPolicyDocument(String PolicyDocument)
Set The policy document to use as the content for the new version
|
void |
setPolicyId(Long PolicyId)
Set Policy ID
|
void |
setSetAsDefault(Boolean SetAsDefault)
Set Specifies whether to set this version as the default version
|
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 Long getPolicyId()
public void setPolicyId(Long PolicyId)
PolicyId - Policy IDpublic String getPolicyDocument()
public void setPolicyDocument(String PolicyDocument)
PolicyDocument - The policy document to use as the content for the new versionpublic Boolean getSetAsDefault()
public void setSetAsDefault(Boolean SetAsDefault)
SetAsDefault - Specifies whether to set this version as the default versionCopyright © 2020. All rights reserved.