Interface GetFindingRecommendationResponse.Builder
-
- All Superinterfaces:
AccessAnalyzerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetFindingRecommendationResponse.Builder,GetFindingRecommendationResponse>,SdkBuilder<GetFindingRecommendationResponse.Builder,GetFindingRecommendationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetFindingRecommendationResponse
public static interface GetFindingRecommendationResponse.Builder extends AccessAnalyzerResponse.Builder, SdkPojo, CopyableBuilder<GetFindingRecommendationResponse.Builder,GetFindingRecommendationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetFindingRecommendationResponse.BuildercompletedAt(Instant completedAt)The time at which the retrieval of the finding recommendation was completed.default GetFindingRecommendationResponse.Buildererror(Consumer<RecommendationError.Builder> error)Detailed information about the reason that the retrieval of a recommendation for the finding failed.GetFindingRecommendationResponse.Buildererror(RecommendationError error)Detailed information about the reason that the retrieval of a recommendation for the finding failed.GetFindingRecommendationResponse.BuildernextToken(String nextToken)A token used for pagination of results returned.GetFindingRecommendationResponse.BuilderrecommendationType(String recommendationType)The type of recommendation for the finding.GetFindingRecommendationResponse.BuilderrecommendationType(RecommendationType recommendationType)The type of recommendation for the finding.GetFindingRecommendationResponse.BuilderrecommendedSteps(Collection<RecommendedStep> recommendedSteps)A group of recommended steps for the finding.GetFindingRecommendationResponse.BuilderrecommendedSteps(Consumer<RecommendedStep.Builder>... recommendedSteps)A group of recommended steps for the finding.GetFindingRecommendationResponse.BuilderrecommendedSteps(RecommendedStep... recommendedSteps)A group of recommended steps for the finding.GetFindingRecommendationResponse.BuilderresourceArn(String resourceArn)The ARN of the resource of the finding.GetFindingRecommendationResponse.BuilderstartedAt(Instant startedAt)The time at which the retrieval of the finding recommendation was started.GetFindingRecommendationResponse.Builderstatus(String status)The status of the retrieval of the finding recommendation.GetFindingRecommendationResponse.Builderstatus(Status status)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 Detail
-
startedAt
GetFindingRecommendationResponse.Builder startedAt(Instant 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
GetFindingRecommendationResponse.Builder completedAt(Instant 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
GetFindingRecommendationResponse.Builder nextToken(String 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
GetFindingRecommendationResponse.Builder error(RecommendationError 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
default GetFindingRecommendationResponse.Builder error(Consumer<RecommendationError.Builder> 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.Builderavoiding the need to create one manually viaRecommendationError.builder().When the
Consumercompletes,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:
error(RecommendationError)
-
resourceArn
GetFindingRecommendationResponse.Builder resourceArn(String 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
GetFindingRecommendationResponse.Builder recommendedSteps(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
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.Builderavoiding the need to create one manually viaRecommendedStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#recommendedSteps(List.) - 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:
#recommendedSteps(java.util.Collection)
-
recommendationType
GetFindingRecommendationResponse.Builder recommendationType(String 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,RecommendationType
-
recommendationType
GetFindingRecommendationResponse.Builder recommendationType(RecommendationType 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,RecommendationType
-
status
GetFindingRecommendationResponse.Builder status(String status)
The status of the retrieval of the finding recommendation.
-
status
GetFindingRecommendationResponse.Builder status(Status status)
The status of the retrieval of the finding recommendation.
-
-