public class HumanLoopConfig
extends java.lang.Object
implements java.io.Serializable
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 |
---|---|
boolean |
equals(java.lang.Object obj) |
HumanLoopDataAttributes |
getDataAttributes()
Sets attributes of the input data.
|
java.lang.String |
getFlowDefinitionArn()
The Amazon Resource Name (ARN) of the flow definition.
|
java.lang.String |
getHumanLoopName()
The name of the human workflow used for this image.
|
int |
hashCode() |
void |
setDataAttributes(HumanLoopDataAttributes dataAttributes)
Sets attributes of the input data.
|
void |
setFlowDefinitionArn(java.lang.String flowDefinitionArn)
The Amazon Resource Name (ARN) of the flow definition.
|
void |
setHumanLoopName(java.lang.String humanLoopName)
The name of the human workflow used for this image.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HumanLoopConfig |
withDataAttributes(HumanLoopDataAttributes dataAttributes)
Sets attributes of the input data.
|
HumanLoopConfig |
withFlowDefinitionArn(java.lang.String flowDefinitionArn)
The Amazon Resource Name (ARN) of the flow definition.
|
HumanLoopConfig |
withHumanLoopName(java.lang.String humanLoopName)
The name of the human workflow used for this image.
|
public java.lang.String getHumanLoopName()
The name of the human workflow used for this image. This should be kept unique within a region.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](-*[a-z0-9])*
The name of the human workflow used for this image. This should be kept unique within a region.
public void setHumanLoopName(java.lang.String humanLoopName)
The name of the human workflow used for this image. This should be kept unique within a region.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](-*[a-z0-9])*
humanLoopName
- The name of the human workflow used for this image. This should be kept unique within a region.
public HumanLoopConfig withHumanLoopName(java.lang.String humanLoopName)
The name of the human workflow used for this image. This should be kept unique within a region.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](-*[a-z0-9])*
humanLoopName
- The name of the human workflow used for this image. This should be kept unique within a region.
public java.lang.String getFlowDefinitionArn()
The Amazon Resource Name (ARN) of the flow definition.
Constraints:
Length: - 256
The Amazon Resource Name (ARN) of the flow definition.
public void setFlowDefinitionArn(java.lang.String flowDefinitionArn)
The Amazon Resource Name (ARN) of the flow definition.
Constraints:
Length: - 256
flowDefinitionArn
- The Amazon Resource Name (ARN) of the flow definition.
public HumanLoopConfig withFlowDefinitionArn(java.lang.String flowDefinitionArn)
The Amazon Resource Name (ARN) of the flow definition.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 256
flowDefinitionArn
- The Amazon Resource Name (ARN) of the flow definition.
public HumanLoopDataAttributes getDataAttributes()
Sets attributes of the input data.
Sets attributes of the input data.
public void setDataAttributes(HumanLoopDataAttributes dataAttributes)
Sets attributes of the input data.
dataAttributes
- Sets attributes of the input data.
public HumanLoopConfig withDataAttributes(HumanLoopDataAttributes dataAttributes)
Sets attributes of the input data.
Returns a reference to this object so that method calls can be chained together.
dataAttributes
- Sets attributes of the input data.
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.