Interface TestInvokeAuthorizerResponse.Builder
- All Superinterfaces:
ApiGatewayResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<TestInvokeAuthorizerResponse.Builder,,TestInvokeAuthorizerResponse> SdkBuilder<TestInvokeAuthorizerResponse.Builder,,TestInvokeAuthorizerResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
TestInvokeAuthorizerResponse
public static interface TestInvokeAuthorizerResponse.Builder
extends ApiGatewayResponse.Builder, SdkPojo, CopyableBuilder<TestInvokeAuthorizerResponse.Builder,TestInvokeAuthorizerResponse>
-
Method Summary
Modifier and TypeMethodDescriptionauthorization(Map<String, ? extends Collection<String>> authorization) The authorization response.The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.clientStatus(Integer clientStatus) The HTTP status code that the client would have received.The execution latency, in ms, of the test authorizer request.The API Gateway execution log for the test authorizer request.The JSON policy document returned by the AuthorizerprincipalId(String principalId) The principal identity returned by the AuthorizerMethods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
clientStatus
The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.
- Parameters:
clientStatus- The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
log
The API Gateway execution log for the test authorizer request.
- Parameters:
log- The API Gateway execution log for the test authorizer request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latency
The execution latency, in ms, of the test authorizer request.
- Parameters:
latency- The execution latency, in ms, of the test authorizer request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalId
The principal identity returned by the Authorizer
- Parameters:
principalId- The principal identity returned by the Authorizer- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The JSON policy document returned by the Authorizer
- Parameters:
policy- The JSON policy document returned by the Authorizer- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorization
TestInvokeAuthorizerResponse.Builder authorization(Map<String, ? extends Collection<String>> authorization) The authorization response.
- Parameters:
authorization- The authorization response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
claims
The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.
- Parameters:
claims- The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-