@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFlowResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateFlowResult() |
Modifier and Type | Method and Description |
---|---|
CreateFlowResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the flow.
|
Date |
getCreatedAt()
The time at which the flow was created.
|
String |
getCustomerEncryptionKeyArn()
The Amazon Resource Name (ARN) of the KMS key that you encrypted the flow with.
|
FlowDefinition |
getDefinition()
A definition of the nodes and connections between nodes in the flow.
|
String |
getDescription()
The description of the flow.
|
String |
getExecutionRoleArn()
The Amazon Resource Name (ARN) of the service role with permissions to create a flow.
|
String |
getId()
The unique identifier of the flow.
|
String |
getName()
The name of the flow.
|
String |
getStatus()
The status of the flow.
|
Date |
getUpdatedAt()
The time at which the flow was last updated.
|
String |
getVersion()
The version of the flow.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the flow.
|
void |
setCreatedAt(Date createdAt)
The time at which the flow was created.
|
void |
setCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
The Amazon Resource Name (ARN) of the KMS key that you encrypted the flow with.
|
void |
setDefinition(FlowDefinition definition)
A definition of the nodes and connections between nodes in the flow.
|
void |
setDescription(String description)
The description of the flow.
|
void |
setExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the service role with permissions to create a flow.
|
void |
setId(String id)
The unique identifier of the flow.
|
void |
setName(String name)
The name of the flow.
|
void |
setStatus(String status)
The status of the flow.
|
void |
setUpdatedAt(Date updatedAt)
The time at which the flow was last updated.
|
void |
setVersion(String version)
The version of the flow.
|
String |
toString()
Returns a string representation of this object.
|
CreateFlowResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the flow.
|
CreateFlowResult |
withCreatedAt(Date createdAt)
The time at which the flow was created.
|
CreateFlowResult |
withCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
The Amazon Resource Name (ARN) of the KMS key that you encrypted the flow with.
|
CreateFlowResult |
withDefinition(FlowDefinition definition)
A definition of the nodes and connections between nodes in the flow.
|
CreateFlowResult |
withDescription(String description)
The description of the flow.
|
CreateFlowResult |
withExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the service role with permissions to create a flow.
|
CreateFlowResult |
withId(String id)
The unique identifier of the flow.
|
CreateFlowResult |
withName(String name)
The name of the flow.
|
CreateFlowResult |
withStatus(FlowStatus status)
The status of the flow.
|
CreateFlowResult |
withStatus(String status)
The status of the flow.
|
CreateFlowResult |
withUpdatedAt(Date updatedAt)
The time at which the flow was last updated.
|
CreateFlowResult |
withVersion(String version)
The version of the flow.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The Amazon Resource Name (ARN) of the flow.
arn
- The Amazon Resource Name (ARN) of the flow.public String getArn()
The Amazon Resource Name (ARN) of the flow.
public CreateFlowResult withArn(String arn)
The Amazon Resource Name (ARN) of the flow.
arn
- The Amazon Resource Name (ARN) of the flow.public void setCreatedAt(Date createdAt)
The time at which the flow was created.
createdAt
- The time at which the flow was created.public Date getCreatedAt()
The time at which the flow was created.
public CreateFlowResult withCreatedAt(Date createdAt)
The time at which the flow was created.
createdAt
- The time at which the flow was created.public void setCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
The Amazon Resource Name (ARN) of the KMS key that you encrypted the flow with.
customerEncryptionKeyArn
- The Amazon Resource Name (ARN) of the KMS key that you encrypted the flow with.public String getCustomerEncryptionKeyArn()
The Amazon Resource Name (ARN) of the KMS key that you encrypted the flow with.
public CreateFlowResult withCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
The Amazon Resource Name (ARN) of the KMS key that you encrypted the flow with.
customerEncryptionKeyArn
- The Amazon Resource Name (ARN) of the KMS key that you encrypted the flow with.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 CreateFlowResult 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)
The description of the flow.
description
- The description of the flow.public String getDescription()
The description of the flow.
public CreateFlowResult withDescription(String description)
The description of the flow.
description
- The description of the flow.public void setExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the service role with permissions to create 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 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 a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
public CreateFlowResult withExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the service role with permissions to create 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 a flow. For more
information, see Create a service role
for flows in Amazon Bedrock in the Amazon Bedrock User Guide.public void setId(String id)
The unique identifier of the flow.
id
- The unique identifier of the flow.public String getId()
The unique identifier of the flow.
public CreateFlowResult withId(String id)
The unique identifier of the flow.
id
- The unique identifier of the flow.public void setName(String name)
The name of the flow.
name
- The name of the flow.public String getName()
The name of the flow.
public CreateFlowResult withName(String name)
The name of the flow.
name
- The name of the flow.public void setStatus(String status)
The status of the flow. When you submit this request, the status will be NotPrepared
. If creation
fails, the status becomes Failed
.
status
- The status of the flow. When you submit this request, the status will be NotPrepared
. If
creation fails, the status becomes Failed
.FlowStatus
public String getStatus()
The status of the flow. When you submit this request, the status will be NotPrepared
. If creation
fails, the status becomes Failed
.
NotPrepared
. If
creation fails, the status becomes Failed
.FlowStatus
public CreateFlowResult withStatus(String status)
The status of the flow. When you submit this request, the status will be NotPrepared
. If creation
fails, the status becomes Failed
.
status
- The status of the flow. When you submit this request, the status will be NotPrepared
. If
creation fails, the status becomes Failed
.FlowStatus
public CreateFlowResult withStatus(FlowStatus status)
The status of the flow. When you submit this request, the status will be NotPrepared
. If creation
fails, the status becomes Failed
.
status
- The status of the flow. When you submit this request, the status will be NotPrepared
. If
creation fails, the status becomes Failed
.FlowStatus
public void setUpdatedAt(Date updatedAt)
The time at which the flow was last updated.
updatedAt
- The time at which the flow was last updated.public Date getUpdatedAt()
The time at which the flow was last updated.
public CreateFlowResult withUpdatedAt(Date updatedAt)
The time at which the flow was last updated.
updatedAt
- The time at which the flow was last updated.public void setVersion(String version)
The version of the flow. When you create a flow, the version created is the DRAFT
version.
version
- The version of the flow. When you create a flow, the version created is the DRAFT
version.public String getVersion()
The version of the flow. When you create a flow, the version created is the DRAFT
version.
DRAFT
version.public CreateFlowResult withVersion(String version)
The version of the flow. When you create a flow, the version created is the DRAFT
version.
version
- The version of the flow. When you create a flow, the version created is the DRAFT
version.public String toString()
toString
in class Object
Object.toString()
public CreateFlowResult clone()