@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HumanLoopConfig extends Object implements Serializable, Cloneable, StructuredPojo
Sets up the human review workflow the document will be sent to if one of the conditions is met. You can also set certain attributes of the image before review.
Constructor and Description |
---|
HumanLoopConfig() |
Modifier and Type | Method and Description |
---|---|
HumanLoopConfig |
clone() |
boolean |
equals(Object obj) |
HumanLoopDataAttributes |
getDataAttributes()
Sets attributes of the input data.
|
String |
getFlowDefinitionArn()
The Amazon Resource Name (ARN) of the flow definition.
|
String |
getHumanLoopName()
The name of the human workflow used for this image.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataAttributes(HumanLoopDataAttributes dataAttributes)
Sets attributes of the input data.
|
void |
setFlowDefinitionArn(String flowDefinitionArn)
The Amazon Resource Name (ARN) of the flow definition.
|
void |
setHumanLoopName(String humanLoopName)
The name of the human workflow used for this image.
|
String |
toString()
Returns a string representation of this object.
|
HumanLoopConfig |
withDataAttributes(HumanLoopDataAttributes dataAttributes)
Sets attributes of the input data.
|
HumanLoopConfig |
withFlowDefinitionArn(String flowDefinitionArn)
The Amazon Resource Name (ARN) of the flow definition.
|
HumanLoopConfig |
withHumanLoopName(String humanLoopName)
The name of the human workflow used for this image.
|
public void setHumanLoopName(String humanLoopName)
The name of the human workflow used for this image. This should be kept unique within a region.
humanLoopName
- The name of the human workflow used for this image. This should be kept unique within a region.public String getHumanLoopName()
The name of the human workflow used for this image. This should be kept unique within a region.
public HumanLoopConfig withHumanLoopName(String humanLoopName)
The name of the human workflow used for this image. This should be kept unique within a region.
humanLoopName
- The name of the human workflow used for this image. This should be kept unique within a region.public void setFlowDefinitionArn(String flowDefinitionArn)
The Amazon Resource Name (ARN) of the flow definition.
flowDefinitionArn
- The Amazon Resource Name (ARN) of the flow definition.public String getFlowDefinitionArn()
The Amazon Resource Name (ARN) of the flow definition.
public HumanLoopConfig withFlowDefinitionArn(String flowDefinitionArn)
The Amazon Resource Name (ARN) of the flow definition.
flowDefinitionArn
- The Amazon Resource Name (ARN) of the flow definition.public void setDataAttributes(HumanLoopDataAttributes dataAttributes)
Sets attributes of the input data.
dataAttributes
- Sets attributes of the input data.public HumanLoopDataAttributes getDataAttributes()
Sets attributes of the input data.
public HumanLoopConfig withDataAttributes(HumanLoopDataAttributes dataAttributes)
Sets attributes of the input data.
dataAttributes
- Sets attributes of the input data.public String toString()
toString
in class Object
Object.toString()
public HumanLoopConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.