@Generated(value="software.amazon.awssdk:codegen") public final class UpdatePolicyTemplateRequest extends VerifiedPermissionsRequest implements ToCopyableBuilder<UpdatePolicyTemplateRequest.Builder,UpdatePolicyTemplateRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdatePolicyTemplateRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdatePolicyTemplateRequest.Builder |
builder() |
String |
description()
Specifies a new description to apply to the policy template.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policyStoreId()
Specifies the ID of the policy store that contains the policy template that you want to update.
|
String |
policyTemplateId()
Specifies the ID of the policy template that you want to update.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdatePolicyTemplateRequest.Builder> |
serializableBuilderClass() |
String |
statement()
Specifies new statement content written in Cedar policy language to replace the current body of the policy
template.
|
UpdatePolicyTemplateRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String policyStoreId()
Specifies the ID of the policy store that contains the policy template that you want to update.
public final String policyTemplateId()
Specifies the ID of the policy template that you want to update.
public final String description()
Specifies a new description to apply to the policy template.
public final 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.
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdatePolicyTemplateRequest.Builder,UpdatePolicyTemplateRequest>toBuilder in class VerifiedPermissionsRequestpublic static UpdatePolicyTemplateRequest.Builder builder()
public static Class<? extends UpdatePolicyTemplateRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.