Interface CheckNoPublicAccessResponse.Builder
-
- All Superinterfaces:
AccessAnalyzerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CheckNoPublicAccessResponse.Builder,CheckNoPublicAccessResponse>,SdkBuilder<CheckNoPublicAccessResponse.Builder,CheckNoPublicAccessResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CheckNoPublicAccessResponse
public static interface CheckNoPublicAccessResponse.Builder extends AccessAnalyzerResponse.Builder, SdkPojo, CopyableBuilder<CheckNoPublicAccessResponse.Builder,CheckNoPublicAccessResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CheckNoPublicAccessResponse.Buildermessage(String message)The message indicating whether the specified policy allows public access to resources.CheckNoPublicAccessResponse.Builderreasons(Collection<ReasonSummary> reasons)A list of reasons why the specified resource policy grants public access for the resource type.CheckNoPublicAccessResponse.Builderreasons(Consumer<ReasonSummary.Builder>... reasons)A list of reasons why the specified resource policy grants public access for the resource type.CheckNoPublicAccessResponse.Builderreasons(ReasonSummary... reasons)A list of reasons why the specified resource policy grants public access for the resource type.CheckNoPublicAccessResponse.Builderresult(String result)The result of the check for public access to the specified resource type.CheckNoPublicAccessResponse.Builderresult(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
result
CheckNoPublicAccessResponse.Builder result(String 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:
CheckNoPublicAccessResult,CheckNoPublicAccessResult
-
result
CheckNoPublicAccessResponse.Builder result(CheckNoPublicAccessResult 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:
CheckNoPublicAccessResult,CheckNoPublicAccessResult
-
message
CheckNoPublicAccessResponse.Builder message(String 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
CheckNoPublicAccessResponse.Builder reasons(Collection<ReasonSummary> 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
CheckNoPublicAccessResponse.Builder reasons(ReasonSummary... 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
CheckNoPublicAccessResponse.Builder reasons(Consumer<ReasonSummary.Builder>... 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.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)
-
-