Interface CheckNoNewAccessResponse.Builder
- All Superinterfaces:
AccessAnalyzerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CheckNoNewAccessResponse.Builder,,CheckNoNewAccessResponse> SdkBuilder<CheckNoNewAccessResponse.Builder,,CheckNoNewAccessResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CheckNoNewAccessResponse
public static interface CheckNoNewAccessResponse.Builder
extends AccessAnalyzerResponse.Builder, SdkPojo, CopyableBuilder<CheckNoNewAccessResponse.Builder,CheckNoNewAccessResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe message indicating whether the updated policy allows new access.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 new access.result(CheckNoNewAccessResult result) The result of the check for new access.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 new access. If the result is
PASS, no new access is allowed by the updated policy. If the result isFAIL, the updated policy might allow new access.- Parameters:
result- The result of the check for new access. If the result isPASS, no new access is allowed by the updated policy. If the result isFAIL, the updated policy might allow new access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
result
The result of the check for new access. If the result is
PASS, no new access is allowed by the updated policy. If the result isFAIL, the updated policy might allow new access.- Parameters:
result- The result of the check for new access. If the result isPASS, no new access is allowed by the updated policy. If the result isFAIL, the updated policy might allow new access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
The message indicating whether the updated policy allows new access.
- Parameters:
message- The message indicating whether the updated policy allows new access.- 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:
-