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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CheckNoNewAccessResponse.Buildermessage(String message)The message indicating whether the updated policy allows new access.CheckNoNewAccessResponse.Builderreasons(Collection<ReasonSummary> reasons)A description of the reasoning of the result.CheckNoNewAccessResponse.Builderreasons(Consumer<ReasonSummary.Builder>... reasons)A description of the reasoning of the result.CheckNoNewAccessResponse.Builderreasons(ReasonSummary... reasons)A description of the reasoning of the result.CheckNoNewAccessResponse.Builderresult(String result)The result of the check for new access.CheckNoNewAccessResponse.Builderresult(CheckNoNewAccessResult result)The result of the check for new access.-
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
CheckNoNewAccessResponse.Builder result(String 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:
CheckNoNewAccessResult,CheckNoNewAccessResult
-
result
CheckNoNewAccessResponse.Builder result(CheckNoNewAccessResult 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:
CheckNoNewAccessResult,CheckNoNewAccessResult
-
message
CheckNoNewAccessResponse.Builder message(String 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
CheckNoNewAccessResponse.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
CheckNoNewAccessResponse.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
CheckNoNewAccessResponse.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)
-
-