Interface UpgradePublishedSchemaRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudDirectoryRequest.Builder,CopyableBuilder<UpgradePublishedSchemaRequest.Builder,,UpgradePublishedSchemaRequest> SdkBuilder<UpgradePublishedSchemaRequest.Builder,,UpgradePublishedSchemaRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpgradePublishedSchemaRequest
@Mutable
@NotThreadSafe
public static interface UpgradePublishedSchemaRequest.Builder
extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<UpgradePublishedSchemaRequest.Builder,UpgradePublishedSchemaRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondevelopmentSchemaArn(String developmentSchemaArn) The ARN of the development schema with the changes used for the upgrade.Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded.minorVersion(String minorVersion) Identifies the minor version of the published schema that will be created.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.publishedSchemaArn(String publishedSchemaArn) The ARN of the published schema to be upgraded.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
developmentSchemaArn
The ARN of the development schema with the changes used for the upgrade.
- Parameters:
developmentSchemaArn- The ARN of the development schema with the changes used for the upgrade.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publishedSchemaArn
The ARN of the published schema to be upgraded.
- Parameters:
publishedSchemaArn- The ARN of the published schema to be upgraded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minorVersion
Identifies the minor version of the published schema that will be created. This parameter is NOT optional.
- Parameters:
minorVersion- Identifies the minor version of the published schema that will be created. This parameter is NOT optional.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.
- Parameters:
dryRun- Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpgradePublishedSchemaRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpgradePublishedSchemaRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-