Interface CreateCustomPluginRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateCustomPluginRequest.Builder,
,CreateCustomPluginRequest> KafkaConnectRequest.Builder
,SdkBuilder<CreateCustomPluginRequest.Builder,
,CreateCustomPluginRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateCustomPluginRequest
public static interface CreateCustomPluginRequest.Builder
extends KafkaConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateCustomPluginRequest.Builder,CreateCustomPluginRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncontentType
(String contentType) The type of the plugin file.contentType
(CustomPluginContentType contentType) The type of the plugin file.description
(String description) A summary description of the custom plugin.location
(Consumer<CustomPluginLocation.Builder> location) Information about the location of a custom plugin.location
(CustomPluginLocation location) Information about the location of a custom plugin.The name of the custom plugin.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.kafkaconnect.model.KafkaConnectRequest.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
-
contentType
The type of the plugin file.
- Parameters:
contentType
- The type of the plugin file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentType
The type of the plugin file.
- Parameters:
contentType
- The type of the plugin file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A summary description of the custom plugin.
- Parameters:
description
- A summary description of the custom plugin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
Information about the location of a custom plugin.
- Parameters:
location
- Information about the location of a custom plugin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
Information about the location of a custom plugin.
This is a convenience method that creates an instance of theCustomPluginLocation.Builder
avoiding the need to create one manually viaCustomPluginLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocation(CustomPluginLocation)
.- Parameters:
location
- a consumer that will call methods onCustomPluginLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the custom plugin.
- Parameters:
name
- The name of the custom plugin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCustomPluginRequest.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
CreateCustomPluginRequest.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.
-