Interface CheckNoPublicAccessResponse.Builder
- All Superinterfaces:
AccessAnalyzerResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<CheckNoPublicAccessResponse.Builder,
,CheckNoPublicAccessResponse> SdkBuilder<CheckNoPublicAccessResponse.Builder,
,CheckNoPublicAccessResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CheckNoPublicAccessResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe message indicating whether the specified policy allows public access to resources.reasons
(Collection<ReasonSummary> reasons) A list of reasons why the specified resource policy grants public access for the resource type.reasons
(Consumer<ReasonSummary.Builder>... reasons) A list of reasons why the specified resource policy grants public access for the resource type.reasons
(ReasonSummary... reasons) A list of reasons why the specified resource policy grants public access for the resource type.The result of the check for public access to the specified resource type.result
(CheckNoPublicAccessResult result) The result of the check for public access to the specified resource type.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
result
The result of the check for public access to the specified resource type. If the result is
PASS
, the policy doesn't allow public access to the specified resource type. If the result isFAIL
, the policy might allow public access to the specified resource type.- Parameters:
result
- The result of the check for public access to the specified resource type. If the result isPASS
, the policy doesn't allow public access to the specified resource type. If the result isFAIL
, the policy might allow public access to the specified resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
result
The result of the check for public access to the specified resource type. If the result is
PASS
, the policy doesn't allow public access to the specified resource type. If the result isFAIL
, the policy might allow public access to the specified resource type.- Parameters:
result
- The result of the check for public access to the specified resource type. If the result isPASS
, the policy doesn't allow public access to the specified resource type. If the result isFAIL
, the policy might allow public access to the specified resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
The message indicating whether the specified policy allows public access to resources.
- Parameters:
message
- The message indicating whether the specified policy allows public access to resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasons
A list of reasons why the specified resource policy grants public access for the resource type.
- Parameters:
reasons
- A list of reasons why the specified resource policy grants public access for the resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasons
A list of reasons why the specified resource policy grants public access for the resource type.
- Parameters:
reasons
- A list of reasons why the specified resource policy grants public access for the resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasons
A list of reasons why the specified resource policy grants public access for the resource type.
This is a convenience method that creates an instance of theReasonSummary.Builder
avoiding the need to create one manually viaReasonSummary.builder()
.When the
Consumer
completes,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:
-