Class NetworkMigrationInsight
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NetworkMigrationInsight.Builder,NetworkMigrationInsight>
An insight produced during a network migration, such as a warning, decision, question, or other context beyond the migrated output.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe unique identifier of the construct the insight relates to; absent for run-level and segment-level insights.final InstantThe timestamp when the insight was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe unique identifier of the insight.final InsightLevelThe level that the insight applies to: the run, a segment, or a construct.final StringThe level that the insight applies to: the run, a segment, or a construct.final InsightMessageThe content of the insight.final InsightTypeThe type of the insight.final StringThe type of the insight.final StringThe unique identifier of the network migration definition the insight belongs to.final StringThe unique identifier of the network migration execution the insight belongs to.final StringThe identifier of the job or API request that produced the insight.final InsightProducerNameThe job type or API name that produced the insight.final StringThe job type or API name that produced the insight.final InsightProducerTypeWhether the insight was produced by a job or by an API request.final StringWhether the insight was produced by a job or by an API request.final StringThe unique identifier of the segment the insight relates to; absent for run-level insights.static Class<? extends NetworkMigrationInsight.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
networkMigrationDefinitionID
The unique identifier of the network migration definition the insight belongs to.
- Returns:
- The unique identifier of the network migration definition the insight belongs to.
-
networkMigrationExecutionID
The unique identifier of the network migration execution the insight belongs to.
- Returns:
- The unique identifier of the network migration execution the insight belongs to.
-
producerID
The identifier of the job or API request that produced the insight.
- Returns:
- The identifier of the job or API request that produced the insight.
-
producerType
Whether the insight was produced by a job or by an API request.
If the service returns an enum value that is not available in the current SDK version,
producerTypewill returnInsightProducerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproducerTypeAsString().- Returns:
- Whether the insight was produced by a job or by an API request.
- See Also:
-
producerTypeAsString
Whether the insight was produced by a job or by an API request.
If the service returns an enum value that is not available in the current SDK version,
producerTypewill returnInsightProducerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproducerTypeAsString().- Returns:
- Whether the insight was produced by a job or by an API request.
- See Also:
-
producerName
The job type or API name that produced the insight.
If the service returns an enum value that is not available in the current SDK version,
producerNamewill returnInsightProducerName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproducerNameAsString().- Returns:
- The job type or API name that produced the insight.
- See Also:
-
producerNameAsString
The job type or API name that produced the insight.
If the service returns an enum value that is not available in the current SDK version,
producerNamewill returnInsightProducerName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproducerNameAsString().- Returns:
- The job type or API name that produced the insight.
- See Also:
-
segmentID
The unique identifier of the segment the insight relates to; absent for run-level insights.
- Returns:
- The unique identifier of the segment the insight relates to; absent for run-level insights.
-
constructID
The unique identifier of the construct the insight relates to; absent for run-level and segment-level insights.
- Returns:
- The unique identifier of the construct the insight relates to; absent for run-level and segment-level insights.
-
insightID
The unique identifier of the insight.
- Returns:
- The unique identifier of the insight.
-
insightLevel
The level that the insight applies to: the run, a segment, or a construct.
If the service returns an enum value that is not available in the current SDK version,
insightLevelwill returnInsightLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominsightLevelAsString().- Returns:
- The level that the insight applies to: the run, a segment, or a construct.
- See Also:
-
insightLevelAsString
The level that the insight applies to: the run, a segment, or a construct.
If the service returns an enum value that is not available in the current SDK version,
insightLevelwill returnInsightLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominsightLevelAsString().- Returns:
- The level that the insight applies to: the run, a segment, or a construct.
- See Also:
-
insightType
The type of the insight.
If the service returns an enum value that is not available in the current SDK version,
insightTypewill returnInsightType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominsightTypeAsString().- Returns:
- The type of the insight.
- See Also:
-
insightTypeAsString
The type of the insight.
If the service returns an enum value that is not available in the current SDK version,
insightTypewill returnInsightType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominsightTypeAsString().- Returns:
- The type of the insight.
- See Also:
-
insightMessage
The content of the insight.
- Returns:
- The content of the insight.
-
createdAt
The timestamp when the insight was created.
- Returns:
- The timestamp when the insight was created.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<NetworkMigrationInsight.Builder,NetworkMigrationInsight> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-