@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.RouteAnalysisCompletionResultCode
public String getResultCode()
The result of the analysis. If the status is NOT_CONNECTED
, check the reason code.
NOT_CONNECTED
, check the reason code.RouteAnalysisCompletionResultCode
public 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.RouteAnalysisCompletionResultCode
public 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.RouteAnalysisCompletionResultCode
public 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.
RouteAnalysisCompletionReasonCode
public 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.
RouteAnalysisCompletionReasonCode
public 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.
RouteAnalysisCompletionReasonCode
public 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.
RouteAnalysisCompletionReasonCode
public 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 Object
Object.toString()
public RouteAnalysisCompletion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.