public static interface TestInvokeAuthorizerResponse.Builder extends APIGatewayResponse.Builder, CopyableBuilder<TestInvokeAuthorizerResponse.Builder,TestInvokeAuthorizerResponse>
| Modifier and Type | Method and Description |
|---|---|
TestInvokeAuthorizerResponse.Builder |
authorization(Map<String,? extends Collection<String>> authorization)
Sets the value of the Authorization property for this object.
|
TestInvokeAuthorizerResponse.Builder |
claims(Map<String,String> claims)
The open identity claims,
with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.
|
TestInvokeAuthorizerResponse.Builder |
clientStatus(Integer clientStatus)
The HTTP status code that the client would have received.
|
TestInvokeAuthorizerResponse.Builder |
latency(Long latency)
The execution latency of the test authorizer request.
|
TestInvokeAuthorizerResponse.Builder |
log(String log)
The Amazon API Gateway execution log for the test authorizer request.
|
TestInvokeAuthorizerResponse.Builder |
policy(String policy)
The JSON policy document returned by the Authorizer
|
TestInvokeAuthorizerResponse.Builder |
principalId(String principalId)
The principal identity returned by the Authorizer
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildTestInvokeAuthorizerResponse.Builder clientStatus(Integer clientStatus)
The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.
clientStatus - The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.TestInvokeAuthorizerResponse.Builder log(String log)
The Amazon API Gateway execution log for the test authorizer request.
log - The Amazon API Gateway execution log for the test authorizer request.TestInvokeAuthorizerResponse.Builder latency(Long latency)
The execution latency of the test authorizer request.
latency - The execution latency of the test authorizer request.TestInvokeAuthorizerResponse.Builder principalId(String principalId)
The principal identity returned by the Authorizer
principalId - The principal identity returned by the AuthorizerTestInvokeAuthorizerResponse.Builder policy(String policy)
The JSON policy document returned by the Authorizer
policy - The JSON policy document returned by the AuthorizerTestInvokeAuthorizerResponse.Builder authorization(Map<String,? extends Collection<String>> authorization)
authorization - The new value for the Authorization property for this object.TestInvokeAuthorizerResponse.Builder claims(Map<String,String> claims)
The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.
claims - The open identity
claims, with any supported custom attributes, returned from the Cognito Your User Pool configured
for the API.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.