Interface BatchIsAuthorizedResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchIsAuthorizedResponse.Builder,BatchIsAuthorizedResponse>,SdkBuilder<BatchIsAuthorizedResponse.Builder,BatchIsAuthorizedResponse>,SdkPojo,SdkResponse.Builder,VerifiedPermissionsResponse.Builder
- Enclosing class:
- BatchIsAuthorizedResponse
@Mutable @NotThreadSafe public static interface BatchIsAuthorizedResponse.Builder extends VerifiedPermissionsResponse.Builder, SdkPojo, CopyableBuilder<BatchIsAuthorizedResponse.Builder,BatchIsAuthorizedResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchIsAuthorizedResponse.Builderresults(Collection<BatchIsAuthorizedOutputItem> results)A series ofAlloworDenydecisions for each request, and the policies that produced them.BatchIsAuthorizedResponse.Builderresults(Consumer<BatchIsAuthorizedOutputItem.Builder>... results)A series ofAlloworDenydecisions for each request, and the policies that produced them.BatchIsAuthorizedResponse.Builderresults(BatchIsAuthorizedOutputItem... results)A series ofAlloworDenydecisions for each request, and the policies that produced them.-
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
-
Methods inherited from interface software.amazon.awssdk.services.verifiedpermissions.model.VerifiedPermissionsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
results
BatchIsAuthorizedResponse.Builder results(Collection<BatchIsAuthorizedOutputItem> results)
A series of
AlloworDenydecisions for each request, and the policies that produced them. These results are returned in the order they were requested.- Parameters:
results- A series ofAlloworDenydecisions for each request, and the policies that produced them. These results are returned in the order they were requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
BatchIsAuthorizedResponse.Builder results(BatchIsAuthorizedOutputItem... results)
A series of
AlloworDenydecisions for each request, and the policies that produced them. These results are returned in the order they were requested.- Parameters:
results- A series ofAlloworDenydecisions for each request, and the policies that produced them. These results are returned in the order they were requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
BatchIsAuthorizedResponse.Builder results(Consumer<BatchIsAuthorizedOutputItem.Builder>... results)
A series of
This is a convenience method that creates an instance of theAlloworDenydecisions for each request, and the policies that produced them. These results are returned in the order they were requested.BatchIsAuthorizedOutputItem.Builderavoiding the need to create one manually viaBatchIsAuthorizedOutputItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#results(List.) - Parameters:
results- a consumer that will call methods onBatchIsAuthorizedOutputItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#results(java.util.Collection)
-
-