Interface BatchIsAuthorizedWithTokenResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchIsAuthorizedWithTokenResponse.Builder,
,BatchIsAuthorizedWithTokenResponse> SdkBuilder<BatchIsAuthorizedWithTokenResponse.Builder,
,BatchIsAuthorizedWithTokenResponse> SdkPojo
,SdkResponse.Builder
,VerifiedPermissionsResponse.Builder
- Enclosing class:
BatchIsAuthorizedWithTokenResponse
public static interface BatchIsAuthorizedWithTokenResponse.Builder
extends VerifiedPermissionsResponse.Builder, SdkPojo, CopyableBuilder<BatchIsAuthorizedWithTokenResponse.Builder,BatchIsAuthorizedWithTokenResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprincipal
(Consumer<EntityIdentifier.Builder> principal) The identifier of the principal in the ID or access token.principal
(EntityIdentifier principal) The identifier of the principal in the ID or access token.A series ofAllow
orDeny
decisions for each request, and the policies that produced them.results
(Consumer<BatchIsAuthorizedWithTokenOutputItem.Builder>... results) A series ofAllow
orDeny
decisions for each request, and the policies that produced them.results
(BatchIsAuthorizedWithTokenOutputItem... results) A series ofAllow
orDeny
decisions 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, 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 Details
-
principal
The identifier of the principal in the ID or access token.
- Parameters:
principal
- The identifier of the principal in the ID or access token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
default BatchIsAuthorizedWithTokenResponse.Builder principal(Consumer<EntityIdentifier.Builder> principal) The identifier of the principal in the ID or access token.
This is a convenience method that creates an instance of theEntityIdentifier.Builder
avoiding the need to create one manually viaEntityIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprincipal(EntityIdentifier)
.- Parameters:
principal
- a consumer that will call methods onEntityIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
results
BatchIsAuthorizedWithTokenResponse.Builder results(Collection<BatchIsAuthorizedWithTokenOutputItem> results) A series of
Allow
orDeny
decisions for each request, and the policies that produced them.- Parameters:
results
- A series ofAllow
orDeny
decisions for each request, and the policies that produced them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
A series of
Allow
orDeny
decisions for each request, and the policies that produced them.- Parameters:
results
- A series ofAllow
orDeny
decisions for each request, and the policies that produced them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
BatchIsAuthorizedWithTokenResponse.Builder results(Consumer<BatchIsAuthorizedWithTokenOutputItem.Builder>... results) A series of
This is a convenience method that creates an instance of theAllow
orDeny
decisions for each request, and the policies that produced them.BatchIsAuthorizedWithTokenOutputItem.Builder
avoiding the need to create one manually viaBatchIsAuthorizedWithTokenOutputItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresults(List<BatchIsAuthorizedWithTokenOutputItem>)
.- Parameters:
results
- a consumer that will call methods onBatchIsAuthorizedWithTokenOutputItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-