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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreRequest.Builder
buildMethods 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
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-