@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AsyncInferenceNotificationConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the configuration for notifications of inference results for asynchronous inference.
Constructor and Description |
---|
AsyncInferenceNotificationConfig() |
Modifier and Type | Method and Description |
---|---|
AsyncInferenceNotificationConfig |
clone() |
boolean |
equals(Object obj) |
String |
getErrorTopic()
Amazon SNS topic to post a notification to when inference fails.
|
String |
getSuccessTopic()
Amazon SNS topic to post a notification to when inference completes successfully.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorTopic(String errorTopic)
Amazon SNS topic to post a notification to when inference fails.
|
void |
setSuccessTopic(String successTopic)
Amazon SNS topic to post a notification to when inference completes successfully.
|
String |
toString()
Returns a string representation of this object.
|
AsyncInferenceNotificationConfig |
withErrorTopic(String errorTopic)
Amazon SNS topic to post a notification to when inference fails.
|
AsyncInferenceNotificationConfig |
withSuccessTopic(String successTopic)
Amazon SNS topic to post a notification to when inference completes successfully.
|
public void setSuccessTopic(String successTopic)
Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided, no notification is sent on success.
successTopic
- Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided,
no notification is sent on success.public String getSuccessTopic()
Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided, no notification is sent on success.
public AsyncInferenceNotificationConfig withSuccessTopic(String successTopic)
Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided, no notification is sent on success.
successTopic
- Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided,
no notification is sent on success.public void setErrorTopic(String errorTopic)
Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification is sent on failure.
errorTopic
- Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification
is sent on failure.public String getErrorTopic()
Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification is sent on failure.
public AsyncInferenceNotificationConfig withErrorTopic(String errorTopic)
Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification is sent on failure.
errorTopic
- Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification
is sent on failure.public String toString()
toString
in class Object
Object.toString()
public AsyncInferenceNotificationConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.