@Generated(value="software.amazon.awssdk:codegen") public final class CreatePolicyStoreRequest extends VerifiedPermissionsRequest implements ToCopyableBuilder<CreatePolicyStoreRequest.Builder,CreatePolicyStoreRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreatePolicyStoreRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreatePolicyStoreRequest.Builder |
builder() |
String |
clientToken()
Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreatePolicyStoreRequest.Builder> |
serializableBuilderClass() |
CreatePolicyStoreRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ValidationSettings |
validationSettings()
Specifies the validation setting for this policy store.
|
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 ValidationSettings validationSettings()
Specifies the validation setting for this policy store.
Currently, the only valid and required value is Mode.
We recommend that you turn on STRICT mode only after you define a schema. If a schema doesn't exist,
then STRICT mode causes any policy to fail validation, and Verified Permissions rejects the policy.
You can turn off validation by using the UpdatePolicyStore. Then, when you have a schema defined, use UpdatePolicyStore again to turn validation back on.
Currently, the only valid and required value is Mode.
We recommend that you turn on STRICT mode only after you define a schema. If a schema
doesn't exist, then STRICT mode causes any policy to fail validation, and Verified
Permissions rejects the policy. You can turn off validation by using the UpdatePolicyStore. Then, when you have a schema defined, use UpdatePolicyStore again to turn validation back on.
public CreatePolicyStoreRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreatePolicyStoreRequest.Builder,CreatePolicyStoreRequest>toBuilder in class VerifiedPermissionsRequestpublic static CreatePolicyStoreRequest.Builder builder()
public static Class<? extends CreatePolicyStoreRequest.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.