Interface CreateApiKeyCredentialProviderResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentCoreControlResponse.Builder
,Buildable
,CopyableBuilder<CreateApiKeyCredentialProviderResponse.Builder,
,CreateApiKeyCredentialProviderResponse> SdkBuilder<CreateApiKeyCredentialProviderResponse.Builder,
,CreateApiKeyCredentialProviderResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateApiKeyCredentialProviderResponse
@Mutable
@NotThreadSafe
public static interface CreateApiKeyCredentialProviderResponse.Builder
extends BedrockAgentCoreControlResponse.Builder, SdkPojo, CopyableBuilder<CreateApiKeyCredentialProviderResponse.Builder,CreateApiKeyCredentialProviderResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapiKeySecretArn
(Consumer<Secret.Builder> apiKeySecretArn) The Amazon Resource Name (ARN) of the secret containing the API key.apiKeySecretArn
(Secret apiKeySecretArn) The Amazon Resource Name (ARN) of the secret containing the API key.credentialProviderArn
(String credentialProviderArn) The Amazon Resource Name (ARN) of the created API key credential provider.The name of the created API key credential provider.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
apiKeySecretArn
The Amazon Resource Name (ARN) of the secret containing the API key.
- Parameters:
apiKeySecretArn
- The Amazon Resource Name (ARN) of the secret containing the API key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKeySecretArn
default CreateApiKeyCredentialProviderResponse.Builder apiKeySecretArn(Consumer<Secret.Builder> apiKeySecretArn) The Amazon Resource Name (ARN) of the secret containing the API key.
This is a convenience method that creates an instance of theSecret.Builder
avoiding the need to create one manually viaSecret.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapiKeySecretArn(Secret)
.- Parameters:
apiKeySecretArn
- a consumer that will call methods onSecret.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the created API key credential provider.
- Parameters:
name
- The name of the created API key credential provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialProviderArn
The Amazon Resource Name (ARN) of the created API key credential provider.
- Parameters:
credentialProviderArn
- The Amazon Resource Name (ARN) of the created API key credential provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-