public class EndpointProperties
extends java.lang.Object
implements java.io.Serializable
Specifies information about the specified endpoint.
Constructor and Description |
---|
EndpointProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationTime()
The creation date and time of the endpoint.
|
java.lang.Integer |
getCurrentInferenceUnits()
The number of inference units currently used by the model using this
endpoint.
|
java.lang.Integer |
getDesiredInferenceUnits()
The desired number of inference units to be used by the model using this
endpoint.
|
java.lang.String |
getEndpointArn()
The Amazon Resource Number (ARN) of the endpoint.
|
java.util.Date |
getLastModifiedTime()
The date and time that the endpoint was last modified.
|
java.lang.String |
getMessage()
Specifies a reason for failure in cases of
Failed status. |
java.lang.String |
getModelArn()
The Amazon Resource Number (ARN) of the model to which the endpoint is
attached.
|
java.lang.String |
getStatus()
Specifies the status of the endpoint.
|
int |
hashCode() |
void |
setCreationTime(java.util.Date creationTime)
The creation date and time of the endpoint.
|
void |
setCurrentInferenceUnits(java.lang.Integer currentInferenceUnits)
The number of inference units currently used by the model using this
endpoint.
|
void |
setDesiredInferenceUnits(java.lang.Integer desiredInferenceUnits)
The desired number of inference units to be used by the model using this
endpoint.
|
void |
setEndpointArn(java.lang.String endpointArn)
The Amazon Resource Number (ARN) of the endpoint.
|
void |
setLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the endpoint was last modified.
|
void |
setMessage(java.lang.String message)
Specifies a reason for failure in cases of
Failed status. |
void |
setModelArn(java.lang.String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint is
attached.
|
void |
setStatus(EndpointStatus status)
Specifies the status of the endpoint.
|
void |
setStatus(java.lang.String status)
Specifies the status of the endpoint.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EndpointProperties |
withCreationTime(java.util.Date creationTime)
The creation date and time of the endpoint.
|
EndpointProperties |
withCurrentInferenceUnits(java.lang.Integer currentInferenceUnits)
The number of inference units currently used by the model using this
endpoint.
|
EndpointProperties |
withDesiredInferenceUnits(java.lang.Integer desiredInferenceUnits)
The desired number of inference units to be used by the model using this
endpoint.
|
EndpointProperties |
withEndpointArn(java.lang.String endpointArn)
The Amazon Resource Number (ARN) of the endpoint.
|
EndpointProperties |
withLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the endpoint was last modified.
|
EndpointProperties |
withMessage(java.lang.String message)
Specifies a reason for failure in cases of
Failed status. |
EndpointProperties |
withModelArn(java.lang.String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint is
attached.
|
EndpointProperties |
withStatus(EndpointStatus status)
Specifies the status of the endpoint.
|
EndpointProperties |
withStatus(java.lang.String status)
Specifies the status of the endpoint.
|
public java.lang.String getEndpointArn()
The Amazon Resource Number (ARN) of the endpoint.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:(document
-classifier
-endpoint|entity-recognizer-endpoint)/[a-zA-Z0-9](-*[a-zA-Z0-9])*
The Amazon Resource Number (ARN) of the endpoint.
public void setEndpointArn(java.lang.String endpointArn)
The Amazon Resource Number (ARN) of the endpoint.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:(document
-classifier
-endpoint|entity-recognizer-endpoint)/[a-zA-Z0-9](-*[a-zA-Z0-9])*
endpointArn
- The Amazon Resource Number (ARN) of the endpoint.
public EndpointProperties withEndpointArn(java.lang.String endpointArn)
The Amazon Resource Number (ARN) of the endpoint.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:(document
-classifier
-endpoint|entity-recognizer-endpoint)/[a-zA-Z0-9](-*[a-zA-Z0-9])*
endpointArn
- The Amazon Resource Number (ARN) of the endpoint.
public java.lang.String getStatus()
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.
Constraints:
Allowed Values: CREATING, DELETING, FAILED, IN_SERVICE, UPDATING
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.
EndpointStatus
public void setStatus(java.lang.String 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.
Constraints:
Allowed Values: CREATING, DELETING, FAILED, IN_SERVICE, UPDATING
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.
EndpointStatus
public EndpointProperties withStatus(java.lang.String 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, DELETING, FAILED, IN_SERVICE, UPDATING
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.
EndpointStatus
public void setStatus(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.
Constraints:
Allowed Values: CREATING, DELETING, FAILED, IN_SERVICE, UPDATING
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.
EndpointStatus
public EndpointProperties withStatus(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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, DELETING, FAILED, IN_SERVICE, UPDATING
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.
EndpointStatus
public java.lang.String getMessage()
Specifies a reason for failure in cases of Failed
status.
Specifies a reason for failure in cases of Failed
status.
public void setMessage(java.lang.String message)
Specifies a reason for failure in cases of Failed
status.
message
-
Specifies a reason for failure in cases of Failed
status.
public EndpointProperties withMessage(java.lang.String message)
Specifies a reason for failure in cases of Failed
status.
Returns a reference to this object so that method calls can be chained together.
message
-
Specifies a reason for failure in cases of Failed
status.
public java.lang.String getModelArn()
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:(document
-classifier|entity-recognizer)/[a-zA-Z0-9](-*[a-zA-Z0-9])*
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
public void setModelArn(java.lang.String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:(document
-classifier|entity-recognizer)/[a-zA-Z0-9](-*[a-zA-Z0-9])*
modelArn
- The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
public EndpointProperties withModelArn(java.lang.String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:(document
-classifier|entity-recognizer)/[a-zA-Z0-9](-*[a-zA-Z0-9])*
modelArn
- The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
public java.lang.Integer getDesiredInferenceUnits()
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.
Constraints:
Range: 1 -
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 void setDesiredInferenceUnits(java.lang.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.
Constraints:
Range: 1 -
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 EndpointProperties withDesiredInferenceUnits(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
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 java.lang.Integer getCurrentInferenceUnits()
The number of inference units currently used by the model using this endpoint.
Constraints:
Range: 1 -
The number of inference units currently used by the model using this endpoint.
public void setCurrentInferenceUnits(java.lang.Integer currentInferenceUnits)
The number of inference units currently used by the model using this endpoint.
Constraints:
Range: 1 -
currentInferenceUnits
- The number of inference units currently used by the model using this endpoint.
public EndpointProperties withCurrentInferenceUnits(java.lang.Integer currentInferenceUnits)
The number of inference units currently used by the model using this endpoint.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
currentInferenceUnits
- The number of inference units currently used by the model using this endpoint.
public java.util.Date getCreationTime()
The creation date and time of the endpoint.
The creation date and time of the endpoint.
public void setCreationTime(java.util.Date creationTime)
The creation date and time of the endpoint.
creationTime
- The creation date and time of the endpoint.
public EndpointProperties withCreationTime(java.util.Date creationTime)
The creation date and time of the endpoint.
Returns a reference to this object so that method calls can be chained together.
creationTime
- The creation date and time of the endpoint.
public java.util.Date getLastModifiedTime()
The date and time that the endpoint was last modified.
The date and time that the endpoint was last modified.
public void setLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the endpoint was last modified.
lastModifiedTime
- The date and time that the endpoint was last modified.
public EndpointProperties withLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the endpoint was last modified.
Returns a reference to this object so that method calls can be chained together.
lastModifiedTime
- The date and time that the endpoint was last modified.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.