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 SummaryModifier 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.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
apiKeySecretArnThe 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.
 
- 
apiKeySecretArndefault 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.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 on- Secret.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nameThe 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.
 
- 
credentialProviderArnThe 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.
 
 
-