Interface GetResourceApiKeyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentCoreRequest.Builder
,Buildable
,CopyableBuilder<GetResourceApiKeyRequest.Builder,
,GetResourceApiKeyRequest> SdkBuilder<GetResourceApiKeyRequest.Builder,
,GetResourceApiKeyRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetResourceApiKeyRequest
@Mutable
@NotThreadSafe
public static interface GetResourceApiKeyRequest.Builder
extends BedrockAgentCoreRequest.Builder, SdkPojo, CopyableBuilder<GetResourceApiKeyRequest.Builder,GetResourceApiKeyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceCredentialProviderName
(String resourceCredentialProviderName) The credential provider name for the resource from which you are retrieving the API key.workloadIdentityToken
(String workloadIdentityToken) The identity token of the workload from which you want to retrieve the API key.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreRequest.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
-
workloadIdentityToken
The identity token of the workload from which you want to retrieve the API key.
- Parameters:
workloadIdentityToken
- The identity token of the workload from which you want to retrieve the API key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceCredentialProviderName
GetResourceApiKeyRequest.Builder resourceCredentialProviderName(String resourceCredentialProviderName) The credential provider name for the resource from which you are retrieving the API key.
- Parameters:
resourceCredentialProviderName
- The credential provider name for the resource from which you are retrieving the API key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetResourceApiKeyRequest.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
GetResourceApiKeyRequest.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.
-