@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePolicyTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdatePolicyTemplateRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdatePolicyTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
Specifies a new description to apply to the policy template.
|
String |
getPolicyStoreId()
Specifies the ID of the policy store that contains the policy template that you want to update.
|
String |
getPolicyTemplateId()
Specifies the ID of the policy template that you want to update.
|
String |
getStatement()
Specifies new statement content written in Cedar policy language to replace the current body of the policy
template.
|
int |
hashCode() |
void |
setDescription(String description)
Specifies a new description to apply to the policy template.
|
void |
setPolicyStoreId(String policyStoreId)
Specifies the ID of the policy store that contains the policy template that you want to update.
|
void |
setPolicyTemplateId(String policyTemplateId)
Specifies the ID of the policy template that you want to update.
|
void |
setStatement(String statement)
Specifies new statement content written in Cedar policy language to replace the current body of the policy
template.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePolicyTemplateRequest |
withDescription(String description)
Specifies a new description to apply to the policy template.
|
UpdatePolicyTemplateRequest |
withPolicyStoreId(String policyStoreId)
Specifies the ID of the policy store that contains the policy template that you want to update.
|
UpdatePolicyTemplateRequest |
withPolicyTemplateId(String policyTemplateId)
Specifies the ID of the policy template that you want to update.
|
UpdatePolicyTemplateRequest |
withStatement(String statement)
Specifies new statement content written in Cedar policy language to replace the current body of the policy
template.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setPolicyStoreId(String policyStoreId)
Specifies the ID of the policy store that contains the policy template that you want to update.
policyStoreId - Specifies the ID of the policy store that contains the policy template that you want to update.public String getPolicyStoreId()
Specifies the ID of the policy store that contains the policy template that you want to update.
public UpdatePolicyTemplateRequest withPolicyStoreId(String policyStoreId)
Specifies the ID of the policy store that contains the policy template that you want to update.
policyStoreId - Specifies the ID of the policy store that contains the policy template that you want to update.public void setPolicyTemplateId(String policyTemplateId)
Specifies the ID of the policy template that you want to update.
policyTemplateId - Specifies the ID of the policy template that you want to update.public String getPolicyTemplateId()
Specifies the ID of the policy template that you want to update.
public UpdatePolicyTemplateRequest withPolicyTemplateId(String policyTemplateId)
Specifies the ID of the policy template that you want to update.
policyTemplateId - Specifies the ID of the policy template that you want to update.public void setDescription(String description)
Specifies a new description to apply to the policy template.
description - Specifies a new description to apply to the policy template.public String getDescription()
Specifies a new description to apply to the policy template.
public UpdatePolicyTemplateRequest withDescription(String description)
Specifies a new description to apply to the policy template.
description - Specifies a new description to apply to the policy template.public void setStatement(String statement)
Specifies new statement content written in Cedar policy language to replace the current body of the policy template.
You can change only the following elements of the policy body:
The action referenced by the policy template.
Any conditional clauses, such as when or unless clauses.
You can't change the following elements:
The effect (permit or forbid) of the policy template.
The principal referenced by the policy template.
The resource referenced by the policy template.
statement - Specifies new statement content written in Cedar policy language to replace the current body of the policy
template.
You can change only the following elements of the policy body:
The action referenced by the policy template.
Any conditional clauses, such as when or unless clauses.
You can't change the following elements:
The effect (permit or forbid) of the policy template.
The principal referenced by the policy template.
The resource referenced by the policy template.
public String getStatement()
Specifies new statement content written in Cedar policy language to replace the current body of the policy template.
You can change only the following elements of the policy body:
The action referenced by the policy template.
Any conditional clauses, such as when or unless clauses.
You can't change the following elements:
The effect (permit or forbid) of the policy template.
The principal referenced by the policy template.
The resource referenced by the policy template.
You can change only the following elements of the policy body:
The action referenced by the policy template.
Any conditional clauses, such as when or unless clauses.
You can't change the following elements:
The effect (permit or forbid) of the policy template.
The principal referenced by the policy template.
The resource referenced by the policy template.
public UpdatePolicyTemplateRequest withStatement(String statement)
Specifies new statement content written in Cedar policy language to replace the current body of the policy template.
You can change only the following elements of the policy body:
The action referenced by the policy template.
Any conditional clauses, such as when or unless clauses.
You can't change the following elements:
The effect (permit or forbid) of the policy template.
The principal referenced by the policy template.
The resource referenced by the policy template.
statement - Specifies new statement content written in Cedar policy language to replace the current body of the policy
template.
You can change only the following elements of the policy body:
The action referenced by the policy template.
Any conditional clauses, such as when or unless clauses.
You can't change the following elements:
The effect (permit or forbid) of the policy template.
The principal referenced by the policy template.
The resource referenced by the policy template.
public String toString()
toString in class ObjectObject.toString()public UpdatePolicyTemplateRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()