Interface UpdateRegistryRecordRequest.Builder
- All Superinterfaces:
AgentRegistryControlRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRegistryRecordRequest.Builder,,UpdateRegistryRecordRequest> SdkBuilder<UpdateRegistryRecordRequest.Builder,,UpdateRegistryRecordRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRegistryRecordRequest
-
Method Summary
Modifier and TypeMethodDescriptioncustomMetadata(Consumer<UpdatedCustomMetadataMap.Builder> customMetadata) The updated custom metadata for the registry record.customMetadata(UpdatedCustomMetadataMap customMetadata) The updated custom metadata for the registry record.description(Consumer<UpdatedDescription.Builder> description) The updated description of the registry record.description(UpdatedDescription description) The updated description of the registry record.descriptors(Consumer<UpdatedDescriptors.Builder> descriptors) The updated typed descriptor content for the registry record.descriptors(UpdatedDescriptors descriptors) The updated typed descriptor content for the registry record.displayName(Consumer<UpdatedDisplayName.Builder> displayName) The updated display name of the registry record.displayName(UpdatedDisplayName displayName) The updated display name of the registry record.The updated name of the registry record.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.provenance(Collection<Provenance> provenance) The provenance lineage re-assertion for the registry record.provenance(Consumer<Provenance.Builder>... provenance) The provenance lineage re-assertion for the registry record.provenance(Provenance... provenance) The provenance lineage re-assertion for the registry record.The identifier of the registry record to update (ARN or ID)recordType(String recordType) The updated type of the registry record.recordType(RecordType recordType) The updated type of the registry record.recordVersion(String recordVersion) The updated version of the registry record.registryId(String registryId) The identifier of the registry containing the record (ARN or ID)triggerSynchronization(Boolean triggerSynchronization) Whether to trigger synchronization of the record's descriptor content from its sourceMethods inherited from interface software.amazon.awssdk.services.agentregistrycontrol.model.AgentRegistryControlRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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 (ARN or ID)
- Parameters:
registryId- The identifier of the registry containing the record (ARN or ID)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordId
The identifier of the registry record to update (ARN or ID)
- Parameters:
recordId- The identifier of the registry record to update (ARN or ID)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The updated name of the registry record. Omit to leave the name unchanged.
- Parameters:
name- The updated name of the registry record. Omit to leave the name unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The updated display name of the registry record. Omit to leave the display name unchanged; provide an empty wrapper to unset it.
- Parameters:
displayName- The updated display name of the registry record. Omit to leave the display name unchanged; provide an empty wrapper to unset it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
default UpdateRegistryRecordRequest.Builder displayName(Consumer<UpdatedDisplayName.Builder> displayName) The updated display name of the registry record. Omit to leave the display name unchanged; provide an empty wrapper to unset it.
This is a convenience method that creates an instance of theUpdatedDisplayName.Builderavoiding the need to create one manually viaUpdatedDisplayName.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todisplayName(UpdatedDisplayName).- Parameters:
displayName- a consumer that will call methods onUpdatedDisplayName.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The updated description of the registry record. Omit to leave the description unchanged; provide an empty wrapper to unset it.
- Parameters:
description- The updated description of the registry record. Omit to leave the description unchanged; provide an empty wrapper to unset it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
default UpdateRegistryRecordRequest.Builder description(Consumer<UpdatedDescription.Builder> description) The updated description of the registry record. Omit to leave the description unchanged; provide an empty wrapper to unset it.
This is a convenience method that creates an instance of theUpdatedDescription.Builderavoiding the need to create one manually viaUpdatedDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todescription(UpdatedDescription).- Parameters:
description- a consumer that will call methods onUpdatedDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recordType
The updated type of the registry record. Omit to leave the record type unchanged.
- Parameters:
recordType- The updated type of the registry record. Omit to leave the record type unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recordType
The updated type of the registry record. Omit to leave the record type unchanged.
- Parameters:
recordType- The updated type of the registry record. Omit to leave the record type unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
descriptors
The updated typed descriptor content for the registry record. Omit to leave the descriptors unchanged.
- Parameters:
descriptors- The updated typed descriptor content for the registry record. Omit to leave the descriptors unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
descriptors
default UpdateRegistryRecordRequest.Builder descriptors(Consumer<UpdatedDescriptors.Builder> descriptors) The updated typed descriptor content for the registry record. Omit to leave the descriptors unchanged.
This is a convenience method that creates an instance of theUpdatedDescriptors.Builderavoiding the need to create one manually viaUpdatedDescriptors.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todescriptors(UpdatedDescriptors).- Parameters:
descriptors- a consumer that will call methods onUpdatedDescriptors.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recordVersion
The updated version of the registry record. Omit to leave the version unchanged.
- Parameters:
recordVersion- The updated version of the registry record. Omit to leave the version unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customMetadata
The updated custom metadata for the registry record. Values can be strings (maximum 128 characters) or native JSON booleans (
trueorfalse). Omit to leave the existing metadata unchanged. Supply the wrapper with a full replacement set to update, or with a null value to clear all metadata.- Parameters:
customMetadata- The updated custom metadata for the registry record. Values can be strings (maximum 128 characters) or native JSON booleans (trueorfalse). Omit to leave the existing metadata unchanged. Supply the wrapper with a full replacement set to update, or with a null value to clear all metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customMetadata
default UpdateRegistryRecordRequest.Builder customMetadata(Consumer<UpdatedCustomMetadataMap.Builder> customMetadata) The updated custom metadata for the registry record. Values can be strings (maximum 128 characters) or native JSON booleans (
This is a convenience method that creates an instance of thetrueorfalse). Omit to leave the existing metadata unchanged. Supply the wrapper with a full replacement set to update, or with a null value to clear all metadata.UpdatedCustomMetadataMap.Builderavoiding the need to create one manually viaUpdatedCustomMetadataMap.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomMetadata(UpdatedCustomMetadataMap).- Parameters:
customMetadata- a consumer that will call methods onUpdatedCustomMetadataMap.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggerSynchronization
Whether to trigger synchronization of the record's descriptor content from its source
- Parameters:
triggerSynchronization- Whether to trigger synchronization of the record's descriptor content from its source- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provenance
The provenance lineage re-assertion for the registry record. This field is reserved for the Amazon Web Services Agent Registry auto-detection service principal. Requests that include this field from other callers are rejected. The source identity of an existing lineage is immutable; a re-assertion may only refresh the source details.
- Parameters:
provenance- The provenance lineage re-assertion for the registry record. This field is reserved for the Amazon Web Services Agent Registry auto-detection service principal. Requests that include this field from other callers are rejected. The source identity of an existing lineage is immutable; a re-assertion may only refresh the source details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provenance
The provenance lineage re-assertion for the registry record. This field is reserved for the Amazon Web Services Agent Registry auto-detection service principal. Requests that include this field from other callers are rejected. The source identity of an existing lineage is immutable; a re-assertion may only refresh the source details.
- Parameters:
provenance- The provenance lineage re-assertion for the registry record. This field is reserved for the Amazon Web Services Agent Registry auto-detection service principal. Requests that include this field from other callers are rejected. The source identity of an existing lineage is immutable; a re-assertion may only refresh the source details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provenance
The provenance lineage re-assertion for the registry record. This field is reserved for the Amazon Web Services Agent Registry auto-detection service principal. Requests that include this field from other callers are rejected. The source identity of an existing lineage is immutable; a re-assertion may only refresh the source details.
This is a convenience method that creates an instance of theProvenance.Builderavoiding the need to create one manually viaProvenance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprovenance(List<Provenance>).- Parameters:
provenance- a consumer that will call methods onProvenance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateRegistryRecordRequest.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
UpdateRegistryRecordRequest.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.
-