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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetFoundationModelResponse.BuildermodelDetails(Consumer<FoundationModelDetails.Builder> modelDetails)Information about the foundation model.GetFoundationModelResponse.BuildermodelDetails(FoundationModelDetails modelDetails)Information about the foundation model.-
Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
modelDetails
GetFoundationModelResponse.Builder modelDetails(FoundationModelDetails 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:
modelDetails(FoundationModelDetails)
-
-