Interface StagingArea.Builder

    • Method Detail

      • errorMessage

        StagingArea.Builder errorMessage​(String errorMessage)

        Shows an error message that occurred when DRS tried to access the staging source server. In this case StagingArea$status will have value EXTENSION_ERROR

        Parameters:
        errorMessage - Shows an error message that occurred when DRS tried to access the staging source server. In this case StagingArea$status will have value EXTENSION_ERROR
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stagingAccountID

        StagingArea.Builder stagingAccountID​(String stagingAccountID)

        Account ID of the account to which source server belongs. If this source server is extended - shows Account ID of staging source server.

        Parameters:
        stagingAccountID - Account ID of the account to which source server belongs. If this source server is extended - shows Account ID of staging source server.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stagingSourceServerArn

        StagingArea.Builder stagingSourceServerArn​(String stagingSourceServerArn)

        Arn of the staging source server if this source server is extended

        Parameters:
        stagingSourceServerArn - Arn of the staging source server if this source server is extended
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        StagingArea.Builder status​(String status)

        Status of Source server extension. Possible values: (a) NOT_EXTENDED - This is a source server that is replicating in the current account. (b) EXTENDED - Source server is extended from a staging source server. In this case, the value of stagingSourceServerArn is pointing to the Arn of the source server in the staging account. (c) EXTENSION_ERROR - Some issue occurred when accessing staging source server. In this case, errorMessage field will contain an error message that explains what happened.

        Parameters:
        status - Status of Source server extension. Possible values: (a) NOT_EXTENDED - This is a source server that is replicating in the current account. (b) EXTENDED - Source server is extended from a staging source server. In this case, the value of stagingSourceServerArn is pointing to the Arn of the source server in the staging account. (c) EXTENSION_ERROR - Some issue occurred when accessing staging source server. In this case, errorMessage field will contain an error message that explains what happened.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExtensionStatus, ExtensionStatus
      • status

        StagingArea.Builder status​(ExtensionStatus status)

        Status of Source server extension. Possible values: (a) NOT_EXTENDED - This is a source server that is replicating in the current account. (b) EXTENDED - Source server is extended from a staging source server. In this case, the value of stagingSourceServerArn is pointing to the Arn of the source server in the staging account. (c) EXTENSION_ERROR - Some issue occurred when accessing staging source server. In this case, errorMessage field will contain an error message that explains what happened.

        Parameters:
        status - Status of Source server extension. Possible values: (a) NOT_EXTENDED - This is a source server that is replicating in the current account. (b) EXTENDED - Source server is extended from a staging source server. In this case, the value of stagingSourceServerArn is pointing to the Arn of the source server in the staging account. (c) EXTENSION_ERROR - Some issue occurred when accessing staging source server. In this case, errorMessage field will contain an error message that explains what happened.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExtensionStatus, ExtensionStatus