Interface NetworkMigrationInsight.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkMigrationInsight.Builder,,NetworkMigrationInsight> SdkBuilder<NetworkMigrationInsight.Builder,,NetworkMigrationInsight> SdkPojo
- Enclosing class:
NetworkMigrationInsight
-
Method Summary
Modifier and TypeMethodDescriptionconstructID(String constructID) The unique identifier of the construct the insight relates to; absent for run-level and segment-level insights.The timestamp when the insight was created.The unique identifier of the insight.insightLevel(String insightLevel) The level that the insight applies to: the run, a segment, or a construct.insightLevel(InsightLevel insightLevel) The level that the insight applies to: the run, a segment, or a construct.default NetworkMigrationInsight.BuilderinsightMessage(Consumer<InsightMessage.Builder> insightMessage) The content of the insight.insightMessage(InsightMessage insightMessage) The content of the insight.insightType(String insightType) The type of the insight.insightType(InsightType insightType) The type of the insight.networkMigrationDefinitionID(String networkMigrationDefinitionID) The unique identifier of the network migration definition the insight belongs to.networkMigrationExecutionID(String networkMigrationExecutionID) The unique identifier of the network migration execution the insight belongs to.producerID(String producerID) The identifier of the job or API request that produced the insight.producerName(String producerName) The job type or API name that produced the insight.producerName(InsightProducerName producerName) The job type or API name that produced the insight.producerType(String producerType) Whether the insight was produced by a job or by an API request.producerType(InsightProducerType producerType) Whether the insight was produced by a job or by an API request.The unique identifier of the segment the insight relates to; absent for run-level insights.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
networkMigrationDefinitionID
The unique identifier of the network migration definition the insight belongs to.
- Parameters:
networkMigrationDefinitionID- The unique identifier of the network migration definition the insight belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkMigrationExecutionID
The unique identifier of the network migration execution the insight belongs to.
- Parameters:
networkMigrationExecutionID- The unique identifier of the network migration execution the insight belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
producerID
The identifier of the job or API request that produced the insight.
- Parameters:
producerID- The identifier of the job or API request that produced the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
producerType
Whether the insight was produced by a job or by an API request.
- Parameters:
producerType- Whether the insight was produced by a job or by an API request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
producerType
Whether the insight was produced by a job or by an API request.
- Parameters:
producerType- Whether the insight was produced by a job or by an API request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
producerName
The job type or API name that produced the insight.
- Parameters:
producerName- The job type or API name that produced the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
producerName
The job type or API name that produced the insight.
- Parameters:
producerName- The job type or API name that produced the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segmentID
The unique identifier of the segment the insight relates to; absent for run-level insights.
- Parameters:
segmentID- The unique identifier of the segment the insight relates to; absent for run-level insights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
constructID
The unique identifier of the construct the insight relates to; absent for run-level and segment-level insights.
- Parameters:
constructID- The unique identifier of the construct the insight relates to; absent for run-level and segment-level insights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightID
The unique identifier of the insight.
- Parameters:
insightID- The unique identifier of the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightLevel
The level that the insight applies to: the run, a segment, or a construct.
- Parameters:
insightLevel- The level that the insight applies to: the run, a segment, or a construct.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
insightLevel
The level that the insight applies to: the run, a segment, or a construct.
- Parameters:
insightLevel- The level that the insight applies to: the run, a segment, or a construct.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
insightType
The type of the insight.
- Parameters:
insightType- The type of the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
insightType
The type of the insight.
- Parameters:
insightType- The type of the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
insightMessage
The content of the insight.
- Parameters:
insightMessage- The content of the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightMessage
default NetworkMigrationInsight.Builder insightMessage(Consumer<InsightMessage.Builder> insightMessage) The content of the insight.
This is a convenience method that creates an instance of theInsightMessage.Builderavoiding the need to create one manually viaInsightMessage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinsightMessage(InsightMessage).- Parameters:
insightMessage- a consumer that will call methods onInsightMessage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the insight was created.
- Parameters:
createdAt- The timestamp when the insight was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-