Interface GetApiKeyCredentialProviderResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreControlResponse.Builder,Buildable,CopyableBuilder<GetApiKeyCredentialProviderResponse.Builder,,GetApiKeyCredentialProviderResponse> SdkBuilder<GetApiKeyCredentialProviderResponse.Builder,,GetApiKeyCredentialProviderResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetApiKeyCredentialProviderResponse
-
Method Summary
Modifier and TypeMethodDescriptionapiKeySecretArn(Consumer<Secret.Builder> apiKeySecretArn) The Amazon Resource Name (ARN) of the API key secret in Amazon Web Services Secrets Manager.apiKeySecretArn(Secret apiKeySecretArn) The Amazon Resource Name (ARN) of the API key secret in Amazon Web Services Secrets Manager.apiKeySecretJsonKey(String apiKeySecretJsonKey) The JSON key used to extract the API key value from the Amazon Web Services Secrets Manager secret.apiKeySecretSource(String apiKeySecretSource) The source type of the API key secret.apiKeySecretSource(SecretSourceType apiKeySecretSource) The source type of the API key secret.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, responseMetadataMethods 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, sdkFieldsMethods 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 Amazon Web Services Secrets Manager.
- Parameters:
apiKeySecretArn- The Amazon Resource Name (ARN) of the API key secret in Amazon Web Services 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 Amazon Web Services Secrets Manager.
This is a convenience method that creates an instance of theSecret.Builderavoiding the need to create one manually viaSecret.builder().When the
Consumercompletes,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:
-
apiKeySecretJsonKey
The JSON key used to extract the API key value from the Amazon Web Services Secrets Manager secret.
- Parameters:
apiKeySecretJsonKey- The JSON key used to extract the API key value from the Amazon Web Services Secrets Manager secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKeySecretSource
The source type of the API key secret. Either
MANAGEDif the secret is managed by the service, orEXTERNALif managed by the user in Amazon Web Services Secrets Manager.- Parameters:
apiKeySecretSource- The source type of the API key secret. EitherMANAGEDif the secret is managed by the service, orEXTERNALif managed by the user in Amazon Web Services Secrets Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiKeySecretSource
The source type of the API key secret. Either
MANAGEDif the secret is managed by the service, orEXTERNALif managed by the user in Amazon Web Services Secrets Manager.- Parameters:
apiKeySecretSource- The source type of the API key secret. EitherMANAGEDif the secret is managed by the service, orEXTERNALif managed by the user in Amazon Web Services Secrets Manager.- 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.
-