Interface UpdateRegistryRecordStatusRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<UpdateRegistryRecordStatusRequest.Builder,,UpdateRegistryRecordStatusRequest> SdkBuilder<UpdateRegistryRecordStatusRequest.Builder,,UpdateRegistryRecordStatusRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRegistryRecordStatusRequest
@Mutable
@NotThreadSafe
public static interface UpdateRegistryRecordStatusRequest.Builder
extends BedrockAgentCoreControlRequest.Builder, SdkPojo, CopyableBuilder<UpdateRegistryRecordStatusRequest.Builder,UpdateRegistryRecordStatusRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The identifier of the registry record to update the status for.registryId(String registryId) The identifier of the registry containing the record.The target status for the registry record.status(RegistryRecordStatus status) The target status for the registry record.statusReason(String statusReason) The reason for the status change, such as why the record was approved or rejected.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
-
registryId
The identifier of the registry containing the record. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
- Parameters:
registryId- The identifier of the registry containing the record. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordId
The identifier of the registry record to update the status for. You can specify either the Amazon Resource Name (ARN) or the ID of the record.
- Parameters:
recordId- The identifier of the registry record to update the status for. You can specify either the Amazon Resource Name (ARN) or the ID of the record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The target status for the registry record.
- Parameters:
status- The target status for the registry record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The target status for the registry record.
- Parameters:
status- The target status for the registry record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
The reason for the status change, such as why the record was approved or rejected.
- Parameters:
statusReason- The reason for the status change, such as why the record was approved or rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateRegistryRecordStatusRequest.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
UpdateRegistryRecordStatusRequest.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.
-