Interface PassthroughTargetConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PassthroughTargetConfiguration.Builder,,PassthroughTargetConfiguration> SdkBuilder<PassthroughTargetConfiguration.Builder,,PassthroughTargetConfiguration> SdkPojo
- Enclosing class:
PassthroughTargetConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe HTTPS endpoint that the gateway forwards requests to for this passthrough target.protocolType(String protocolType) The application protocol the passthrough target implements.protocolType(PassthroughProtocolType protocolType) The application protocol the passthrough target implements.The API schema configuration that defines the structure of the passthrough target's API.schema(HttpApiSchemaConfiguration schema) The API schema configuration that defines the structure of the passthrough target's API.stickinessConfiguration(Consumer<StickinessConfiguration.Builder> stickinessConfiguration) The session stickiness configuration for the passthrough target.stickinessConfiguration(StickinessConfiguration stickinessConfiguration) The session stickiness configuration for the passthrough target.Methods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
endpoint
The HTTPS endpoint that the gateway forwards requests to for this passthrough target.
- Parameters:
endpoint- The HTTPS endpoint that the gateway forwards requests to for this passthrough target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocolType
The application protocol the passthrough target implements. Required for passthrough targets.
- Parameters:
protocolType- The application protocol the passthrough target implements. Required for passthrough targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocolType
The application protocol the passthrough target implements. Required for passthrough targets.
- Parameters:
protocolType- The application protocol the passthrough target implements. Required for passthrough targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schema
The API schema configuration that defines the structure of the passthrough target's API.
- Parameters:
schema- The API schema configuration that defines the structure of the passthrough target's API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
default PassthroughTargetConfiguration.Builder schema(Consumer<HttpApiSchemaConfiguration.Builder> schema) The API schema configuration that defines the structure of the passthrough target's API.
This is a convenience method that creates an instance of theHttpApiSchemaConfiguration.Builderavoiding the need to create one manually viaHttpApiSchemaConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschema(HttpApiSchemaConfiguration).- Parameters:
schema- a consumer that will call methods onHttpApiSchemaConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stickinessConfiguration
PassthroughTargetConfiguration.Builder stickinessConfiguration(StickinessConfiguration stickinessConfiguration) The session stickiness configuration for the passthrough target. This configuration routes requests within the same session to the same target.
- Parameters:
stickinessConfiguration- The session stickiness configuration for the passthrough target. This configuration routes requests within the same session to the same target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stickinessConfiguration
default PassthroughTargetConfiguration.Builder stickinessConfiguration(Consumer<StickinessConfiguration.Builder> stickinessConfiguration) The session stickiness configuration for the passthrough target. This configuration routes requests within the same session to the same target.
This is a convenience method that creates an instance of theStickinessConfiguration.Builderavoiding the need to create one manually viaStickinessConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostickinessConfiguration(StickinessConfiguration).- Parameters:
stickinessConfiguration- a consumer that will call methods onStickinessConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-