Interface GetFindingRecommendationResponse.Builder
- All Superinterfaces:
AccessAnalyzerResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetFindingRecommendationResponse.Builder,
,GetFindingRecommendationResponse> SdkBuilder<GetFindingRecommendationResponse.Builder,
,GetFindingRecommendationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetFindingRecommendationResponse
-
Method Summary
Modifier and TypeMethodDescriptioncompletedAt
(Instant completedAt) The time at which the retrieval of the finding recommendation was completed.error
(Consumer<RecommendationError.Builder> error) Detailed information about the reason that the retrieval of a recommendation for the finding failed.error
(RecommendationError error) Detailed information about the reason that the retrieval of a recommendation for the finding failed.A token used for pagination of results returned.recommendationType
(String recommendationType) The type of recommendation for the finding.recommendationType
(RecommendationType recommendationType) The type of recommendation for the finding.recommendedSteps
(Collection<RecommendedStep> recommendedSteps) A group of recommended steps for the finding.recommendedSteps
(Consumer<RecommendedStep.Builder>... recommendedSteps) A group of recommended steps for the finding.recommendedSteps
(RecommendedStep... recommendedSteps) A group of recommended steps for the finding.resourceArn
(String resourceArn) The ARN of the resource of the finding.The time at which the retrieval of the finding recommendation was started.The status of the retrieval of the finding recommendation.The status of the retrieval of the finding recommendation.Methods inherited from interface software.amazon.awssdk.services.accessanalyzer.model.AccessAnalyzerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
startedAt
The time at which the retrieval of the finding recommendation was started.
- Parameters:
startedAt
- The time at which the retrieval of the finding recommendation was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedAt
The time at which the retrieval of the finding recommendation was completed.
- Parameters:
completedAt
- The time at which the retrieval of the finding recommendation was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token used for pagination of results returned.
- Parameters:
nextToken
- A token used for pagination of results returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Detailed information about the reason that the retrieval of a recommendation for the finding failed.
- Parameters:
error
- Detailed information about the reason that the retrieval of a recommendation for the finding failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Detailed information about the reason that the retrieval of a recommendation for the finding failed.
This is a convenience method that creates an instance of theRecommendationError.Builder
avoiding the need to create one manually viaRecommendationError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerror(RecommendationError)
.- Parameters:
error
- a consumer that will call methods onRecommendationError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceArn
The ARN of the resource of the finding.
- Parameters:
resourceArn
- The ARN of the resource of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedSteps
GetFindingRecommendationResponse.Builder recommendedSteps(Collection<RecommendedStep> recommendedSteps) A group of recommended steps for the finding.
- Parameters:
recommendedSteps
- A group of recommended steps for the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedSteps
A group of recommended steps for the finding.
- Parameters:
recommendedSteps
- A group of recommended steps for the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedSteps
GetFindingRecommendationResponse.Builder recommendedSteps(Consumer<RecommendedStep.Builder>... recommendedSteps) A group of recommended steps for the finding.
This is a convenience method that creates an instance of theRecommendedStep.Builder
avoiding the need to create one manually viaRecommendedStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecommendedSteps(List<RecommendedStep>)
.- Parameters:
recommendedSteps
- a consumer that will call methods onRecommendedStep.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recommendationType
The type of recommendation for the finding.
- Parameters:
recommendationType
- The type of recommendation for the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recommendationType
The type of recommendation for the finding.
- Parameters:
recommendationType
- The type of recommendation for the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the retrieval of the finding recommendation.
- Parameters:
status
- The status of the retrieval of the finding recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the retrieval of the finding recommendation.
- Parameters:
status
- The status of the retrieval of the finding recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-