@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EndpointProperties extends Object implements Serializable, Cloneable, StructuredPojo
Specifies information about the specified endpoint. For information about endpoints, see Managing endpoints.
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.
|
String |
getDataAccessRoleArn()
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 |
getDesiredDataAccessRoleArn()
Data access role ARN to use in case the new model is encrypted with a customer KMS key.
|
Integer |
getDesiredInferenceUnits()
The desired number of inference units to be used by the model using this endpoint.
|
String |
getDesiredModelArn()
ARN of the new model to use for updating an existing endpoint.
|
String |
getEndpointArn()
The Amazon Resource Number (ARN) of the endpoint.
|
String |
getFlywheelArn()
The Amazon Resource Number (ARN) of the flywheel
|
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 |
setDataAccessRoleArn(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).
|
void |
setDesiredDataAccessRoleArn(String desiredDataAccessRoleArn)
Data access role ARN to use in case the new model is encrypted with a customer KMS key.
|
void |
setDesiredInferenceUnits(Integer desiredInferenceUnits)
The desired number of inference units to be used by the model using this endpoint.
|
void |
setDesiredModelArn(String desiredModelArn)
ARN of the new model to use for updating an existing endpoint.
|
void |
setEndpointArn(String endpointArn)
The Amazon Resource Number (ARN) of the endpoint.
|
void |
setFlywheelArn(String flywheelArn)
The Amazon Resource Number (ARN) of the flywheel
|
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 |
withDataAccessRoleArn(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).
|
EndpointProperties |
withDesiredDataAccessRoleArn(String desiredDataAccessRoleArn)
Data access role ARN to use in case the new model is encrypted with a customer KMS key.
|
EndpointProperties |
withDesiredInferenceUnits(Integer desiredInferenceUnits)
The desired number of inference units to be used by the model using this endpoint.
|
EndpointProperties |
withDesiredModelArn(String desiredModelArn)
ARN of the new model to use for updating an existing endpoint.
|
EndpointProperties |
withEndpointArn(String endpointArn)
The Amazon Resource Number (ARN) of the endpoint.
|
EndpointProperties |
withFlywheelArn(String flywheelArn)
The Amazon Resource Number (ARN) of the flywheel
|
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 setDesiredModelArn(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
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 progresspublic String getDesiredModelArn()
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 EndpointProperties withDesiredModelArn(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
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 progresspublic 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 void setDataAccessRoleArn(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).
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 String getDataAccessRoleArn()
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 EndpointProperties withDataAccessRoleArn(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).
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 void setDesiredDataAccessRoleArn(String desiredDataAccessRoleArn)
Data access role ARN to use in case the new model is encrypted with a customer KMS key.
desiredDataAccessRoleArn
- Data access role ARN to use in case the new model is encrypted with a customer KMS key.public String getDesiredDataAccessRoleArn()
Data access role ARN to use in case the new model is encrypted with a customer KMS key.
public EndpointProperties withDesiredDataAccessRoleArn(String desiredDataAccessRoleArn)
Data access role ARN to use in case the new model is encrypted with a customer KMS key.
desiredDataAccessRoleArn
- Data access role ARN to use in case the new model is encrypted with a customer KMS key.public void setFlywheelArn(String flywheelArn)
The Amazon Resource Number (ARN) of the flywheel
flywheelArn
- The Amazon Resource Number (ARN) of the flywheelpublic String getFlywheelArn()
The Amazon Resource Number (ARN) of the flywheel
public EndpointProperties withFlywheelArn(String flywheelArn)
The Amazon Resource Number (ARN) of the flywheel
flywheelArn
- The Amazon Resource Number (ARN) of the flywheelpublic 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.