Interface GetRegistryRecordResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreControlResponse.Builder,Buildable,CopyableBuilder<GetRegistryRecordResponse.Builder,,GetRegistryRecordResponse> SdkBuilder<GetRegistryRecordResponse.Builder,,GetRegistryRecordResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetRegistryRecordResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the registry record was created.description(String description) The description of the registry record.descriptors(Consumer<Descriptors.Builder> descriptors) The descriptor-type-specific configuration containing the resource schema and metadata.descriptors(Descriptors descriptors) The descriptor-type-specific configuration containing the resource schema and metadata.descriptorType(String descriptorType) The descriptor type of the registry record.descriptorType(DescriptorType descriptorType) The descriptor type of the registry record.The name of the registry record.The Amazon Resource Name (ARN) of the registry record.The unique identifier of the registry record.recordVersion(String recordVersion) The version of the registry record.registryArn(String registryArn) The Amazon Resource Name (ARN) of the registry that contains the record.The current status of the registry record.status(RegistryRecordStatus status) The current status of the registry record.statusReason(String statusReason) The reason for the current status, typically set when the status is a failure state.synchronizationConfiguration(Consumer<SynchronizationConfiguration.Builder> synchronizationConfiguration) The configuration for synchronizing registry record metadata from an external source.synchronizationConfiguration(SynchronizationConfiguration synchronizationConfiguration) The configuration for synchronizing registry record metadata from an external source.synchronizationType(String synchronizationType) The type of synchronization used for this record.synchronizationType(SynchronizationType synchronizationType) The type of synchronization used for this record.The timestamp when the registry record was last updated.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
-
registryArn
The Amazon Resource Name (ARN) of the registry that contains the record.
- Parameters:
registryArn- The Amazon Resource Name (ARN) of the registry that contains the record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordArn
The Amazon Resource Name (ARN) of the registry record.
- Parameters:
recordArn- The Amazon Resource Name (ARN) of the registry record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordId
The unique identifier of the registry record.
- Parameters:
recordId- The unique identifier of the registry record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the registry record.
- Parameters:
name- The name of the registry record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the registry record.
- Parameters:
description- The description of the registry record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
descriptorType
The descriptor type of the registry record. Possible values are
MCP,A2A,CUSTOM, andAGENT_SKILLS.- Parameters:
descriptorType- The descriptor type of the registry record. Possible values areMCP,A2A,CUSTOM, andAGENT_SKILLS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
descriptorType
The descriptor type of the registry record. Possible values are
MCP,A2A,CUSTOM, andAGENT_SKILLS.- Parameters:
descriptorType- The descriptor type of the registry record. Possible values areMCP,A2A,CUSTOM, andAGENT_SKILLS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
descriptors
The descriptor-type-specific configuration containing the resource schema and metadata. For details, see the
Descriptorsdata type.- Parameters:
descriptors- The descriptor-type-specific configuration containing the resource schema and metadata. For details, see theDescriptorsdata type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
descriptors
The descriptor-type-specific configuration containing the resource schema and metadata. For details, see the
This is a convenience method that creates an instance of theDescriptorsdata type.Descriptors.Builderavoiding the need to create one manually viaDescriptors.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todescriptors(Descriptors).- Parameters:
descriptors- a consumer that will call methods onDescriptors.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recordVersion
The version of the registry record.
- Parameters:
recordVersion- The version of the registry record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the registry record. Possible values include
CREATING,DRAFT,APPROVED,PENDING_APPROVAL,REJECTED,DEPRECATED,UPDATING,CREATE_FAILED, andUPDATE_FAILED. A record transitions fromCREATINGtoDRAFT, then toPENDING_APPROVAL(viaSubmitRegistryRecordForApproval), and finally toAPPROVEDupon approval.- Parameters:
status- The current status of the registry record. Possible values includeCREATING,DRAFT,APPROVED,PENDING_APPROVAL,REJECTED,DEPRECATED,UPDATING,CREATE_FAILED, andUPDATE_FAILED. A record transitions fromCREATINGtoDRAFT, then toPENDING_APPROVAL(viaSubmitRegistryRecordForApproval), and finally toAPPROVEDupon approval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the registry record. Possible values include
CREATING,DRAFT,APPROVED,PENDING_APPROVAL,REJECTED,DEPRECATED,UPDATING,CREATE_FAILED, andUPDATE_FAILED. A record transitions fromCREATINGtoDRAFT, then toPENDING_APPROVAL(viaSubmitRegistryRecordForApproval), and finally toAPPROVEDupon approval.- Parameters:
status- The current status of the registry record. Possible values includeCREATING,DRAFT,APPROVED,PENDING_APPROVAL,REJECTED,DEPRECATED,UPDATING,CREATE_FAILED, andUPDATE_FAILED. A record transitions fromCREATINGtoDRAFT, then toPENDING_APPROVAL(viaSubmitRegistryRecordForApproval), and finally toAPPROVEDupon approval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the registry record was created.
- Parameters:
createdAt- The timestamp when the registry record was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the registry record was last updated.
- Parameters:
updatedAt- The timestamp when the registry record was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReason
The reason for the current status, typically set when the status is a failure state.
- Parameters:
statusReason- The reason for the current status, typically set when the status is a failure state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
synchronizationType
The type of synchronization used for this record.
- Parameters:
synchronizationType- The type of synchronization used for this record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
synchronizationType
The type of synchronization used for this record.
- Parameters:
synchronizationType- The type of synchronization used for this record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
synchronizationConfiguration
GetRegistryRecordResponse.Builder synchronizationConfiguration(SynchronizationConfiguration synchronizationConfiguration) The configuration for synchronizing registry record metadata from an external source.
- Parameters:
synchronizationConfiguration- The configuration for synchronizing registry record metadata from an external source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
synchronizationConfiguration
default GetRegistryRecordResponse.Builder synchronizationConfiguration(Consumer<SynchronizationConfiguration.Builder> synchronizationConfiguration) The configuration for synchronizing registry record metadata from an external source.
This is a convenience method that creates an instance of theSynchronizationConfiguration.Builderavoiding the need to create one manually viaSynchronizationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosynchronizationConfiguration(SynchronizationConfiguration).- Parameters:
synchronizationConfiguration- a consumer that will call methods onSynchronizationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-