@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateFlowResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateFlowResult() |
Modifier and Type | Method and Description |
---|---|
UpdateFlowResult |
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 the flow was encrypted with.
|
FlowDefinition |
getDefinition()
A definition of the nodes and the 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 the flow was encrypted with.
|
void |
setDefinition(FlowDefinition definition)
A definition of the nodes and the 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.
|
UpdateFlowResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the flow.
|
UpdateFlowResult |
withCreatedAt(Date createdAt)
The time at which the flow was created.
|
UpdateFlowResult |
withCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
The Amazon Resource Name (ARN) of the KMS key that the flow was encrypted with.
|
UpdateFlowResult |
withDefinition(FlowDefinition definition)
A definition of the nodes and the connections between nodes in the flow.
|
UpdateFlowResult |
withDescription(String description)
The description of the flow.
|
UpdateFlowResult |
withExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the service role with permissions to create a flow.
|
UpdateFlowResult |
withId(String id)
The unique identifier of the flow.
|
UpdateFlowResult |
withName(String name)
The name of the flow.
|
UpdateFlowResult |
withStatus(FlowStatus status)
The status of the flow.
|
UpdateFlowResult |
withStatus(String status)
The status of the flow.
|
UpdateFlowResult |
withUpdatedAt(Date updatedAt)
The time at which the flow was last updated.
|
UpdateFlowResult |
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 UpdateFlowResult 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 UpdateFlowResult 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 the flow was encrypted with.
customerEncryptionKeyArn
- The Amazon Resource Name (ARN) of the KMS key that the flow was encrypted with.public String getCustomerEncryptionKeyArn()
The Amazon Resource Name (ARN) of the KMS key that the flow was encrypted with.
public UpdateFlowResult withCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
The Amazon Resource Name (ARN) of the KMS key that the flow was encrypted with.
customerEncryptionKeyArn
- The Amazon Resource Name (ARN) of the KMS key that the flow was encrypted with.public void setDefinition(FlowDefinition definition)
A definition of the nodes and the connections between nodes in the flow.
definition
- A definition of the nodes and the connections between nodes in the flow.public FlowDefinition getDefinition()
A definition of the nodes and the connections between nodes in the flow.
public UpdateFlowResult withDefinition(FlowDefinition definition)
A definition of the nodes and the connections between nodes in the flow.
definition
- A definition of the nodes and the 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 UpdateFlowResult 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 UpdateFlowResult 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 UpdateFlowResult 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 UpdateFlowResult 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 updating
fails, the status becomes Failed
.
status
- The status of the flow. When you submit this request, the status will be NotPrepared
. If
updating 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 updating
fails, the status becomes Failed
.
NotPrepared
. If
updating fails, the status becomes Failed
.FlowStatus
public UpdateFlowResult withStatus(String status)
The status of the flow. When you submit this request, the status will be NotPrepared
. If updating
fails, the status becomes Failed
.
status
- The status of the flow. When you submit this request, the status will be NotPrepared
. If
updating fails, the status becomes Failed
.FlowStatus
public UpdateFlowResult withStatus(FlowStatus status)
The status of the flow. When you submit this request, the status will be NotPrepared
. If updating
fails, the status becomes Failed
.
status
- The status of the flow. When you submit this request, the status will be NotPrepared
. If
updating 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 UpdateFlowResult 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 update a flow, the version updated is the DRAFT
version.
version
- The version of the flow. When you update a flow, the version updated is the DRAFT
version.public String getVersion()
The version of the flow. When you update a flow, the version updated is the DRAFT
version.
DRAFT
version.public UpdateFlowResult withVersion(String version)
The version of the flow. When you update a flow, the version updated is the DRAFT
version.
version
- The version of the flow. When you update a flow, the version updated is the DRAFT
version.public String toString()
toString
in class Object
Object.toString()
public UpdateFlowResult clone()