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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaHttpContext.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaMqttContext.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTlsContext.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-