Interface CreateRegistryRequest.Builder
- All Superinterfaces:
AgentRegistryControlRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateRegistryRequest.Builder,,CreateRegistryRequest> SdkBuilder<CreateRegistryRequest.Builder,,CreateRegistryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRegistryRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateRegistryRequest.BuilderapprovalConfiguration(Consumer<ApprovalConfiguration.Builder> approvalConfiguration) Approval configuration for registry recordsapprovalConfiguration(ApprovalConfiguration approvalConfiguration) Approval configuration for registry recordsdefault CreateRegistryRequest.BuilderautoDetectionConfiguration(Consumer<AutoDetectionConfiguration.Builder> autoDetectionConfiguration) The optional auto-detection configuration for the registry.autoDetectionConfiguration(AutoDetectionConfiguration autoDetectionConfiguration) The optional auto-detection configuration for the registry.clientToken(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.description(String description) The description of the registrydefault CreateRegistryRequest.BuilderdiscoveryConfiguration(Consumer<DiscoveryConfiguration.Builder> discoveryConfiguration) Discovery configuration for the registrydiscoveryConfiguration(DiscoveryConfiguration discoveryConfiguration) Discovery configuration for the registrydefault CreateRegistryRequest.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The optional server-side encryption configuration for the registry.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The optional server-side encryption configuration for the registry.The name of the registryoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Tags to associate with the registryMethods 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
-
name
The name of the registry
- Parameters:
name- The name of the registry- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the registry
- Parameters:
description- The description of the registry- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
CreateRegistryRequest.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The optional server-side encryption configuration for the registry. When you provide this field, the specified customer-managed Amazon Web Services KMS key encrypts the registry's content. Omit this field to use an Amazon Web Services-owned encryption key. You cannot change the encryption configuration after registry creation.
- Parameters:
encryptionConfiguration- The optional server-side encryption configuration for the registry. When you provide this field, the specified customer-managed Amazon Web Services KMS key encrypts the registry's content. Omit this field to use an Amazon Web Services-owned encryption key. You cannot change the encryption configuration after registry creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default CreateRegistryRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The optional server-side encryption configuration for the registry. When you provide this field, the specified customer-managed Amazon Web Services KMS key encrypts the registry's content. Omit this field to use an Amazon Web Services-owned encryption key. You cannot change the encryption configuration after registry creation.
This is a convenience method that creates an instance of theEncryptionConfiguration.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
discoveryConfiguration
Discovery configuration for the registry
- Parameters:
discoveryConfiguration- Discovery configuration for the registry- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
discoveryConfiguration
default CreateRegistryRequest.Builder discoveryConfiguration(Consumer<DiscoveryConfiguration.Builder> discoveryConfiguration) Discovery configuration for the registry
This is a convenience method that creates an instance of theDiscoveryConfiguration.Builderavoiding the need to create one manually viaDiscoveryConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todiscoveryConfiguration(DiscoveryConfiguration).- Parameters:
discoveryConfiguration- a consumer that will call methods onDiscoveryConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to associate with the registry
- Parameters:
tags- Tags to associate with the registry- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvalConfiguration
Approval configuration for registry records
- Parameters:
approvalConfiguration- Approval configuration for registry records- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvalConfiguration
default CreateRegistryRequest.Builder approvalConfiguration(Consumer<ApprovalConfiguration.Builder> approvalConfiguration) Approval configuration for registry records
This is a convenience method that creates an instance of theApprovalConfiguration.Builderavoiding the need to create one manually viaApprovalConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapprovalConfiguration(ApprovalConfiguration).- Parameters:
approvalConfiguration- a consumer that will call methods onApprovalConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoDetectionConfiguration
CreateRegistryRequest.Builder autoDetectionConfiguration(AutoDetectionConfiguration autoDetectionConfiguration) The optional auto-detection configuration for the registry. When provided, the registry is automatically populated with resources discovered according to the configuration. Omit this field for registries whose records are managed exclusively through the Agent Registry Control API.
- Parameters:
autoDetectionConfiguration- The optional auto-detection configuration for the registry. When provided, the registry is automatically populated with resources discovered according to the configuration. Omit this field for registries whose records are managed exclusively through the Agent Registry Control API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoDetectionConfiguration
default CreateRegistryRequest.Builder autoDetectionConfiguration(Consumer<AutoDetectionConfiguration.Builder> autoDetectionConfiguration) The optional auto-detection configuration for the registry. When provided, the registry is automatically populated with resources discovered according to the configuration. Omit this field for registries whose records are managed exclusively through the Agent Registry Control API.
This is a convenience method that creates an instance of theAutoDetectionConfiguration.Builderavoiding the need to create one manually viaAutoDetectionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautoDetectionConfiguration(AutoDetectionConfiguration).- Parameters:
autoDetectionConfiguration- a consumer that will call methods onAutoDetectionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateRegistryRequest.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
CreateRegistryRequest.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.
-