@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StagingArea extends Object implements Serializable, Cloneable, StructuredPojo
Staging information related to source server.
Constructor and Description |
---|
StagingArea() |
Modifier and Type | Method and Description |
---|---|
StagingArea |
clone() |
boolean |
equals(Object obj) |
String |
getErrorMessage()
Shows an error message that occurred when DRS tried to access the staging source server.
|
String |
getStagingAccountID()
Account ID of the account to which source server belongs.
|
String |
getStagingSourceServerArn()
Arn of the staging source server if this source server is extended
|
String |
getStatus()
Status of Source server extension.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorMessage(String errorMessage)
Shows an error message that occurred when DRS tried to access the staging source server.
|
void |
setStagingAccountID(String stagingAccountID)
Account ID of the account to which source server belongs.
|
void |
setStagingSourceServerArn(String stagingSourceServerArn)
Arn of the staging source server if this source server is extended
|
void |
setStatus(String status)
Status of Source server extension.
|
String |
toString()
Returns a string representation of this object.
|
StagingArea |
withErrorMessage(String errorMessage)
Shows an error message that occurred when DRS tried to access the staging source server.
|
StagingArea |
withStagingAccountID(String stagingAccountID)
Account ID of the account to which source server belongs.
|
StagingArea |
withStagingSourceServerArn(String stagingSourceServerArn)
Arn of the staging source server if this source server is extended
|
StagingArea |
withStatus(ExtensionStatus status)
Status of Source server extension.
|
StagingArea |
withStatus(String status)
Status of Source server extension.
|
public void setErrorMessage(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
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_ERRORpublic String getErrorMessage()
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
public StagingArea withErrorMessage(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
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_ERRORpublic void setStagingAccountID(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.
stagingAccountID
- Account ID of the account to which source server belongs. If this source server is extended - shows
Account ID of staging source server.public String getStagingAccountID()
Account ID of the account to which source server belongs. If this source server is extended - shows Account ID of staging source server.
public StagingArea withStagingAccountID(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.
stagingAccountID
- Account ID of the account to which source server belongs. If this source server is extended - shows
Account ID of staging source server.public void setStagingSourceServerArn(String stagingSourceServerArn)
Arn of the staging source server if this source server is extended
stagingSourceServerArn
- Arn of the staging source server if this source server is extendedpublic String getStagingSourceServerArn()
Arn of the staging source server if this source server is extended
public StagingArea withStagingSourceServerArn(String stagingSourceServerArn)
Arn of the staging source server if this source server is extended
stagingSourceServerArn
- Arn of the staging source server if this source server is extendedpublic void setStatus(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.
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.ExtensionStatus
public String getStatus()
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.
ExtensionStatus
public StagingArea withStatus(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.
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.ExtensionStatus
public StagingArea withStatus(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.
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.ExtensionStatus
public String toString()
toString
in class Object
Object.toString()
public StagingArea clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.