Interface HttpConnectorTargetConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HttpConnectorTargetConfiguration.Builder,,HttpConnectorTargetConfiguration> SdkBuilder<HttpConnectorTargetConfiguration.Builder,,HttpConnectorTargetConfiguration> SdkPojo
- Enclosing class:
HttpConnectorTargetConfiguration
@Mutable
@NotThreadSafe
public static interface HttpConnectorTargetConfiguration.Builder
extends SdkPojo, CopyableBuilder<HttpConnectorTargetConfiguration.Builder,HttpConnectorTargetConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionparameters(Map<String, String> parameters) The resource parameters for this connector (for example,memoryId).source(Consumer<HttpConnectorSource.Builder> source) The source configuration identifying which HTTP connector to use.source(HttpConnectorSource source) The source configuration identifying which HTTP connector to use.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
-
source
The source configuration identifying which HTTP connector to use.
- Parameters:
source- The source configuration identifying which HTTP connector to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default HttpConnectorTargetConfiguration.Builder source(Consumer<HttpConnectorSource.Builder> source) The source configuration identifying which HTTP connector to use.
This is a convenience method that creates an instance of theHttpConnectorSource.Builderavoiding the need to create one manually viaHttpConnectorSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(HttpConnectorSource).- Parameters:
source- a consumer that will call methods onHttpConnectorSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parameters
The resource parameters for this connector (for example,
memoryId). The service validates these parameters against the request path at runtime.- Parameters:
parameters- The resource parameters for this connector (for example,memoryId). The service validates these parameters against the request path at runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-