Interface CreatePluginRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreatePluginRequest.Builder,
,CreatePluginRequest> QBusinessRequest.Builder
,SdkBuilder<CreatePluginRequest.Builder,
,CreatePluginRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreatePluginRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The identifier of the application that will contain the plugin.default CreatePluginRequest.Builder
authConfiguration
(Consumer<PluginAuthConfiguration.Builder> authConfiguration) Sets the value of the AuthConfiguration property for this object.authConfiguration
(PluginAuthConfiguration authConfiguration) Sets the value of the AuthConfiguration property for this object.clientToken
(String clientToken) A token that you provide to identify the request to create your Amazon Q Business plugin.default CreatePluginRequest.Builder
customPluginConfiguration
(Consumer<CustomPluginConfiguration.Builder> customPluginConfiguration) Contains configuration for a custom plugin.customPluginConfiguration
(CustomPluginConfiguration customPluginConfiguration) Contains configuration for a custom plugin.displayName
(String displayName) A the name for your plugin.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The source URL used for plugin configuration.tags
(Collection<Tag> tags) A list of key-value pairs that identify or categorize the data source connector.tags
(Consumer<Tag.Builder>... tags) A list of key-value pairs that identify or categorize the data source connector.A list of key-value pairs that identify or categorize the data source connector.The type of plugin you want to create.type
(PluginType type) The type of plugin you want to create.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.qbusiness.model.QBusinessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationId
The identifier of the application that will contain the plugin.
- Parameters:
applicationId
- The identifier of the application that will contain the plugin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
A the name for your plugin.
- Parameters:
displayName
- A the name for your plugin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of plugin you want to create.
- Parameters:
type
- The type of plugin you want to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of plugin you want to create.
- Parameters:
type
- The type of plugin you want to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authConfiguration
Sets the value of the AuthConfiguration property for this object.- Parameters:
authConfiguration
- The new value for the AuthConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authConfiguration
default CreatePluginRequest.Builder authConfiguration(Consumer<PluginAuthConfiguration.Builder> authConfiguration) Sets the value of the AuthConfiguration property for this object. This is a convenience method that creates an instance of thePluginAuthConfiguration.Builder
avoiding the need to create one manually viaPluginAuthConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthConfiguration(PluginAuthConfiguration)
.- Parameters:
authConfiguration
- a consumer that will call methods onPluginAuthConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverUrl
The source URL used for plugin configuration.
- Parameters:
serverUrl
- The source URL used for plugin configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customPluginConfiguration
CreatePluginRequest.Builder customPluginConfiguration(CustomPluginConfiguration customPluginConfiguration) Contains configuration for a custom plugin.
- Parameters:
customPluginConfiguration
- Contains configuration for a custom plugin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customPluginConfiguration
default CreatePluginRequest.Builder customPluginConfiguration(Consumer<CustomPluginConfiguration.Builder> customPluginConfiguration) Contains configuration for a custom plugin.
This is a convenience method that creates an instance of theCustomPluginConfiguration.Builder
avoiding the need to create one manually viaCustomPluginConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomPluginConfiguration(CustomPluginConfiguration)
.- Parameters:
customPluginConfiguration
- a consumer that will call methods onCustomPluginConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
- Parameters:
tags
- A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
- Parameters:
tags
- A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A token that you provide to identify the request to create your Amazon Q Business plugin.
- Parameters:
clientToken
- A token that you provide to identify the request to create your Amazon Q Business plugin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreatePluginRequest.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
CreatePluginRequest.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.
-