@Generated(value="software.amazon.awssdk:codegen") public final class RetryDataReplicationResponse extends DrsResponse implements ToCopyableBuilder<RetryDataReplicationResponse.Builder,RetryDataReplicationResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RetryDataReplicationResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN of the Source Server.
|
static RetryDataReplicationResponse.Builder |
builder() |
DataReplicationInfo |
dataReplicationInfo()
The Data Replication Info of the Source Server.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
LastLaunchResult |
lastLaunchResult()
The status of the last recovery launch of this Source Server.
|
String |
lastLaunchResultAsString()
The status of the last recovery launch of this Source Server.
|
LifeCycle |
lifeCycle()
The lifecycle information of this Source Server.
|
String |
recoveryInstanceId()
The ID of the Recovery Instance associated with this Source Server.
|
ReplicationDirection |
replicationDirection()
Replication direction of the Source Server.
|
String |
replicationDirectionAsString()
Replication direction of the Source Server.
|
String |
reversedDirectionSourceServerArn()
For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN
of the Source Server on the opposite replication direction.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RetryDataReplicationResponse.Builder> |
serializableBuilderClass() |
SourceCloudProperties |
sourceCloudProperties()
Source cloud properties of the Source Server.
|
String |
sourceNetworkID()
ID of the Source Network which is protecting this Source Server's network.
|
SourceProperties |
sourceProperties()
The source properties of the Source Server.
|
String |
sourceServerID()
The ID of the Source Server.
|
StagingArea |
stagingArea()
The staging area of the source server.
|
Map<String,String> |
tags()
The tags associated with the Source Server.
|
RetryDataReplicationResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The ARN of the Source Server.
public final DataReplicationInfo dataReplicationInfo()
The Data Replication Info of the Source Server.
public final LastLaunchResult lastLaunchResult()
The status of the last recovery launch of this Source Server.
If the service returns an enum value that is not available in the current SDK version, lastLaunchResult
will return LastLaunchResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from lastLaunchResultAsString().
LastLaunchResultpublic final String lastLaunchResultAsString()
The status of the last recovery launch of this Source Server.
If the service returns an enum value that is not available in the current SDK version, lastLaunchResult
will return LastLaunchResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from lastLaunchResultAsString().
LastLaunchResultpublic final LifeCycle lifeCycle()
The lifecycle information of this Source Server.
public final String recoveryInstanceId()
The ID of the Recovery Instance associated with this Source Server.
public final ReplicationDirection replicationDirection()
Replication direction of the Source Server.
If the service returns an enum value that is not available in the current SDK version,
replicationDirection will return ReplicationDirection.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from replicationDirectionAsString().
ReplicationDirectionpublic final String replicationDirectionAsString()
Replication direction of the Source Server.
If the service returns an enum value that is not available in the current SDK version,
replicationDirection will return ReplicationDirection.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from replicationDirectionAsString().
ReplicationDirectionpublic final String reversedDirectionSourceServerArn()
For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.
public final SourceCloudProperties sourceCloudProperties()
Source cloud properties of the Source Server.
public final String sourceNetworkID()
ID of the Source Network which is protecting this Source Server's network.
public final SourceProperties sourceProperties()
The source properties of the Source Server.
public final String sourceServerID()
The ID of the Source Server.
public final StagingArea stagingArea()
The staging area of the source server.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
The tags associated with the Source Server.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public RetryDataReplicationResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RetryDataReplicationResponse.Builder,RetryDataReplicationResponse>toBuilder in class AwsResponsepublic static RetryDataReplicationResponse.Builder builder()
public static Class<? extends RetryDataReplicationResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.