Interface UpdateGatewayTargetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentCoreControlRequest.Builder
,Buildable
,CopyableBuilder<UpdateGatewayTargetRequest.Builder,
,UpdateGatewayTargetRequest> SdkBuilder<UpdateGatewayTargetRequest.Builder,
,UpdateGatewayTargetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateGatewayTargetRequest
-
Method Summary
Modifier and TypeMethodDescriptioncredentialProviderConfigurations
(Collection<CredentialProviderConfiguration> credentialProviderConfigurations) The updated credential provider configurations for the Gateway Target.credentialProviderConfigurations
(Consumer<CredentialProviderConfiguration.Builder>... credentialProviderConfigurations) The updated credential provider configurations for the Gateway Target.credentialProviderConfigurations
(CredentialProviderConfiguration... credentialProviderConfigurations) The updated credential provider configurations for the Gateway Target.description
(String description) The updated description for the Gateway Target.gatewayIdentifier
(String gatewayIdentifier) The unique identifier of the Gateway associated with the target.The updated name for the Gateway Target.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.targetConfiguration
(Consumer<TargetConfiguration.Builder> targetConfiguration) Sets the value of the TargetConfiguration property for this object.targetConfiguration
(TargetConfiguration targetConfiguration) Sets the value of the TargetConfiguration property for this object.The unique identifier of the Gateway Target to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
gatewayIdentifier
The unique identifier of the Gateway associated with the target.
- Parameters:
gatewayIdentifier
- The unique identifier of the Gateway associated with the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetId
The unique identifier of the Gateway Target to update.
- Parameters:
targetId
- The unique identifier of the Gateway Target to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The updated name for the Gateway Target.
- Parameters:
name
- The updated name for the Gateway Target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description for the Gateway Target.
- Parameters:
description
- The updated description for the Gateway Target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
Sets the value of the TargetConfiguration property for this object.- Parameters:
targetConfiguration
- The new value for the TargetConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
default UpdateGatewayTargetRequest.Builder targetConfiguration(Consumer<TargetConfiguration.Builder> targetConfiguration) Sets the value of the TargetConfiguration property for this object. This is a convenience method that creates an instance of theTargetConfiguration.Builder
avoiding the need to create one manually viaTargetConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetConfiguration(TargetConfiguration)
.- Parameters:
targetConfiguration
- a consumer that will call methods onTargetConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
credentialProviderConfigurations
UpdateGatewayTargetRequest.Builder credentialProviderConfigurations(Collection<CredentialProviderConfiguration> credentialProviderConfigurations) The updated credential provider configurations for the Gateway Target.
- Parameters:
credentialProviderConfigurations
- The updated credential provider configurations for the Gateway Target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialProviderConfigurations
UpdateGatewayTargetRequest.Builder credentialProviderConfigurations(CredentialProviderConfiguration... credentialProviderConfigurations) The updated credential provider configurations for the Gateway Target.
- Parameters:
credentialProviderConfigurations
- The updated credential provider configurations for the Gateway Target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialProviderConfigurations
UpdateGatewayTargetRequest.Builder credentialProviderConfigurations(Consumer<CredentialProviderConfiguration.Builder>... credentialProviderConfigurations) The updated credential provider configurations for the Gateway Target.
This is a convenience method that creates an instance of theCredentialProviderConfiguration.Builder
avoiding the need to create one manually viaCredentialProviderConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocredentialProviderConfigurations(List<CredentialProviderConfiguration>)
.- Parameters:
credentialProviderConfigurations
- a consumer that will call methods onCredentialProviderConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateGatewayTargetRequest.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
UpdateGatewayTargetRequest.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.
-