@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFlowRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateFlowRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFlowRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateFlowRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateFlowRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
String |
getCustomerEncryptionKeyArn()
The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
|
FlowDefinition |
getDefinition()
A definition of the nodes and connections between nodes in the flow.
|
String |
getDescription()
A description for the flow.
|
String |
getExecutionRoleArn()
The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow.
|
String |
getName()
A name for the flow.
|
Map<String,String> |
getTags()
Any tags that you want to attach to the flow.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
void |
setCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
|
void |
setDefinition(FlowDefinition definition)
A definition of the nodes and connections between nodes in the flow.
|
void |
setDescription(String description)
A description for the flow.
|
void |
setExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow.
|
void |
setName(String name)
A name for the flow.
|
void |
setTags(Map<String,String> tags)
Any tags that you want to attach to the flow.
|
String |
toString()
Returns a string representation of this object.
|
CreateFlowRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
CreateFlowRequest |
withCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
|
CreateFlowRequest |
withDefinition(FlowDefinition definition)
A definition of the nodes and connections between nodes in the flow.
|
CreateFlowRequest |
withDescription(String description)
A description for the flow.
|
CreateFlowRequest |
withExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow.
|
CreateFlowRequest |
withName(String name)
A name for the flow.
|
CreateFlowRequest |
withTags(Map<String,String> tags)
Any tags that you want to attach to the flow.
|
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 setClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
clientToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If
this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
For more information, see Ensuring
idempotency.public String getClientToken()
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
public CreateFlowRequest withClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
clientToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If
this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
For more information, see Ensuring
idempotency.public void setCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
customerEncryptionKeyArn
- The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.public String getCustomerEncryptionKeyArn()
The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
public CreateFlowRequest withCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
customerEncryptionKeyArn
- The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.public void setDefinition(FlowDefinition definition)
A definition of the nodes and connections between nodes in the flow.
definition
- A definition of the nodes and connections between nodes in the flow.public FlowDefinition getDefinition()
A definition of the nodes and connections between nodes in the flow.
public CreateFlowRequest withDefinition(FlowDefinition definition)
A definition of the nodes and connections between nodes in the flow.
definition
- A definition of the nodes and connections between nodes in the flow.public void setDescription(String description)
A description for the flow.
description
- A description for the flow.public String getDescription()
A description for the flow.
public CreateFlowRequest withDescription(String description)
A description for the flow.
description
- A description for the flow.public void setExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
executionRoleArn
- The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more
information, see Create a service role
for flows in Amazon Bedrock in the Amazon Bedrock User Guide.public String getExecutionRoleArn()
The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
public CreateFlowRequest withExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
executionRoleArn
- The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more
information, see Create a service role
for flows in Amazon Bedrock in the Amazon Bedrock User Guide.public void setName(String name)
A name for the flow.
name
- A name for the flow.public String getName()
A name for the flow.
public CreateFlowRequest withName(String name)
A name for the flow.
name
- A name for the flow.public Map<String,String> getTags()
Any tags that you want to attach to the flow. For more information, see Tagging resources in Amazon Bedrock.
public void setTags(Map<String,String> tags)
Any tags that you want to attach to the flow. For more information, see Tagging resources in Amazon Bedrock.
tags
- Any tags that you want to attach to the flow. For more information, see Tagging resources in Amazon
Bedrock.public CreateFlowRequest withTags(Map<String,String> tags)
Any tags that you want to attach to the flow. For more information, see Tagging resources in Amazon Bedrock.
tags
- Any tags that you want to attach to the flow. For more information, see Tagging resources in Amazon
Bedrock.public CreateFlowRequest addTagsEntry(String key, String value)
public CreateFlowRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateFlowRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()