Interface UpgradeAppliedSchemaRequest.Builder

    • Method Detail

      • publishedSchemaArn

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

        UpgradeAppliedSchemaRequest.Builder directoryArn​(String 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

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