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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TestInvokeAuthorizerResponse.Builderauthorization(Map<String,? extends Collection<String>> authorization)The authorization response.TestInvokeAuthorizerResponse.Builderclaims(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.BuilderclientStatus(Integer clientStatus)The HTTP status code that the client would have received.TestInvokeAuthorizerResponse.Builderlatency(Long latency)The execution latency, in ms, of the test authorizer request.TestInvokeAuthorizerResponse.Builderlog(String log)The API Gateway execution log for the test authorizer request.TestInvokeAuthorizerResponse.Builderpolicy(String policy)The JSON policy document returned by the AuthorizerTestInvokeAuthorizerResponse.BuilderprincipalId(String principalId)The principal identity returned by the Authorizer-
Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayResponse.Builder
build, responseMetadata, responseMetadata
-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
clientStatus
TestInvokeAuthorizerResponse.Builder clientStatus(Integer 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
TestInvokeAuthorizerResponse.Builder log(String 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
TestInvokeAuthorizerResponse.Builder latency(Long 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
TestInvokeAuthorizerResponse.Builder principalId(String 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
TestInvokeAuthorizerResponse.Builder policy(String 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
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.
- 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.
-
-