Interface UpdateConfigurationBundleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<UpdateConfigurationBundleRequest.Builder,,UpdateConfigurationBundleRequest> SdkBuilder<UpdateConfigurationBundleRequest.Builder,,UpdateConfigurationBundleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateConfigurationBundleRequest
-
Method Summary
Modifier and TypeMethodDescriptionbranchName(String branchName) The branch name for this version.The unique identifier of the configuration bundle to update.bundleName(String bundleName) The updated 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 changes in this version.components(Map<String, ComponentConfiguration> components) The updated component 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 updated 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.parentVersionIds(String... parentVersionIds) A list of parent version identifiers for lineage tracking.parentVersionIds(Collection<String> parentVersionIds) A list of parent version identifiers for lineage tracking.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.
-
bundleId
The unique identifier of the configuration bundle to update.
- Parameters:
bundleId- The unique identifier of the configuration bundle to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundleName
The updated name for the configuration bundle.
- Parameters:
bundleName- The updated name for the configuration bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description for the configuration bundle.
- Parameters:
description- The updated description for the configuration bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
components
The updated component configurations. Creates a new version of the bundle.
- Parameters:
components- The updated component configurations. Creates a new version of the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentVersionIds
A list of parent version identifiers for lineage tracking. Regular commits have a single parent. Merge commits have two parents: the target branch parent and the source branch parent. If the branch already exists, the first parent must be the latest version on that branch.
- Parameters:
parentVersionIds- A list of parent version identifiers for lineage tracking. Regular commits have a single parent. Merge commits have two parents: the target branch parent and the source branch parent. If the branch already exists, the first parent must be the latest version on that branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentVersionIds
A list of parent version identifiers for lineage tracking. Regular commits have a single parent. Merge commits have two parents: the target branch parent and the source branch parent. If the branch already exists, the first parent must be the latest version on that branch.
- Parameters:
parentVersionIds- A list of parent version identifiers for lineage tracking. Regular commits have a single parent. Merge commits have two parents: the target branch parent and the source branch parent. If the branch already exists, the first parent must be the latest version on that branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branchName
The branch name for this version. If not specified, inherits the parent's branch or defaults to
mainline.- Parameters:
branchName- The branch name for this version. If not specified, inherits the parent's branch or defaults tomainline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitMessage
A commit message describing the changes in this version.
- Parameters:
commitMessage- A commit message describing the changes in this version.- 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 UpdateConfigurationBundleRequest.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:
-
overrideConfiguration
UpdateConfigurationBundleRequest.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
UpdateConfigurationBundleRequest.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.
-