Interface CheckAccessNotGrantedResponse.Builder
- All Superinterfaces:
AccessAnalyzerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CheckAccessNotGrantedResponse.Builder,,CheckAccessNotGrantedResponse> SdkBuilder<CheckAccessNotGrantedResponse.Builder,,CheckAccessNotGrantedResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CheckAccessNotGrantedResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe message indicating whether the specified access is allowed.reasons(Collection<ReasonSummary> reasons) A description of the reasoning of the result.reasons(Consumer<ReasonSummary.Builder>... reasons) A description of the reasoning of the result.reasons(ReasonSummary... reasons) A description of the reasoning of the result.The result of the check for whether the access is allowed.result(CheckAccessNotGrantedResult result) The result of the check for whether the access is allowed.Methods inherited from interface software.amazon.awssdk.services.accessanalyzer.model.AccessAnalyzerResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
result
The result of the check for whether the access is allowed. If the result is
PASS, the specified policy doesn't allow any of the specified permissions in the access object. If the result isFAIL, the specified policy might allow some or all of the permissions in the access object.- Parameters:
result- The result of the check for whether the access is allowed. If the result isPASS, the specified policy doesn't allow any of the specified permissions in the access object. If the result isFAIL, the specified policy might allow some or all of the permissions in the access object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
result
The result of the check for whether the access is allowed. If the result is
PASS, the specified policy doesn't allow any of the specified permissions in the access object. If the result isFAIL, the specified policy might allow some or all of the permissions in the access object.- Parameters:
result- The result of the check for whether the access is allowed. If the result isPASS, the specified policy doesn't allow any of the specified permissions in the access object. If the result isFAIL, the specified policy might allow some or all of the permissions in the access object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
The message indicating whether the specified access is allowed.
- Parameters:
message- The message indicating whether the specified access is allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasons
A description of the reasoning of the result.
- Parameters:
reasons- A description of the reasoning of the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasons
A description of the reasoning of the result.
- Parameters:
reasons- A description of the reasoning of the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasons
A description of the reasoning of the result.
This is a convenience method that creates an instance of theReasonSummary.Builderavoiding the need to create one manually viaReasonSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreasons(List<ReasonSummary>).- Parameters:
reasons- a consumer that will call methods onReasonSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-