Interface UpgradeAppliedSchemaRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudDirectoryRequest.Builder
,CopyableBuilder<UpgradeAppliedSchemaRequest.Builder,
,UpgradeAppliedSchemaRequest> SdkBuilder<UpgradeAppliedSchemaRequest.Builder,
,UpgradeAppliedSchemaRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpgradeAppliedSchemaRequest
public static interface UpgradeAppliedSchemaRequest.Builder
extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<UpgradeAppliedSchemaRequest.Builder,UpgradeAppliedSchemaRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryArn
(String directoryArn) The ARN for the directory to which the upgraded schema will be applied.Used for testing whether the major version schemas are backward compatible or not.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.publishedSchemaArn
(String publishedSchemaArn) The revision of the published schema to upgrade the directory to.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
publishedSchemaArn
The revision of the published schema to upgrade the directory to.
- Parameters:
publishedSchemaArn
- The revision of the published schema to upgrade the directory to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directoryArn
The ARN for the directory to which the upgraded schema will be applied.
- Parameters:
directoryArn
- The ARN for the directory to which the upgraded schema will be applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
Used for testing whether the major version schemas are backward compatible or not. If schema compatibility fails, an exception would be thrown else the call would succeed but no changes will be saved. This parameter is optional.
- Parameters:
dryRun
- Used for testing whether the major version schemas are backward compatible or not. If schema compatibility fails, an exception would be thrown else the call would succeed but no changes will be saved. This parameter is optional.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpgradeAppliedSchemaRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpgradeAppliedSchemaRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-