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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BatchIsAuthorizedWithTokenResponse.Builderprincipal(Consumer<EntityIdentifier.Builder> principal)The identifier of the principal in the ID or access token.BatchIsAuthorizedWithTokenResponse.Builderprincipal(EntityIdentifier principal)The identifier of the principal in the ID or access token.BatchIsAuthorizedWithTokenResponse.Builderresults(Collection<BatchIsAuthorizedWithTokenOutputItem> results)A series ofAlloworDenydecisions for each request, and the policies that produced them.BatchIsAuthorizedWithTokenResponse.Builderresults(Consumer<BatchIsAuthorizedWithTokenOutputItem.Builder>... results)A series ofAlloworDenydecisions for each request, and the policies that produced them.BatchIsAuthorizedWithTokenResponse.Builderresults(BatchIsAuthorizedWithTokenOutputItem... 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, 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
-
principal
BatchIsAuthorizedWithTokenResponse.Builder principal(EntityIdentifier 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:
principal(EntityIdentifier)
-
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
BatchIsAuthorizedWithTokenResponse.Builder results(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
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 to#results(List.) - 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:
#results(java.util.Collection)
-
-