Interface GetImportedModelResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<GetImportedModelResponse.Builder,GetImportedModelResponse>,SdkBuilder<GetImportedModelResponse.Builder,GetImportedModelResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetImportedModelResponse
@Mutable @NotThreadSafe public static interface GetImportedModelResponse.Builder extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<GetImportedModelResponse.Builder,GetImportedModelResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetImportedModelResponse.BuildercreationTime(Instant creationTime)Creation time of the imported model.default GetImportedModelResponse.BuildercustomModelUnits(Consumer<CustomModelUnits.Builder> customModelUnits)Information about the hardware utilization for a single copy of the model.GetImportedModelResponse.BuildercustomModelUnits(CustomModelUnits customModelUnits)Information about the hardware utilization for a single copy of the model.GetImportedModelResponse.BuilderinstructSupported(Boolean instructSupported)Specifies if the imported model supports converse.GetImportedModelResponse.BuilderjobArn(String jobArn)Job Amazon Resource Name (ARN) associated with the imported model.GetImportedModelResponse.BuilderjobName(String jobName)Job name associated with the imported model.GetImportedModelResponse.BuildermodelArchitecture(String modelArchitecture)The architecture of the imported model.GetImportedModelResponse.BuildermodelArn(String modelArn)The Amazon Resource Name (ARN) associated with this imported model.default GetImportedModelResponse.BuildermodelDataSource(Consumer<ModelDataSource.Builder> modelDataSource)The data source for this imported model.GetImportedModelResponse.BuildermodelDataSource(ModelDataSource modelDataSource)The data source for this imported model.GetImportedModelResponse.BuildermodelKmsKeyArn(String modelKmsKeyArn)The imported model is encrypted at rest using this key.GetImportedModelResponse.BuildermodelName(String modelName)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 Detail
-
modelArn
GetImportedModelResponse.Builder modelArn(String 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
GetImportedModelResponse.Builder modelName(String 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
GetImportedModelResponse.Builder jobName(String 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
GetImportedModelResponse.Builder jobArn(String 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
GetImportedModelResponse.Builder modelDataSource(ModelDataSource 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.Builderavoiding the need to create one manually viaModelDataSource.builder().When the
Consumercompletes,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:
modelDataSource(ModelDataSource)
-
creationTime
GetImportedModelResponse.Builder creationTime(Instant 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
GetImportedModelResponse.Builder modelArchitecture(String 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
GetImportedModelResponse.Builder modelKmsKeyArn(String 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
GetImportedModelResponse.Builder instructSupported(Boolean 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
GetImportedModelResponse.Builder customModelUnits(CustomModelUnits 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.Builderavoiding the need to create one manually viaCustomModelUnits.builder().When the
Consumercompletes,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:
customModelUnits(CustomModelUnits)
-
-