Interface CheckAccessNotGrantedResponse.Builder
-
- All Superinterfaces:
AccessAnalyzerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CheckAccessNotGrantedResponse.Builder,CheckAccessNotGrantedResponse>,SdkBuilder<CheckAccessNotGrantedResponse.Builder,CheckAccessNotGrantedResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CheckAccessNotGrantedResponse
public static interface CheckAccessNotGrantedResponse.Builder extends AccessAnalyzerResponse.Builder, SdkPojo, CopyableBuilder<CheckAccessNotGrantedResponse.Builder,CheckAccessNotGrantedResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CheckAccessNotGrantedResponse.Buildermessage(String message)The message indicating whether the specified access is allowed.CheckAccessNotGrantedResponse.Builderreasons(Collection<ReasonSummary> reasons)A description of the reasoning of the result.CheckAccessNotGrantedResponse.Builderreasons(Consumer<ReasonSummary.Builder>... reasons)A description of the reasoning of the result.CheckAccessNotGrantedResponse.Builderreasons(ReasonSummary... reasons)A description of the reasoning of the result.CheckAccessNotGrantedResponse.Builderresult(String result)The result of the check for whether the access is allowed.CheckAccessNotGrantedResponse.Builderresult(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, 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
-
result
CheckAccessNotGrantedResponse.Builder result(String 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:
CheckAccessNotGrantedResult,CheckAccessNotGrantedResult
-
result
CheckAccessNotGrantedResponse.Builder result(CheckAccessNotGrantedResult 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:
CheckAccessNotGrantedResult,CheckAccessNotGrantedResult
-
message
CheckAccessNotGrantedResponse.Builder message(String 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
CheckAccessNotGrantedResponse.Builder reasons(Collection<ReasonSummary> 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
CheckAccessNotGrantedResponse.Builder reasons(ReasonSummary... 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
CheckAccessNotGrantedResponse.Builder reasons(Consumer<ReasonSummary.Builder>... 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 to#reasons(List.) - 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:
#reasons(java.util.Collection)
-
-