Interface GetDependencyInsightsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDependencyInsightsResponse.Builder,,GetDependencyInsightsResponse> Resiliencehubv2Response.Builder,SdkBuilder<GetDependencyInsightsResponse.Builder,,GetDependencyInsightsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDependencyInsightsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the dependency insights were generated.The error code returned when insights generation failed.errorCode(DependencyInsightsErrorCode errorCode) The error code returned when insights generation failed.errorMessage(String errorMessage) A message describing why insights generation failed.insights(Collection<DependencyInsight> insights) The list of dependency insights generated for the service.insights(Consumer<DependencyInsight.Builder>... insights) The list of dependency insights generated for the service.insights(DependencyInsight... insights) The list of dependency insights generated for the service.A summary of the dependency insights for the service.The status of the dependency insights generation.status(DependencyInsightsStatus status) The status of the dependency insights generation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.resiliencehubv2.model.Resiliencehubv2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
overview
A summary of the dependency insights for the service. This field is not returned until the status is COMPLETED.
- Parameters:
overview- A summary of the dependency insights for the service. This field is not returned until the status is COMPLETED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insights
The list of dependency insights generated for the service. This field is not returned until the status is COMPLETED.
- Parameters:
insights- The list of dependency insights generated for the service. This field is not returned until the status is COMPLETED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insights
The list of dependency insights generated for the service. This field is not returned until the status is COMPLETED.
- Parameters:
insights- The list of dependency insights generated for the service. This field is not returned until the status is COMPLETED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insights
The list of dependency insights generated for the service. This field is not returned until the status is COMPLETED.
This is a convenience method that creates an instance of theDependencyInsight.Builderavoiding the need to create one manually viaDependencyInsight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinsights(List<DependencyInsight>).- Parameters:
insights- a consumer that will call methods onDependencyInsight.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the dependency insights generation. Valid values:
-
IN_PROGRESS - Insights generation is in progress.
-
COMPLETED - Insights generation completed successfully.
-
FAILED - Insights generation failed. See errorCode and errorMessage for details.
- Parameters:
status- The status of the dependency insights generation. Valid values:-
IN_PROGRESS - Insights generation is in progress.
-
COMPLETED - Insights generation completed successfully.
-
FAILED - Insights generation failed. See errorCode and errorMessage for details.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of the dependency insights generation. Valid values:
-
IN_PROGRESS - Insights generation is in progress.
-
COMPLETED - Insights generation completed successfully.
-
FAILED - Insights generation failed. See errorCode and errorMessage for details.
- Parameters:
status- The status of the dependency insights generation. Valid values:-
IN_PROGRESS - Insights generation is in progress.
-
COMPLETED - Insights generation completed successfully.
-
FAILED - Insights generation failed. See errorCode and errorMessage for details.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
createdAt
The timestamp when the dependency insights were generated.
- Parameters:
createdAt- The timestamp when the dependency insights were generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
The error code returned when insights generation failed. Valid values:
-
INSUFFICIENT_DATA - There was not enough dependency data to generate insights.
-
LLM_GENERATION_FAILED - The insights could not be generated.
-
INTERNAL_ERROR - An internal error occurred while generating insights.
- Parameters:
errorCode- The error code returned when insights generation failed. Valid values:-
INSUFFICIENT_DATA - There was not enough dependency data to generate insights.
-
LLM_GENERATION_FAILED - The insights could not be generated.
-
INTERNAL_ERROR - An internal error occurred while generating insights.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
errorCode
The error code returned when insights generation failed. Valid values:
-
INSUFFICIENT_DATA - There was not enough dependency data to generate insights.
-
LLM_GENERATION_FAILED - The insights could not be generated.
-
INTERNAL_ERROR - An internal error occurred while generating insights.
- Parameters:
errorCode- The error code returned when insights generation failed. Valid values:-
INSUFFICIENT_DATA - There was not enough dependency data to generate insights.
-
LLM_GENERATION_FAILED - The insights could not be generated.
-
INTERNAL_ERROR - An internal error occurred while generating insights.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
errorMessage
A message describing why insights generation failed.
- Parameters:
errorMessage- A message describing why insights generation failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-