Interface StagingArea.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StagingArea.Builder,StagingArea>,SdkBuilder<StagingArea.Builder,StagingArea>,SdkPojo
- Enclosing class:
- StagingArea
public static interface StagingArea.Builder extends SdkPojo, CopyableBuilder<StagingArea.Builder,StagingArea>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StagingArea.BuildererrorMessage(String errorMessage)Shows an error message that occurred when DRS tried to access the staging source server.StagingArea.BuilderstagingAccountID(String stagingAccountID)Account ID of the account to which source server belongs.StagingArea.BuilderstagingSourceServerArn(String stagingSourceServerArn)Arn of the staging source server if this source server is extendedStagingArea.Builderstatus(String status)Status of Source server extension.StagingArea.Builderstatus(ExtensionStatus status)Status of Source server extension.-
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 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
-
-