public static interface PutSchemaRequest.Builder extends VerifiedPermissionsRequest.Builder, SdkPojo, CopyableBuilder<PutSchemaRequest.Builder,PutSchemaRequest>
| Modifier and Type | Method and Description |
|---|---|
default PutSchemaRequest.Builder |
definition(Consumer<SchemaDefinition.Builder> definition)
Specifies the definition of the schema to be stored.
|
PutSchemaRequest.Builder |
definition(SchemaDefinition definition)
Specifies the definition of the schema to be stored.
|
PutSchemaRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutSchemaRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutSchemaRequest.Builder |
policyStoreId(String policyStoreId)
Specifies the ID of the policy store in which to place the schema.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutSchemaRequest.Builder policyStoreId(String policyStoreId)
Specifies the ID of the policy store in which to place the schema.
policyStoreId - Specifies the ID of the policy store in which to place the schema.PutSchemaRequest.Builder definition(SchemaDefinition definition)
Specifies the definition of the schema to be stored. The schema definition must be written in Cedar schema JSON.
definition - Specifies the definition of the schema to be stored. The schema definition must be written in Cedar
schema JSON.default PutSchemaRequest.Builder definition(Consumer<SchemaDefinition.Builder> definition)
Specifies the definition of the schema to be stored. The schema definition must be written in Cedar schema JSON.
This is a convenience method that creates an instance of theSchemaDefinition.Builder avoiding the
need to create one manually via SchemaDefinition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to definition(SchemaDefinition).
definition - a consumer that will call methods on SchemaDefinition.Builderdefinition(SchemaDefinition)PutSchemaRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutSchemaRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.