Interface GetFoundationModelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<GetFoundationModelRequest.Builder,,GetFoundationModelRequest> SdkBuilder<GetFoundationModelRequest.Builder,,GetFoundationModelRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetFoundationModelRequest
-
Method Summary
Modifier and TypeMethodDescriptionmodelIdentifier(String modelIdentifier) The model identifier.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.projectIdentifier(String projectIdentifier) The ID or Amazon Resource Name (ARN) of a project.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockRequest.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
-
modelIdentifier
The model identifier.
- Parameters:
modelIdentifier- The model identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectIdentifier
The ID or Amazon Resource Name (ARN) of a project. Amazon Bedrock uses the project's trusted access program participation when determining whether to return the model. The project must belong to your account in the same AWS Region and partition as the request.
If you omit this parameter or specify
default, Amazon Bedrock uses your account's participation, including organization inheritance.A project that doesn't exist or is archived causes a
ValidationException. A model outside the project's available model catalog causes aResourceNotFoundException.- Parameters:
projectIdentifier- The ID or Amazon Resource Name (ARN) of a project. Amazon Bedrock uses the project's trusted access program participation when determining whether to return the model. The project must belong to your account in the same AWS Region and partition as the request.If you omit this parameter or specify
default, Amazon Bedrock uses your account's participation, including organization inheritance.A project that doesn't exist or is archived causes a
ValidationException. A model outside the project's available model catalog causes aResourceNotFoundException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetFoundationModelRequest.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
GetFoundationModelRequest.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.
-