Interface GetImportedModelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<GetImportedModelResponse.Builder,
,GetImportedModelResponse> SdkBuilder<GetImportedModelResponse.Builder,
,GetImportedModelResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetImportedModelResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) Creation time of the imported model.default GetImportedModelResponse.Builder
customModelUnits
(Consumer<CustomModelUnits.Builder> customModelUnits) Information about the hardware utilization for a single copy of the model.customModelUnits
(CustomModelUnits customModelUnits) Information about the hardware utilization for a single copy of the model.instructSupported
(Boolean instructSupported) Specifies if the imported model supports converse.Job Amazon Resource Name (ARN) associated with the imported model.Job name associated with the imported model.modelArchitecture
(String modelArchitecture) The architecture of the imported model.The Amazon Resource Name (ARN) associated with this imported model.default GetImportedModelResponse.Builder
modelDataSource
(Consumer<ModelDataSource.Builder> modelDataSource) The data source for this imported model.modelDataSource
(ModelDataSource modelDataSource) The data source for this imported model.modelKmsKeyArn
(String modelKmsKeyArn) The imported model is encrypted at rest using this key.The name of the imported 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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
modelArn
The Amazon Resource Name (ARN) associated with this imported model.
- Parameters:
modelArn
- The Amazon Resource Name (ARN) associated with this imported model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelName
The name of the imported model.
- Parameters:
modelName
- The name of the imported model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobName
Job name associated with the imported model.
- Parameters:
jobName
- Job name associated with the imported model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobArn
Job Amazon Resource Name (ARN) associated with the imported model.
- Parameters:
jobArn
- Job Amazon Resource Name (ARN) associated with the imported model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelDataSource
The data source for this imported model.
- Parameters:
modelDataSource
- The data source for this imported model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelDataSource
default GetImportedModelResponse.Builder modelDataSource(Consumer<ModelDataSource.Builder> modelDataSource) The data source for this imported model.
This is a convenience method that creates an instance of theModelDataSource.Builder
avoiding the need to create one manually viaModelDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelDataSource(ModelDataSource)
.- Parameters:
modelDataSource
- a consumer that will call methods onModelDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
Creation time of the imported model.
- Parameters:
creationTime
- Creation time of the imported model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelArchitecture
The architecture of the imported model.
- Parameters:
modelArchitecture
- The architecture of the imported model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelKmsKeyArn
The imported model is encrypted at rest using this key.
- Parameters:
modelKmsKeyArn
- The imported model is encrypted at rest using this key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instructSupported
Specifies if the imported model supports converse.
- Parameters:
instructSupported
- Specifies if the imported model supports converse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customModelUnits
Information about the hardware utilization for a single copy of the model.
- Parameters:
customModelUnits
- Information about the hardware utilization for a single copy of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customModelUnits
default GetImportedModelResponse.Builder customModelUnits(Consumer<CustomModelUnits.Builder> customModelUnits) Information about the hardware utilization for a single copy of the model.
This is a convenience method that creates an instance of theCustomModelUnits.Builder
avoiding the need to create one manually viaCustomModelUnits.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomModelUnits(CustomModelUnits)
.- Parameters:
customModelUnits
- a consumer that will call methods onCustomModelUnits.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-