Interface CreateRegistryRecordRequest.Builder

  • Method Details

    • registryId

      The identifier of the registry in which to create the record (ARN or ID)

      Parameters:
      registryId - The identifier of the registry in which to create the record (ARN or ID)
      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.
    • displayName

      CreateRegistryRecordRequest.Builder displayName(String displayName)

      The human-readable display name of the registry record

      Parameters:
      displayName - The human-readable display name of the registry record
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateRegistryRecordRequest.Builder description(String 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.
    • recordType

      The type of the registry record, which determines the descriptor format

      Parameters:
      recordType - The type of the registry record, which determines the descriptor format
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • recordType

      The type of the registry record, which determines the descriptor format

      Parameters:
      recordType - The type of the registry record, which determines the descriptor format
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • descriptors

      The typed descriptor content for the registry record

      Parameters:
      descriptors - The typed descriptor content for the registry record
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • descriptors

      The typed descriptor content for the registry record

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

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

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

      CreateRegistryRecordRequest.Builder recordVersion(String 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.
    • clientToken

      CreateRegistryRecordRequest.Builder clientToken(String clientToken)

      Client token for idempotency

      Parameters:
      clientToken - Client token for idempotency
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provenance

      The provenance lineage entries 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.

      Parameters:
      provenance - The provenance lineage entries 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provenance

      The provenance lineage entries 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.

      Parameters:
      provenance - The provenance lineage entries 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provenance

      The provenance lineage entries 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.

      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:
    • customMetadata

      CreateRegistryRecordRequest.Builder customMetadata(Document customMetadata)

      The custom metadata to attach to the registry record. Each key must match a property defined in the registry's custom metadata schema. Values can be strings (maximum 128 characters) or native JSON booleans ( true or false). Values are validated against the schema at creation time.

      Parameters:
      customMetadata - The custom metadata to attach to the registry record. Each key must match a property defined in the registry's custom metadata schema. Values can be strings (maximum 128 characters) or native JSON booleans (true or false). Values are validated against the schema at creation time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags to associate with the registry record

      Parameters:
      tags - Tags to associate with the registry record
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateRegistryRecordRequest.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.