Interface GetInferenceProfileResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<GetInferenceProfileResponse.Builder,GetInferenceProfileResponse>,SdkBuilder<GetInferenceProfileResponse.Builder,GetInferenceProfileResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetInferenceProfileResponse
@Mutable @NotThreadSafe public static interface GetInferenceProfileResponse.Builder extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<GetInferenceProfileResponse.Builder,GetInferenceProfileResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetInferenceProfileResponse.BuildercreatedAt(Instant createdAt)The time at which the inference profile was created.GetInferenceProfileResponse.Builderdescription(String description)The description of the inference profile.GetInferenceProfileResponse.BuilderinferenceProfileArn(String inferenceProfileArn)The Amazon Resource Name (ARN) of the inference profile.GetInferenceProfileResponse.BuilderinferenceProfileId(String inferenceProfileId)The unique identifier of the inference profile.GetInferenceProfileResponse.BuilderinferenceProfileName(String inferenceProfileName)The name of the inference profile.GetInferenceProfileResponse.Buildermodels(Collection<InferenceProfileModel> models)A list of information about each model in the inference profile.GetInferenceProfileResponse.Buildermodels(Consumer<InferenceProfileModel.Builder>... models)A list of information about each model in the inference profile.GetInferenceProfileResponse.Buildermodels(InferenceProfileModel... models)A list of information about each model in the inference profile.GetInferenceProfileResponse.Builderstatus(String status)The status of the inference profile.GetInferenceProfileResponse.Builderstatus(InferenceProfileStatus status)The status of the inference profile.GetInferenceProfileResponse.Buildertype(String type)The type of the inference profile.GetInferenceProfileResponse.Buildertype(InferenceProfileType type)The type of the inference profile.GetInferenceProfileResponse.BuilderupdatedAt(Instant updatedAt)The time at which the inference profile was last updated.-
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
-
inferenceProfileName
GetInferenceProfileResponse.Builder inferenceProfileName(String inferenceProfileName)
The name of the inference profile.
- Parameters:
inferenceProfileName- The name of the inference profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GetInferenceProfileResponse.Builder description(String description)
The description of the inference profile.
- Parameters:
description- The description of the inference profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
GetInferenceProfileResponse.Builder createdAt(Instant createdAt)
The time at which the inference profile was created.
- Parameters:
createdAt- The time at which the inference profile was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
GetInferenceProfileResponse.Builder updatedAt(Instant updatedAt)
The time at which the inference profile was last updated.
- Parameters:
updatedAt- The time at which the inference profile was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceProfileArn
GetInferenceProfileResponse.Builder inferenceProfileArn(String inferenceProfileArn)
The Amazon Resource Name (ARN) of the inference profile.
- Parameters:
inferenceProfileArn- The Amazon Resource Name (ARN) of the inference profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
GetInferenceProfileResponse.Builder models(Collection<InferenceProfileModel> models)
A list of information about each model in the inference profile.
- Parameters:
models- A list of information about each model in the inference profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
GetInferenceProfileResponse.Builder models(InferenceProfileModel... models)
A list of information about each model in the inference profile.
- Parameters:
models- A list of information about each model in the inference profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
GetInferenceProfileResponse.Builder models(Consumer<InferenceProfileModel.Builder>... models)
A list of information about each model in the inference profile.
This is a convenience method that creates an instance of theInferenceProfileModel.Builderavoiding the need to create one manually viaInferenceProfileModel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#models(List.) - Parameters:
models- a consumer that will call methods onInferenceProfileModel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#models(java.util.Collection)
-
inferenceProfileId
GetInferenceProfileResponse.Builder inferenceProfileId(String inferenceProfileId)
The unique identifier of the inference profile.
- Parameters:
inferenceProfileId- The unique identifier of the inference profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetInferenceProfileResponse.Builder status(String status)
The status of the inference profile.
ACTIVEmeans that the inference profile is ready to be used.- Parameters:
status- The status of the inference profile.ACTIVEmeans that the inference profile is ready to be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InferenceProfileStatus,InferenceProfileStatus
-
status
GetInferenceProfileResponse.Builder status(InferenceProfileStatus status)
The status of the inference profile.
ACTIVEmeans that the inference profile is ready to be used.- Parameters:
status- The status of the inference profile.ACTIVEmeans that the inference profile is ready to be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InferenceProfileStatus,InferenceProfileStatus
-
type
GetInferenceProfileResponse.Builder type(String type)
The type of the inference profile. The following types are possible:
-
SYSTEM_DEFINED– The inference profile is defined by Amazon Bedrock. You can route inference requests across regions with these inference profiles. -
APPLICATION– The inference profile was created by a user. This type of inference profile can track metrics and costs when invoking the model in it. The inference profile may route requests to one or multiple regions.
- Parameters:
type- The type of the inference profile. The following types are possible:-
SYSTEM_DEFINED– The inference profile is defined by Amazon Bedrock. You can route inference requests across regions with these inference profiles. -
APPLICATION– The inference profile was created by a user. This type of inference profile can track metrics and costs when invoking the model in it. The inference profile may route requests to one or multiple regions.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InferenceProfileType,InferenceProfileType
-
-
type
GetInferenceProfileResponse.Builder type(InferenceProfileType type)
The type of the inference profile. The following types are possible:
-
SYSTEM_DEFINED– The inference profile is defined by Amazon Bedrock. You can route inference requests across regions with these inference profiles. -
APPLICATION– The inference profile was created by a user. This type of inference profile can track metrics and costs when invoking the model in it. The inference profile may route requests to one or multiple regions.
- Parameters:
type- The type of the inference profile. The following types are possible:-
SYSTEM_DEFINED– The inference profile is defined by Amazon Bedrock. You can route inference requests across regions with these inference profiles. -
APPLICATION– The inference profile was created by a user. This type of inference profile can track metrics and costs when invoking the model in it. The inference profile may route requests to one or multiple regions.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InferenceProfileType,InferenceProfileType
-
-
-