Interface ValidatePolicyResponse.Builder
- All Superinterfaces:
AccessAnalyzerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ValidatePolicyResponse.Builder,,ValidatePolicyResponse> SdkBuilder<ValidatePolicyResponse.Builder,,ValidatePolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ValidatePolicyResponse
public static interface ValidatePolicyResponse.Builder
extends AccessAnalyzerResponse.Builder, SdkPojo, CopyableBuilder<ValidatePolicyResponse.Builder,ValidatePolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfindings(Collection<ValidatePolicyFinding> findings) The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.findings(Consumer<ValidatePolicyFinding.Builder>... findings) The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.findings(ValidatePolicyFinding... findings) The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.A token used for pagination of results returned.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
-
findings
The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.
- Parameters:
findings- The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.
- Parameters:
findings- The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.
This is a convenience method that creates an instance of theValidatePolicyFinding.Builderavoiding the need to create one manually viaValidatePolicyFinding.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofindings(List<ValidatePolicyFinding>).- Parameters:
findings- a consumer that will call methods onValidatePolicyFinding.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token used for pagination of results returned.
- Parameters:
nextToken- A token used for pagination of results returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-