@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFlowDefinitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateFlowDefinitionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFlowDefinitionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getFlowDefinitionName()
The name of your flow definition.
|
HumanLoopActivationConfig |
getHumanLoopActivationConfig()
An object containing information about the events that trigger a human workflow.
|
HumanLoopConfig |
getHumanLoopConfig()
An object containing information about the tasks the human reviewers will perform.
|
HumanLoopRequestSource |
getHumanLoopRequestSource()
Container for configuring the source of human task requests.
|
FlowDefinitionOutputConfig |
getOutputConfig()
An object containing information about where the human review results will be uploaded.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the role needed to call other services on your behalf.
|
List<Tag> |
getTags()
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition.
|
int |
hashCode() |
void |
setFlowDefinitionName(String flowDefinitionName)
The name of your flow definition.
|
void |
setHumanLoopActivationConfig(HumanLoopActivationConfig humanLoopActivationConfig)
An object containing information about the events that trigger a human workflow.
|
void |
setHumanLoopConfig(HumanLoopConfig humanLoopConfig)
An object containing information about the tasks the human reviewers will perform.
|
void |
setHumanLoopRequestSource(HumanLoopRequestSource humanLoopRequestSource)
Container for configuring the source of human task requests.
|
void |
setOutputConfig(FlowDefinitionOutputConfig outputConfig)
An object containing information about where the human review results will be uploaded.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role needed to call other services on your behalf.
|
void |
setTags(Collection<Tag> tags)
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition.
|
String |
toString()
Returns a string representation of this object.
|
CreateFlowDefinitionRequest |
withFlowDefinitionName(String flowDefinitionName)
The name of your flow definition.
|
CreateFlowDefinitionRequest |
withHumanLoopActivationConfig(HumanLoopActivationConfig humanLoopActivationConfig)
An object containing information about the events that trigger a human workflow.
|
CreateFlowDefinitionRequest |
withHumanLoopConfig(HumanLoopConfig humanLoopConfig)
An object containing information about the tasks the human reviewers will perform.
|
CreateFlowDefinitionRequest |
withHumanLoopRequestSource(HumanLoopRequestSource humanLoopRequestSource)
Container for configuring the source of human task requests.
|
CreateFlowDefinitionRequest |
withOutputConfig(FlowDefinitionOutputConfig outputConfig)
An object containing information about where the human review results will be uploaded.
|
CreateFlowDefinitionRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role needed to call other services on your behalf.
|
CreateFlowDefinitionRequest |
withTags(Collection<Tag> tags)
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition.
|
CreateFlowDefinitionRequest |
withTags(Tag... tags)
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFlowDefinitionName(String flowDefinitionName)
The name of your flow definition.
flowDefinitionName
- The name of your flow definition.public String getFlowDefinitionName()
The name of your flow definition.
public CreateFlowDefinitionRequest withFlowDefinitionName(String flowDefinitionName)
The name of your flow definition.
flowDefinitionName
- The name of your flow definition.public void setHumanLoopRequestSource(HumanLoopRequestSource humanLoopRequestSource)
Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or Amazon Textract is used as an integration source.
humanLoopRequestSource
- Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or
Amazon Textract is used as an integration source.public HumanLoopRequestSource getHumanLoopRequestSource()
Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or Amazon Textract is used as an integration source.
public CreateFlowDefinitionRequest withHumanLoopRequestSource(HumanLoopRequestSource humanLoopRequestSource)
Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or Amazon Textract is used as an integration source.
humanLoopRequestSource
- Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or
Amazon Textract is used as an integration source.public void setHumanLoopActivationConfig(HumanLoopActivationConfig humanLoopActivationConfig)
An object containing information about the events that trigger a human workflow.
humanLoopActivationConfig
- An object containing information about the events that trigger a human workflow.public HumanLoopActivationConfig getHumanLoopActivationConfig()
An object containing information about the events that trigger a human workflow.
public CreateFlowDefinitionRequest withHumanLoopActivationConfig(HumanLoopActivationConfig humanLoopActivationConfig)
An object containing information about the events that trigger a human workflow.
humanLoopActivationConfig
- An object containing information about the events that trigger a human workflow.public void setHumanLoopConfig(HumanLoopConfig humanLoopConfig)
An object containing information about the tasks the human reviewers will perform.
humanLoopConfig
- An object containing information about the tasks the human reviewers will perform.public HumanLoopConfig getHumanLoopConfig()
An object containing information about the tasks the human reviewers will perform.
public CreateFlowDefinitionRequest withHumanLoopConfig(HumanLoopConfig humanLoopConfig)
An object containing information about the tasks the human reviewers will perform.
humanLoopConfig
- An object containing information about the tasks the human reviewers will perform.public void setOutputConfig(FlowDefinitionOutputConfig outputConfig)
An object containing information about where the human review results will be uploaded.
outputConfig
- An object containing information about where the human review results will be uploaded.public FlowDefinitionOutputConfig getOutputConfig()
An object containing information about where the human review results will be uploaded.
public CreateFlowDefinitionRequest withOutputConfig(FlowDefinitionOutputConfig outputConfig)
An object containing information about where the human review results will be uploaded.
outputConfig
- An object containing information about where the human review results will be uploaded.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example,
arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298
.
roleArn
- The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example,
arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298
.public String getRoleArn()
The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example,
arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298
.
arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298
.public CreateFlowDefinitionRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example,
arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298
.
roleArn
- The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example,
arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298
.public List<Tag> getTags()
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.
public void setTags(Collection<Tag> tags)
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.
tags
- An array of key-value pairs that contain metadata to help you categorize and organize a flow definition.
Each tag consists of a key and a value, both of which you define.public CreateFlowDefinitionRequest withTags(Tag... tags)
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- An array of key-value pairs that contain metadata to help you categorize and organize a flow definition.
Each tag consists of a key and a value, both of which you define.public CreateFlowDefinitionRequest withTags(Collection<Tag> tags)
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.
tags
- An array of key-value pairs that contain metadata to help you categorize and organize a flow definition.
Each tag consists of a key and a value, both of which you define.public String toString()
toString
in class Object
Object.toString()
public CreateFlowDefinitionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()