@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RouteAnalysisCompletion extends Object implements Serializable, Cloneable, StructuredPojo
Describes the status of an analysis at completion.
| Constructor and Description |
|---|
RouteAnalysisCompletion() |
| Modifier and Type | Method and Description |
|---|---|
RouteAnalysisCompletion |
addReasonContextEntry(String key,
String value)
Add a single ReasonContext entry
|
RouteAnalysisCompletion |
clearReasonContextEntries()
Removes all the entries added into ReasonContext.
|
RouteAnalysisCompletion |
clone() |
boolean |
equals(Object obj) |
String |
getReasonCode()
The reason code.
|
Map<String,String> |
getReasonContext()
Additional information about the path.
|
String |
getResultCode()
The result of the analysis.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setReasonCode(String reasonCode)
The reason code.
|
void |
setReasonContext(Map<String,String> reasonContext)
Additional information about the path.
|
void |
setResultCode(String resultCode)
The result of the analysis.
|
String |
toString()
Returns a string representation of this object.
|
RouteAnalysisCompletion |
withReasonCode(RouteAnalysisCompletionReasonCode reasonCode)
The reason code.
|
RouteAnalysisCompletion |
withReasonCode(String reasonCode)
The reason code.
|
RouteAnalysisCompletion |
withReasonContext(Map<String,String> reasonContext)
Additional information about the path.
|
RouteAnalysisCompletion |
withResultCode(RouteAnalysisCompletionResultCode resultCode)
The result of the analysis.
|
RouteAnalysisCompletion |
withResultCode(String resultCode)
The result of the analysis.
|
public void setResultCode(String resultCode)
The result of the analysis. If the status is NOT_CONNECTED, check the reason code.
resultCode - The result of the analysis. If the status is NOT_CONNECTED, check the reason code.RouteAnalysisCompletionResultCodepublic String getResultCode()
The result of the analysis. If the status is NOT_CONNECTED, check the reason code.
NOT_CONNECTED, check the reason code.RouteAnalysisCompletionResultCodepublic RouteAnalysisCompletion withResultCode(String resultCode)
The result of the analysis. If the status is NOT_CONNECTED, check the reason code.
resultCode - The result of the analysis. If the status is NOT_CONNECTED, check the reason code.RouteAnalysisCompletionResultCodepublic RouteAnalysisCompletion withResultCode(RouteAnalysisCompletionResultCode resultCode)
The result of the analysis. If the status is NOT_CONNECTED, check the reason code.
resultCode - The result of the analysis. If the status is NOT_CONNECTED, check the reason code.RouteAnalysisCompletionResultCodepublic void setReasonCode(String reasonCode)
The reason code. Available only if a connection is not found.
BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR block.
CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.
INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR block.
MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.
ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.
TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.
TGW_ATTACH_NOT_FOUND - Cannot find an attachment.
TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.
TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not
associated.
reasonCode - The reason code. Available only if a connection is not found.
BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR
block.
CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.
INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR
block.
MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.
ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.
TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.
TGW_ATTACH_NOT_FOUND - Cannot find an attachment.
TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.
TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not
associated.
RouteAnalysisCompletionReasonCodepublic String getReasonCode()
The reason code. Available only if a connection is not found.
BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR block.
CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.
INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR block.
MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.
ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.
TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.
TGW_ATTACH_NOT_FOUND - Cannot find an attachment.
TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.
TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not
associated.
BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR
block.
CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.
INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR
block.
MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.
ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.
TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.
TGW_ATTACH_NOT_FOUND - Cannot find an attachment.
TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.
TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not
associated.
RouteAnalysisCompletionReasonCodepublic RouteAnalysisCompletion withReasonCode(String reasonCode)
The reason code. Available only if a connection is not found.
BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR block.
CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.
INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR block.
MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.
ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.
TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.
TGW_ATTACH_NOT_FOUND - Cannot find an attachment.
TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.
TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not
associated.
reasonCode - The reason code. Available only if a connection is not found.
BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR
block.
CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.
INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR
block.
MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.
ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.
TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.
TGW_ATTACH_NOT_FOUND - Cannot find an attachment.
TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.
TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not
associated.
RouteAnalysisCompletionReasonCodepublic RouteAnalysisCompletion withReasonCode(RouteAnalysisCompletionReasonCode reasonCode)
The reason code. Available only if a connection is not found.
BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR block.
CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.
INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR block.
MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.
ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.
TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.
TGW_ATTACH_NOT_FOUND - Cannot find an attachment.
TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.
TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not
associated.
reasonCode - The reason code. Available only if a connection is not found.
BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR
block.
CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.
INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR
block.
MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.
ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.
TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.
TGW_ATTACH_NOT_FOUND - Cannot find an attachment.
TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.
TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not
associated.
RouteAnalysisCompletionReasonCodepublic Map<String,String> getReasonContext()
Additional information about the path. Available only if a connection is not found.
public void setReasonContext(Map<String,String> reasonContext)
Additional information about the path. Available only if a connection is not found.
reasonContext - Additional information about the path. Available only if a connection is not found.public RouteAnalysisCompletion withReasonContext(Map<String,String> reasonContext)
Additional information about the path. Available only if a connection is not found.
reasonContext - Additional information about the path. Available only if a connection is not found.public RouteAnalysisCompletion addReasonContextEntry(String key, String value)
public RouteAnalysisCompletion clearReasonContextEntries()
public String toString()
toString in class ObjectObject.toString()public RouteAnalysisCompletion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.