public class CreatePolicyVersionRequest extends AbstractModel
Constructor and Description |
---|
CreatePolicyVersionRequest() |
CreatePolicyVersionRequest(CreatePolicyVersionRequest 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 |
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, toJsonString
public CreatePolicyVersionRequest()
public CreatePolicyVersionRequest(CreatePolicyVersionRequest source)
public 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 © 2021. All rights reserved.