Interface InferenceProfileSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InferenceProfileSummary.Builder,InferenceProfileSummary>,SdkBuilder<InferenceProfileSummary.Builder,InferenceProfileSummary>,SdkPojo
- Enclosing class:
- InferenceProfileSummary
@Mutable @NotThreadSafe public static interface InferenceProfileSummary.Builder extends SdkPojo, CopyableBuilder<InferenceProfileSummary.Builder,InferenceProfileSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InferenceProfileSummary.BuildercreatedAt(Instant createdAt)The time at which the inference profile was created.InferenceProfileSummary.Builderdescription(String description)The description of the inference profile.InferenceProfileSummary.BuilderinferenceProfileArn(String inferenceProfileArn)The Amazon Resource Name (ARN) of the inference profile.InferenceProfileSummary.BuilderinferenceProfileId(String inferenceProfileId)The unique identifier of the inference profile.InferenceProfileSummary.BuilderinferenceProfileName(String inferenceProfileName)The name of the inference profile.InferenceProfileSummary.Buildermodels(Collection<InferenceProfileModel> models)A list of information about each model in the inference profile.InferenceProfileSummary.Buildermodels(Consumer<InferenceProfileModel.Builder>... models)A list of information about each model in the inference profile.InferenceProfileSummary.Buildermodels(InferenceProfileModel... models)A list of information about each model in the inference profile.InferenceProfileSummary.Builderstatus(String status)The status of the inference profile.InferenceProfileSummary.Builderstatus(InferenceProfileStatus status)The status of the inference profile.InferenceProfileSummary.Buildertype(String type)The type of the inference profile.InferenceProfileSummary.Buildertype(InferenceProfileType type)The type of the inference profile.InferenceProfileSummary.BuilderupdatedAt(Instant updatedAt)The time at which the inference profile was last updated.-
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
-
-
-
-
Method Detail
-
inferenceProfileName
InferenceProfileSummary.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
InferenceProfileSummary.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
InferenceProfileSummary.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
InferenceProfileSummary.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
InferenceProfileSummary.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
InferenceProfileSummary.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
InferenceProfileSummary.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
InferenceProfileSummary.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
InferenceProfileSummary.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
InferenceProfileSummary.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
InferenceProfileSummary.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
InferenceProfileSummary.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
InferenceProfileSummary.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
-
-
-