Interface GetFoundationModelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<GetFoundationModelResponse.Builder,,GetFoundationModelResponse> SdkBuilder<GetFoundationModelResponse.Builder,,GetFoundationModelResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetFoundationModelResponse
public static interface GetFoundationModelResponse.Builder
extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<GetFoundationModelResponse.Builder,GetFoundationModelResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmodelDetails(Consumer<FoundationModelDetails.Builder> modelDetails) Information about the foundation model.modelDetails(FoundationModelDetails modelDetails) Information about the foundation model.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
modelDetails
Information about the foundation model.
- Parameters:
modelDetails- Information about the foundation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelDetails
default GetFoundationModelResponse.Builder modelDetails(Consumer<FoundationModelDetails.Builder> modelDetails) Information about the foundation model.
This is a convenience method that creates an instance of theFoundationModelDetails.Builderavoiding the need to create one manually viaFoundationModelDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelDetails(FoundationModelDetails).- Parameters:
modelDetails- a consumer that will call methods onFoundationModelDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-