Interface CreateRegistryRecordRequest.Builder
- All Superinterfaces:
AgentRegistryControlRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateRegistryRecordRequest.Builder,,CreateRegistryRecordRequest> SdkBuilder<CreateRegistryRecordRequest.Builder,,CreateRegistryRecordRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRegistryRecordRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Client token for idempotencycustomMetadata(Document customMetadata) The custom metadata to attach to the registry record.description(String description) The description of the registry recorddescriptors(Consumer<Descriptors.Builder> descriptors) The typed descriptor content for the registry recorddescriptors(Descriptors descriptors) The typed descriptor content for the registry recorddisplayName(String displayName) The human-readable display name of the registry recordThe name of the registry recordoverrideConfiguration(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 entries for the registry record.provenance(Consumer<Provenance.Builder>... provenance) The provenance lineage entries for the registry record.provenance(Provenance... provenance) The provenance lineage entries for the registry record.recordType(String recordType) The type of the registry record, which determines the descriptor formatrecordType(RecordType recordType) The type of the registry record, which determines the descriptor formatrecordVersion(String recordVersion) The version of the registry recordregistryId(String registryId) The identifier of the registry in which to create the record (ARN or ID)Tags to associate with the registry recordMethods 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 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
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
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 theDescriptors.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.
-
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 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:
-
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 (
trueorfalse). 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 (trueorfalse). 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateRegistryRecordRequest.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.
-