Interface TestInvokeAuthorizerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<TestInvokeAuthorizerRequest.Builder,
,TestInvokeAuthorizerRequest> IotRequest.Builder
,SdkBuilder<TestInvokeAuthorizerRequest.Builder,
,TestInvokeAuthorizerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
TestInvokeAuthorizerRequest
-
Method Summary
Modifier and TypeMethodDescriptionauthorizerName
(String authorizerName) The custom authorizer name.httpContext
(Consumer<HttpContext.Builder> httpContext) Specifies a test HTTP authorization request.httpContext
(HttpContext httpContext) Specifies a test HTTP authorization request.mqttContext
(Consumer<MqttContext.Builder> mqttContext) Specifies a test MQTT authorization request.mqttContext
(MqttContext mqttContext) Specifies a test MQTT authorization request.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tlsContext
(Consumer<TlsContext.Builder> tlsContext) Specifies a test TLS authorization request.tlsContext
(TlsContext tlsContext) Specifies a test TLS authorization request.The token returned by your custom authentication service.tokenSignature
(String tokenSignature) The signature made with the token and your custom authentication service's private key.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
authorizerName
The custom authorizer name.
- Parameters:
authorizerName
- The custom authorizer name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
token
The token returned by your custom authentication service.
- Parameters:
token
- The token returned by your custom authentication service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenSignature
The signature made with the token and your custom authentication service's private key. This value must be Base-64-encoded.
- Parameters:
tokenSignature
- The signature made with the token and your custom authentication service's private key. This value must be Base-64-encoded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpContext
Specifies a test HTTP authorization request.
- Parameters:
httpContext
- Specifies a test HTTP authorization request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpContext
Specifies a test HTTP authorization request.
This is a convenience method that creates an instance of theHttpContext.Builder
avoiding the need to create one manually viaHttpContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohttpContext(HttpContext)
.- Parameters:
httpContext
- a consumer that will call methods onHttpContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mqttContext
Specifies a test MQTT authorization request.
- Parameters:
mqttContext
- Specifies a test MQTT authorization request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mqttContext
Specifies a test MQTT authorization request.
This is a convenience method that creates an instance of theMqttContext.Builder
avoiding the need to create one manually viaMqttContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomqttContext(MqttContext)
.- Parameters:
mqttContext
- a consumer that will call methods onMqttContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tlsContext
Specifies a test TLS authorization request.
- Parameters:
tlsContext
- Specifies a test TLS authorization request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tlsContext
Specifies a test TLS authorization request.
This is a convenience method that creates an instance of theTlsContext.Builder
avoiding the need to create one manually viaTlsContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totlsContext(TlsContext)
.- Parameters:
tlsContext
- a consumer that will call methods onTlsContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
TestInvokeAuthorizerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
TestInvokeAuthorizerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-