@Generated(value="software.amazon.awssdk:codegen") public final class CreatePolicyTemplateRequest extends VerifiedPermissionsRequest implements ToCopyableBuilder<CreatePolicyTemplateRequest.Builder,CreatePolicyTemplateRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreatePolicyTemplateRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreatePolicyTemplateRequest.Builder |
builder() |
String |
clientToken()
Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request.
|
String |
description()
Specifies a description for the policy template.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policyStoreId()
The ID of the policy store in which to create the policy template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreatePolicyTemplateRequest.Builder> |
serializableBuilderClass() |
String |
statement()
Specifies the content that you want to use for the new policy template, written in the Cedar policy language.
|
CreatePolicyTemplateRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String clientToken()
Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails
with an IdempotentParameterMismatch error.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the
retry fails with an IdempotentParameterMismatch error.
public final String policyStoreId()
The ID of the policy store in which to create the policy template.
public final String description()
Specifies a description for the policy template.
public final String statement()
Specifies the content that you want to use for the new policy template, written in the Cedar policy language.
public CreatePolicyTemplateRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreatePolicyTemplateRequest.Builder,CreatePolicyTemplateRequest>toBuilder in class VerifiedPermissionsRequestpublic static CreatePolicyTemplateRequest.Builder builder()
public static Class<? extends CreatePolicyTemplateRequest.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.