@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EndpointProperties extends Object implements Serializable, Cloneable, StructuredPojo
Specifies information about the specified endpoint.
Constructor and Description |
---|
EndpointProperties() |
Modifier and Type | Method and Description |
---|---|
EndpointProperties |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The creation date and time of the endpoint.
|
Integer |
getCurrentInferenceUnits()
The number of inference units currently used by the model using this endpoint.
|
Integer |
getDesiredInferenceUnits()
The desired number of inference units to be used by the model using this endpoint.
|
String |
getEndpointArn()
The Amazon Resource Number (ARN) of the endpoint.
|
Date |
getLastModifiedTime()
The date and time that the endpoint was last modified.
|
String |
getMessage()
Specifies a reason for failure in cases of
Failed status. |
String |
getModelArn()
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
|
String |
getStatus()
Specifies the status of the endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
The creation date and time of the endpoint.
|
void |
setCurrentInferenceUnits(Integer currentInferenceUnits)
The number of inference units currently used by the model using this endpoint.
|
void |
setDesiredInferenceUnits(Integer desiredInferenceUnits)
The desired number of inference units to be used by the model using this endpoint.
|
void |
setEndpointArn(String endpointArn)
The Amazon Resource Number (ARN) of the endpoint.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The date and time that the endpoint was last modified.
|
void |
setMessage(String message)
Specifies a reason for failure in cases of
Failed status. |
void |
setModelArn(String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
|
void |
setStatus(String status)
Specifies the status of the endpoint.
|
String |
toString()
Returns a string representation of this object.
|
EndpointProperties |
withCreationTime(Date creationTime)
The creation date and time of the endpoint.
|
EndpointProperties |
withCurrentInferenceUnits(Integer currentInferenceUnits)
The number of inference units currently used by the model using this endpoint.
|
EndpointProperties |
withDesiredInferenceUnits(Integer desiredInferenceUnits)
The desired number of inference units to be used by the model using this endpoint.
|
EndpointProperties |
withEndpointArn(String endpointArn)
The Amazon Resource Number (ARN) of the endpoint.
|
EndpointProperties |
withLastModifiedTime(Date lastModifiedTime)
The date and time that the endpoint was last modified.
|
EndpointProperties |
withMessage(String message)
Specifies a reason for failure in cases of
Failed status. |
EndpointProperties |
withModelArn(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(String status)
Specifies the status of the endpoint.
|
public void setEndpointArn(String endpointArn)
The Amazon Resource Number (ARN) of the endpoint.
endpointArn
- The Amazon Resource Number (ARN) of the endpoint.public String getEndpointArn()
The Amazon Resource Number (ARN) of the endpoint.
public EndpointProperties withEndpointArn(String endpointArn)
The Amazon Resource Number (ARN) of the endpoint.
endpointArn
- The Amazon Resource Number (ARN) of the endpoint.public void setStatus(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.
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 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.
Ready
status before making inference
requests.EndpointStatus
public EndpointProperties withStatus(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.
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.
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 setMessage(String message)
Specifies a reason for failure in cases of Failed
status.
message
- Specifies a reason for failure in cases of Failed
status.public String getMessage()
Specifies a reason for failure in cases of Failed
status.
Failed
status.public EndpointProperties withMessage(String message)
Specifies a reason for failure in cases of Failed
status.
message
- Specifies a reason for failure in cases of Failed
status.public void setModelArn(String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
modelArn
- The Amazon Resource Number (ARN) of the model to which the endpoint is attached.public String getModelArn()
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
public EndpointProperties withModelArn(String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
modelArn
- The Amazon Resource Number (ARN) of the model to which the endpoint is attached.public void setDesiredInferenceUnits(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.
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 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.
public EndpointProperties withDesiredInferenceUnits(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.
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 void setCurrentInferenceUnits(Integer currentInferenceUnits)
The number of inference units currently used by the model using this endpoint.
currentInferenceUnits
- The number of inference units currently used by the model using this endpoint.public Integer getCurrentInferenceUnits()
The number of inference units currently used by the model using this endpoint.
public EndpointProperties withCurrentInferenceUnits(Integer currentInferenceUnits)
The number of inference units currently used by the model using this endpoint.
currentInferenceUnits
- The number of inference units currently used by the model using this endpoint.public void setCreationTime(Date creationTime)
The creation date and time of the endpoint.
creationTime
- The creation date and time of the endpoint.public Date getCreationTime()
The creation date and time of the endpoint.
public EndpointProperties withCreationTime(Date creationTime)
The creation date and time of the endpoint.
creationTime
- The creation date and time of the endpoint.public void setLastModifiedTime(Date lastModifiedTime)
The date and time that the endpoint was last modified.
lastModifiedTime
- The date and time that the endpoint was last modified.public Date getLastModifiedTime()
The date and time that the endpoint was last modified.
public EndpointProperties withLastModifiedTime(Date lastModifiedTime)
The date and time that the endpoint was last modified.
lastModifiedTime
- The date and time that the endpoint was last modified.public String toString()
toString
in class Object
Object.toString()
public EndpointProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.