Interface GetApiKeyCredentialProviderResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentCoreControlResponse.Builder
,Buildable
,CopyableBuilder<GetApiKeyCredentialProviderResponse.Builder,
,GetApiKeyCredentialProviderResponse> SdkBuilder<GetApiKeyCredentialProviderResponse.Builder,
,GetApiKeyCredentialProviderResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetApiKeyCredentialProviderResponse
@Mutable
@NotThreadSafe
public static interface GetApiKeyCredentialProviderResponse.Builder
extends BedrockAgentCoreControlResponse.Builder, SdkPojo, CopyableBuilder<GetApiKeyCredentialProviderResponse.Builder,GetApiKeyCredentialProviderResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapiKeySecretArn
(Consumer<Secret.Builder> apiKeySecretArn) The Amazon Resource Name (ARN) of the API key secret in AWS Secrets Manager.apiKeySecretArn
(Secret apiKeySecretArn) The Amazon Resource Name (ARN) of the API key secret in AWS Secrets Manager.createdTime
(Instant createdTime) The timestamp when the API key credential provider was created.credentialProviderArn
(String credentialProviderArn) The Amazon Resource Name (ARN) of the API key credential provider.lastUpdatedTime
(Instant lastUpdatedTime) The timestamp when the API key credential provider was last updated.The name of the 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 API key secret in AWS Secrets Manager.
- Parameters:
apiKeySecretArn
- The Amazon Resource Name (ARN) of the API key secret in AWS Secrets Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKeySecretArn
default GetApiKeyCredentialProviderResponse.Builder apiKeySecretArn(Consumer<Secret.Builder> apiKeySecretArn) The Amazon Resource Name (ARN) of the API key secret in AWS Secrets Manager.
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 API key credential provider.
- Parameters:
name
- The name of the 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 API key credential provider.
- Parameters:
credentialProviderArn
- The Amazon Resource Name (ARN) of the API key credential provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
The timestamp when the API key credential provider was created.
- Parameters:
createdTime
- The timestamp when the API key credential provider was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The timestamp when the API key credential provider was last updated.
- Parameters:
lastUpdatedTime
- The timestamp when the API key credential provider was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-