Interface CreateConfigurationBundleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<CreateConfigurationBundleRequest.Builder,,CreateConfigurationBundleRequest> SdkBuilder<CreateConfigurationBundleRequest.Builder,,CreateConfigurationBundleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateConfigurationBundleRequest
-
Method Summary
Modifier and TypeMethodDescriptionbranchName(String branchName) The branch name for version tracking.bundleName(String bundleName) The name for the configuration bundle.clientToken(String clientToken) A unique, case-sensitive identifier to ensure that the API request completes no more than one time.commitMessage(String commitMessage) A commit message describing the initial version of the configuration bundle.components(Map<String, ComponentConfiguration> components) A map of component identifiers to their configurations.createdBy(Consumer<VersionCreatedBySource.Builder> createdBy) The source that created this version, including the source name and optional ARN.createdBy(VersionCreatedBySource createdBy) The source that created this version, including the source name and optional ARN.description(String description) The description for the configuration bundle.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A map of tag keys and values to assign to the configuration bundle.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.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
-
clientToken
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundleName
The name for the configuration bundle. Names must be unique within your account.
- Parameters:
bundleName- The name for the configuration bundle. Names must be unique within your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description for the configuration bundle.
- Parameters:
description- The description for the configuration bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
components
A map of component identifiers to their configurations. Each component represents a configurable element within the bundle.
- Parameters:
components- A map of component identifiers to their configurations. Each component represents a configurable element within the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branchName
The branch name for version tracking. Defaults to
mainlineif not specified.- Parameters:
branchName- The branch name for version tracking. Defaults tomainlineif not specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitMessage
A commit message describing the initial version of the configuration bundle.
- Parameters:
commitMessage- A commit message describing the initial version of the configuration bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The source that created this version, including the source name and optional ARN.
- Parameters:
createdBy- The source that created this version, including the source name and optional ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
default CreateConfigurationBundleRequest.Builder createdBy(Consumer<VersionCreatedBySource.Builder> createdBy) The source that created this version, including the source name and optional ARN.
This is a convenience method that creates an instance of theVersionCreatedBySource.Builderavoiding the need to create one manually viaVersionCreatedBySource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreatedBy(VersionCreatedBySource).- Parameters:
createdBy- a consumer that will call methods onVersionCreatedBySource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A map of tag keys and values to assign to the configuration bundle. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
- Parameters:
tags- A map of tag keys and values to assign to the configuration bundle. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateConfigurationBundleRequest.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
CreateConfigurationBundleRequest.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.
-