Interface CreateRealtimeEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateRealtimeEndpointResponse.Builder,
,CreateRealtimeEndpointResponse> MachineLearningResponse.Builder
,SdkBuilder<CreateRealtimeEndpointResponse.Builder,
,CreateRealtimeEndpointResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateRealtimeEndpointResponse
public static interface CreateRealtimeEndpointResponse.Builder
extends MachineLearningResponse.Builder, SdkPojo, CopyableBuilder<CreateRealtimeEndpointResponse.Builder,CreateRealtimeEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA user-supplied ID that uniquely identifies theMLModel
.realtimeEndpointInfo
(Consumer<RealtimeEndpointInfo.Builder> realtimeEndpointInfo) The endpoint information of theMLModel
realtimeEndpointInfo
(RealtimeEndpointInfo realtimeEndpointInfo) The endpoint information of theMLModel
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.machinelearning.model.MachineLearningResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
mlModelId
A user-supplied ID that uniquely identifies the
MLModel
. This value should be identical to the value of theMLModelId
in the request.- Parameters:
mlModelId
- A user-supplied ID that uniquely identifies theMLModel
. This value should be identical to the value of theMLModelId
in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
realtimeEndpointInfo
CreateRealtimeEndpointResponse.Builder realtimeEndpointInfo(RealtimeEndpointInfo realtimeEndpointInfo) The endpoint information of the
MLModel
- Parameters:
realtimeEndpointInfo
- The endpoint information of theMLModel
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
realtimeEndpointInfo
default CreateRealtimeEndpointResponse.Builder realtimeEndpointInfo(Consumer<RealtimeEndpointInfo.Builder> realtimeEndpointInfo) The endpoint information of the
This is a convenience method that creates an instance of theMLModel
RealtimeEndpointInfo.Builder
avoiding the need to create one manually viaRealtimeEndpointInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torealtimeEndpointInfo(RealtimeEndpointInfo)
.- Parameters:
realtimeEndpointInfo
- a consumer that will call methods onRealtimeEndpointInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-