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 ofAlloworDenydecisions for each request, and the policies that produced them.results(Consumer<BatchIsAuthorizedWithTokenOutputItem.Builder>... results) A series ofAlloworDenydecisions for each request, and the policies that produced them.results(BatchIsAuthorizedWithTokenOutputItem... results) A series ofAlloworDenydecisions for each request, and the policies that produced them.Methods 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, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaEntityIdentifier.builder().When the
Consumercompletes,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
AlloworDenydecisions for each request, and the policies that produced them.- Parameters:
results- A series ofAlloworDenydecisions 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
AlloworDenydecisions for each request, and the policies that produced them.- Parameters:
results- A series ofAlloworDenydecisions 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 theAlloworDenydecisions for each request, and the policies that produced them.BatchIsAuthorizedWithTokenOutputItem.Builderavoiding the need to create one manually viaBatchIsAuthorizedWithTokenOutputItem.builder().When the
Consumercompletes,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:
-