@Generated(value="software.amazon.awssdk:codegen") public final class EndpointProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EndpointProperties.Builder,EndpointProperties>
Specifies information about the specified endpoint. For information about endpoints, see Managing endpoints.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EndpointProperties.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EndpointProperties.Builder |
builder() |
Instant |
creationTime()
The creation date and time of the endpoint.
|
Integer |
currentInferenceUnits()
The number of inference units currently used by the model using this endpoint.
|
String |
dataAccessRoleArn()
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models
encrypted with a customer managed key (ModelKmsKeyId).
|
String |
desiredDataAccessRoleArn()
Data access role ARN to use in case the new model is encrypted with a customer KMS key.
|
Integer |
desiredInferenceUnits()
The desired number of inference units to be used by the model using this endpoint.
|
String |
desiredModelArn()
ARN of the new model to use for updating an existing endpoint.
|
String |
endpointArn()
The Amazon Resource Number (ARN) of the endpoint.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
flywheelArn()
The Amazon Resource Number (ARN) of the flywheel
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModifiedTime()
The date and time that the endpoint was last modified.
|
String |
message()
Specifies a reason for failure in cases of
Failed status. |
String |
modelArn()
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EndpointProperties.Builder> |
serializableBuilderClass() |
EndpointStatus |
status()
Specifies the status of the endpoint.
|
String |
statusAsString()
Specifies the status of the endpoint.
|
EndpointProperties.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String endpointArn()
The Amazon Resource Number (ARN) of the endpoint.
public final EndpointStatus status()
Specifies the status of the endpoint. Because the endpoint updates and creation are asynchronous, so customers
will need to wait for the endpoint to be Ready status before making inference requests.
If the service returns an enum value that is not available in the current SDK version, status will
return EndpointStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Ready status before making inference
requests.EndpointStatuspublic final String statusAsString()
Specifies the status of the endpoint. Because the endpoint updates and creation are asynchronous, so customers
will need to wait for the endpoint to be Ready status before making inference requests.
If the service returns an enum value that is not available in the current SDK version, status will
return EndpointStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Ready status before making inference
requests.EndpointStatuspublic final String message()
Specifies a reason for failure in cases of Failed status.
Failed status.public final String modelArn()
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
public final String desiredModelArn()
ARN of the new model to use for updating an existing endpoint. This ARN is going to be different from the model ARN when the update is in progress
public final Integer desiredInferenceUnits()
The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.
public final Integer currentInferenceUnits()
The number of inference units currently used by the model using this endpoint.
public final Instant creationTime()
The creation date and time of the endpoint.
public final Instant lastModifiedTime()
The date and time that the endpoint was last modified.
public final String dataAccessRoleArn()
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).
public final String desiredDataAccessRoleArn()
Data access role ARN to use in case the new model is encrypted with a customer KMS key.
public final String flywheelArn()
The Amazon Resource Number (ARN) of the flywheel
public EndpointProperties.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EndpointProperties.Builder,EndpointProperties>public static EndpointProperties.Builder builder()
public static Class<? extends EndpointProperties.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.