Interface UpgradePublishedSchemaRequest.Builder

    • Method Detail

      • developmentSchemaArn

        UpgradePublishedSchemaRequest.Builder developmentSchemaArn​(String 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

        UpgradePublishedSchemaRequest.Builder publishedSchemaArn​(String 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

        UpgradePublishedSchemaRequest.Builder minorVersion​(String 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

        UpgradePublishedSchemaRequest.Builder dryRun​(Boolean 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.