Interface CreateRegistryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.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) The approval configuration for registry records.approvalConfiguration(ApprovalConfiguration approvalConfiguration) The approval configuration for registry records.default CreateRegistryRequest.BuilderauthorizerConfiguration(Consumer<AuthorizerConfiguration.Builder> authorizerConfiguration) The authorizer configuration for the registry.authorizerConfiguration(AuthorizerConfiguration authorizerConfiguration) The authorizer configuration for the registry.authorizerType(String authorizerType) The type of authorizer to use for the registry.authorizerType(RegistryAuthorizerType authorizerType) The type of authorizer to use for the registry.clientToken(String clientToken) A unique, case-sensitive identifier to ensure that the API request completes no more than one time.description(String description) A description of the registry.The name of the registry.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
buildMethods 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. The name must be unique within your account and can contain alphanumeric characters and underscores.
- Parameters:
name- The name of the registry. The name must be unique within your account and can contain alphanumeric characters and underscores.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the registry.
- Parameters:
description- A description of the registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizerType
The type of authorizer to use for the registry. This controls the authorization method for the Search and Invoke APIs used by consumers, and does not affect the standard CRUDL APIs for registry and registry record management used by administrators.
-
CUSTOM_JWT- Authorize with a bearer token. -
AWS_IAM- Authorize with your Amazon Web Services IAM credentials.
- Parameters:
authorizerType- The type of authorizer to use for the registry. This controls the authorization method for the Search and Invoke APIs used by consumers, and does not affect the standard CRUDL APIs for registry and registry record management used by administrators.-
CUSTOM_JWT- Authorize with a bearer token. -
AWS_IAM- Authorize with your Amazon Web Services IAM credentials.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
authorizerType
The type of authorizer to use for the registry. This controls the authorization method for the Search and Invoke APIs used by consumers, and does not affect the standard CRUDL APIs for registry and registry record management used by administrators.
-
CUSTOM_JWT- Authorize with a bearer token. -
AWS_IAM- Authorize with your Amazon Web Services IAM credentials.
- Parameters:
authorizerType- The type of authorizer to use for the registry. This controls the authorization method for the Search and Invoke APIs used by consumers, and does not affect the standard CRUDL APIs for registry and registry record management used by administrators.-
CUSTOM_JWT- Authorize with a bearer token. -
AWS_IAM- Authorize with your Amazon Web Services IAM credentials.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
authorizerConfiguration
CreateRegistryRequest.Builder authorizerConfiguration(AuthorizerConfiguration authorizerConfiguration) The authorizer configuration for the registry. Required if
authorizerTypeisCUSTOM_JWT. For details, see theAuthorizerConfigurationdata type.- Parameters:
authorizerConfiguration- The authorizer configuration for the registry. Required ifauthorizerTypeisCUSTOM_JWT. For details, see theAuthorizerConfigurationdata type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizerConfiguration
default CreateRegistryRequest.Builder authorizerConfiguration(Consumer<AuthorizerConfiguration.Builder> authorizerConfiguration) The authorizer configuration for the registry. Required if
This is a convenience method that creates an instance of theauthorizerTypeisCUSTOM_JWT. For details, see theAuthorizerConfigurationdata type.AuthorizerConfiguration.Builderavoiding the need to create one manually viaAuthorizerConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthorizerConfiguration(AuthorizerConfiguration).- Parameters:
authorizerConfiguration- a consumer that will call methods onAuthorizerConfiguration.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 API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvalConfiguration
The approval configuration for registry records. Controls whether records require explicit approval before becoming active. See the
ApprovalConfigurationdata type for supported configuration options.- Parameters:
approvalConfiguration- The approval configuration for registry records. Controls whether records require explicit approval before becoming active. See theApprovalConfigurationdata type for supported configuration options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvalConfiguration
default CreateRegistryRequest.Builder approvalConfiguration(Consumer<ApprovalConfiguration.Builder> approvalConfiguration) The approval configuration for registry records. Controls whether records require explicit approval before becoming active. See the
This is a convenience method that creates an instance of theApprovalConfigurationdata type for supported configuration options.ApprovalConfiguration.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:
-
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.
-