@Generated(value="software.amazon.awssdk:codegen") public final class NetworkInsightsAnalysis extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NetworkInsightsAnalysis.Builder,NetworkInsightsAnalysis>
Describes a network insights analysis.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NetworkInsightsAnalysis.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AlternatePathHint> |
alternatePathHints()
Potential intermediate components.
|
static NetworkInsightsAnalysis.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<Explanation> |
explanations()
The explanations.
|
List<String> |
filterInArns()
The Amazon Resource Names (ARN) of the Amazon Web Services resources that the path must traverse.
|
List<PathComponent> |
forwardPathComponents()
The components in the path from source to destination.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAlternatePathHints()
For responses, this returns true if the service returned a value for the AlternatePathHints property.
|
boolean |
hasExplanations()
For responses, this returns true if the service returned a value for the Explanations property.
|
boolean |
hasFilterInArns()
For responses, this returns true if the service returned a value for the FilterInArns property.
|
boolean |
hasForwardPathComponents()
For responses, this returns true if the service returned a value for the ForwardPathComponents property.
|
int |
hashCode() |
boolean |
hasReturnPathComponents()
For responses, this returns true if the service returned a value for the ReturnPathComponents property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
networkInsightsAnalysisArn()
The Amazon Resource Name (ARN) of the network insights analysis.
|
String |
networkInsightsAnalysisId()
The ID of the network insights analysis.
|
String |
networkInsightsPathId()
The ID of the path.
|
Boolean |
networkPathFound()
Indicates whether the destination is reachable from the source.
|
List<PathComponent> |
returnPathComponents()
The components in the path from destination to source.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NetworkInsightsAnalysis.Builder> |
serializableBuilderClass() |
Instant |
startDate()
The time the analysis started.
|
AnalysisStatus |
status()
The status of the network insights analysis.
|
String |
statusAsString()
The status of the network insights analysis.
|
String |
statusMessage()
The status message, if the status is
failed. |
List<Tag> |
tags()
The tags.
|
NetworkInsightsAnalysis.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
warningMessage()
The warning message.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String networkInsightsAnalysisId()
The ID of the network insights analysis.
public final String networkInsightsAnalysisArn()
The Amazon Resource Name (ARN) of the network insights analysis.
public final String networkInsightsPathId()
The ID of the path.
public final boolean hasFilterInArns()
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 List<String> filterInArns()
The Amazon Resource Names (ARN) of the Amazon Web Services resources that the path must traverse.
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 hasFilterInArns() method.
public final Instant startDate()
The time the analysis started.
public final AnalysisStatus status()
The status of the network insights analysis.
If the service returns an enum value that is not available in the current SDK version, status will
return AnalysisStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AnalysisStatuspublic final String statusAsString()
The status of the network insights analysis.
If the service returns an enum value that is not available in the current SDK version, status will
return AnalysisStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AnalysisStatuspublic final String statusMessage()
The status message, if the status is failed.
failed.public final String warningMessage()
The warning message.
public final Boolean networkPathFound()
Indicates whether the destination is reachable from the source.
public final boolean hasForwardPathComponents()
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 List<PathComponent> forwardPathComponents()
The components in the path from source to destination.
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 hasForwardPathComponents() method.
public final boolean hasReturnPathComponents()
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 List<PathComponent> returnPathComponents()
The components in the path from destination to source.
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 hasReturnPathComponents() method.
public final boolean hasExplanations()
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 List<Explanation> explanations()
The explanations. For more information, see Reachability Analyzer explanation codes.
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 hasExplanations() method.
public final boolean hasAlternatePathHints()
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 List<AlternatePathHint> alternatePathHints()
Potential intermediate components.
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 hasAlternatePathHints() method.
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 List<Tag> tags()
The tags.
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 NetworkInsightsAnalysis.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NetworkInsightsAnalysis.Builder,NetworkInsightsAnalysis>public static NetworkInsightsAnalysis.Builder builder()
public static Class<? extends NetworkInsightsAnalysis.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.