@Generated(value="software.amazon.awssdk:codegen") public final class RouteAnalysisCompletion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RouteAnalysisCompletion.Builder,RouteAnalysisCompletion>
Describes the status of an analysis at completion.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RouteAnalysisCompletion.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RouteAnalysisCompletion.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasReasonContext()
For responses, this returns true if the service returned a value for the ReasonContext property.
|
RouteAnalysisCompletionReasonCode |
reasonCode()
The reason code.
|
String |
reasonCodeAsString()
The reason code.
|
Map<String,String> |
reasonContext()
Additional information about the path.
|
RouteAnalysisCompletionResultCode |
resultCode()
The result of the analysis.
|
String |
resultCodeAsString()
The result of the analysis.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RouteAnalysisCompletion.Builder> |
serializableBuilderClass() |
RouteAnalysisCompletion.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final RouteAnalysisCompletionResultCode resultCode()
The result of the analysis. If the status is NOT_CONNECTED, check the reason code.
If the service returns an enum value that is not available in the current SDK version, resultCode will
return RouteAnalysisCompletionResultCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from resultCodeAsString().
NOT_CONNECTED, check the reason code.RouteAnalysisCompletionResultCodepublic final String resultCodeAsString()
The result of the analysis. If the status is NOT_CONNECTED, check the reason code.
If the service returns an enum value that is not available in the current SDK version, resultCode will
return RouteAnalysisCompletionResultCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from resultCodeAsString().
NOT_CONNECTED, check the reason code.RouteAnalysisCompletionResultCodepublic final 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.
If the service returns an enum value that is not available in the current SDK version, reasonCode will
return RouteAnalysisCompletionReasonCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from reasonCodeAsString().
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 final String reasonCodeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, reasonCode will
return RouteAnalysisCompletionReasonCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from reasonCodeAsString().
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 final boolean hasReasonContext()
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> reasonContext()
Additional information about the path. Available only if a connection is not found.
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 hasReasonContext() method.
public RouteAnalysisCompletion.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RouteAnalysisCompletion.Builder,RouteAnalysisCompletion>public static RouteAnalysisCompletion.Builder builder()
public static Class<? extends RouteAnalysisCompletion.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.