Interface CreateRegistryRecordRequest.Builder
- All Superinterfaces:
AgentRegistryControlRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateRegistryRecordRequest.Builder,,CreateRegistryRecordRequest> SdkBuilder<CreateRegistryRecordRequest.Builder,,CreateRegistryRecordRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRegistryRecordRequest
@Mutable
@NotThreadSafe
public static interface CreateRegistryRecordRequest.Builder
extends AgentRegistryControlRequest.Builder, SdkPojo, CopyableBuilder<CreateRegistryRecordRequest.Builder,CreateRegistryRecordRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Client token for idempotencydescription(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.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.
-
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.
-