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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidatePolicyResponse.Builderfindings(Collection<ValidatePolicyFinding> findings)The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.ValidatePolicyResponse.Builderfindings(Consumer<ValidatePolicyFinding.Builder>... findings)The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.ValidatePolicyResponse.Builderfindings(ValidatePolicyFinding... findings)The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.ValidatePolicyResponse.BuildernextToken(String nextToken)A token used for pagination of results returned.-
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
-
findings
ValidatePolicyResponse.Builder findings(Collection<ValidatePolicyFinding> 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
ValidatePolicyResponse.Builder findings(ValidatePolicyFinding... 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
ValidatePolicyResponse.Builder findings(Consumer<ValidatePolicyFinding.Builder>... 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 to#findings(List.) - 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:
#findings(java.util.Collection)
-
nextToken
ValidatePolicyResponse.Builder nextToken(String 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.
-
-