Interface UpdateRegistryRecordRequest.Builder

  • 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

      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 the UpdatedDisplayName.Builder avoiding the need to create one manually via UpdatedDisplayName.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to displayName(UpdatedDisplayName).

      Parameters:
      displayName - a consumer that will call methods on UpdatedDisplayName.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

      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 the UpdatedDescription.Builder avoiding the need to create one manually via UpdatedDescription.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to description(UpdatedDescription).

      Parameters:
      description - a consumer that will call methods on UpdatedDescription.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

      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 the UpdatedDescriptors.Builder avoiding the need to create one manually via UpdatedDescriptors.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to descriptors(UpdatedDescriptors).

      Parameters:
      descriptors - a consumer that will call methods on UpdatedDescriptors.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • recordVersion

      UpdateRegistryRecordRequest.Builder recordVersion(String 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 (true or false). 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 (true or false). 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

      The updated custom metadata for the registry record. Values can be strings (maximum 128 characters) or native JSON booleans (true or false). 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.

      This is a convenience method that creates an instance of the UpdatedCustomMetadataMap.Builder avoiding the need to create one manually via UpdatedCustomMetadataMap.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to customMetadata(UpdatedCustomMetadataMap).

      Parameters:
      customMetadata - a consumer that will call methods on UpdatedCustomMetadataMap.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • triggerSynchronization

      UpdateRegistryRecordRequest.Builder triggerSynchronization(Boolean 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 the Provenance.Builder avoiding the need to create one manually via Provenance.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to provenance(List<Provenance>).

      Parameters:
      provenance - a consumer that will call methods on Provenance.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.