@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BotReplicaSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains summary information about all the replication statuses applicable for global resiliency.
Constructor and Description |
---|
BotReplicaSummary() |
Modifier and Type | Method and Description |
---|---|
BotReplicaSummary |
clone() |
boolean |
equals(Object obj) |
String |
getBotReplicaStatus()
The operation status for the replicated bot applicable.
|
Date |
getCreationDateTime()
The creation time and date for the replicated bots.
|
List<String> |
getFailureReasons()
The reasons for the failure for the replicated bot.
|
String |
getReplicaRegion()
The replica region used in the replication statuses summary.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBotReplicaStatus(String botReplicaStatus)
The operation status for the replicated bot applicable.
|
void |
setCreationDateTime(Date creationDateTime)
The creation time and date for the replicated bots.
|
void |
setFailureReasons(Collection<String> failureReasons)
The reasons for the failure for the replicated bot.
|
void |
setReplicaRegion(String replicaRegion)
The replica region used in the replication statuses summary.
|
String |
toString()
Returns a string representation of this object.
|
BotReplicaSummary |
withBotReplicaStatus(BotReplicaStatus botReplicaStatus)
The operation status for the replicated bot applicable.
|
BotReplicaSummary |
withBotReplicaStatus(String botReplicaStatus)
The operation status for the replicated bot applicable.
|
BotReplicaSummary |
withCreationDateTime(Date creationDateTime)
The creation time and date for the replicated bots.
|
BotReplicaSummary |
withFailureReasons(Collection<String> failureReasons)
The reasons for the failure for the replicated bot.
|
BotReplicaSummary |
withFailureReasons(String... failureReasons)
The reasons for the failure for the replicated bot.
|
BotReplicaSummary |
withReplicaRegion(String replicaRegion)
The replica region used in the replication statuses summary.
|
public void setReplicaRegion(String replicaRegion)
The replica region used in the replication statuses summary.
replicaRegion
- The replica region used in the replication statuses summary.public String getReplicaRegion()
The replica region used in the replication statuses summary.
public BotReplicaSummary withReplicaRegion(String replicaRegion)
The replica region used in the replication statuses summary.
replicaRegion
- The replica region used in the replication statuses summary.public void setCreationDateTime(Date creationDateTime)
The creation time and date for the replicated bots.
creationDateTime
- The creation time and date for the replicated bots.public Date getCreationDateTime()
The creation time and date for the replicated bots.
public BotReplicaSummary withCreationDateTime(Date creationDateTime)
The creation time and date for the replicated bots.
creationDateTime
- The creation time and date for the replicated bots.public void setBotReplicaStatus(String botReplicaStatus)
The operation status for the replicated bot applicable.
botReplicaStatus
- The operation status for the replicated bot applicable.BotReplicaStatus
public String getBotReplicaStatus()
The operation status for the replicated bot applicable.
BotReplicaStatus
public BotReplicaSummary withBotReplicaStatus(String botReplicaStatus)
The operation status for the replicated bot applicable.
botReplicaStatus
- The operation status for the replicated bot applicable.BotReplicaStatus
public BotReplicaSummary withBotReplicaStatus(BotReplicaStatus botReplicaStatus)
The operation status for the replicated bot applicable.
botReplicaStatus
- The operation status for the replicated bot applicable.BotReplicaStatus
public List<String> getFailureReasons()
The reasons for the failure for the replicated bot.
public void setFailureReasons(Collection<String> failureReasons)
The reasons for the failure for the replicated bot.
failureReasons
- The reasons for the failure for the replicated bot.public BotReplicaSummary withFailureReasons(String... failureReasons)
The reasons for the failure for the replicated bot.
NOTE: This method appends the values to the existing list (if any). Use
setFailureReasons(java.util.Collection)
or withFailureReasons(java.util.Collection)
if you want
to override the existing values.
failureReasons
- The reasons for the failure for the replicated bot.public BotReplicaSummary withFailureReasons(Collection<String> failureReasons)
The reasons for the failure for the replicated bot.
failureReasons
- The reasons for the failure for the replicated bot.public String toString()
toString
in class Object
Object.toString()
public BotReplicaSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.