@Generated(value="software.amazon.awssdk:codegen") public final class CreateRealtimeEndpointResponse extends MachineLearningResponse implements ToCopyableBuilder<CreateRealtimeEndpointResponse.Builder,CreateRealtimeEndpointResponse>
Represents the output of an CreateRealtimeEndpoint
operation.
The result contains the MLModelId
and the endpoint information for the MLModel
.
The endpoint information includes the URI of the MLModel
; that is, the location to send online
prediction requests for the specified MLModel
.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateRealtimeEndpointResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateRealtimeEndpointResponse.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
String |
mlModelId()
A user-supplied ID that uniquely identifies the
MLModel . |
RealtimeEndpointInfo |
realtimeEndpointInfo()
The endpoint information of the
MLModel |
static Class<? extends CreateRealtimeEndpointResponse.Builder> |
serializableBuilderClass() |
CreateRealtimeEndpointResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
sdkHttpResponse
copy
public String mlModelId()
A user-supplied ID that uniquely identifies the MLModel
. This value should be identical to the value
of the MLModelId
in the request.
MLModel
. This value should be identical to
the value of the MLModelId
in the request.public RealtimeEndpointInfo realtimeEndpointInfo()
The endpoint information of the MLModel
MLModel
public CreateRealtimeEndpointResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateRealtimeEndpointResponse.Builder,CreateRealtimeEndpointResponse>
toBuilder
in class AwsResponse
public static CreateRealtimeEndpointResponse.Builder builder()
public static Class<? extends CreateRealtimeEndpointResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.