@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetFlowResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetFlowResult() |
Modifier and Type | Method and Description |
---|---|
GetFlowResult |
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 is encrypted with.
|
FlowDefinition |
getDefinition()
The definition of the nodes and connections between the 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.
|
List<FlowValidation> |
getValidations()
A list of validation error messages related to the last failed operation on the flow.
|
String |
getVersion()
The version of the flow for which information was retrieved.
|
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 is encrypted with.
|
void |
setDefinition(FlowDefinition definition)
The definition of the nodes and connections between the 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 |
setValidations(Collection<FlowValidation> validations)
A list of validation error messages related to the last failed operation on the flow.
|
void |
setVersion(String version)
The version of the flow for which information was retrieved.
|
String |
toString()
Returns a string representation of this object.
|
GetFlowResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the flow.
|
GetFlowResult |
withCreatedAt(Date createdAt)
The time at which the flow was created.
|
GetFlowResult |
withCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
The Amazon Resource Name (ARN) of the KMS key that the flow is encrypted with.
|
GetFlowResult |
withDefinition(FlowDefinition definition)
The definition of the nodes and connections between the nodes in the flow.
|
GetFlowResult |
withDescription(String description)
The description of the flow.
|
GetFlowResult |
withExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the service role with permissions to create a flow.
|
GetFlowResult |
withId(String id)
The unique identifier of the flow.
|
GetFlowResult |
withName(String name)
The name of the flow.
|
GetFlowResult |
withStatus(FlowStatus status)
The status of the flow.
|
GetFlowResult |
withStatus(String status)
The status of the flow.
|
GetFlowResult |
withUpdatedAt(Date updatedAt)
The time at which the flow was last updated.
|
GetFlowResult |
withValidations(Collection<FlowValidation> validations)
A list of validation error messages related to the last failed operation on the flow.
|
GetFlowResult |
withValidations(FlowValidation... validations)
A list of validation error messages related to the last failed operation on the flow.
|
GetFlowResult |
withVersion(String version)
The version of the flow for which information was retrieved.
|
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 GetFlowResult 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 GetFlowResult 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 is encrypted with.
customerEncryptionKeyArn
- The Amazon Resource Name (ARN) of the KMS key that the flow is encrypted with.public String getCustomerEncryptionKeyArn()
The Amazon Resource Name (ARN) of the KMS key that the flow is encrypted with.
public GetFlowResult withCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
The Amazon Resource Name (ARN) of the KMS key that the flow is encrypted with.
customerEncryptionKeyArn
- The Amazon Resource Name (ARN) of the KMS key that the flow is encrypted with.public void setDefinition(FlowDefinition definition)
The definition of the nodes and connections between the nodes in the flow.
definition
- The definition of the nodes and connections between the nodes in the flow.public FlowDefinition getDefinition()
The definition of the nodes and connections between the nodes in the flow.
public GetFlowResult withDefinition(FlowDefinition definition)
The definition of the nodes and connections between the nodes in the flow.
definition
- The definition of the nodes and connections between the 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 GetFlowResult 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 row for flows 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 row
for flows 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 row for flows in the Amazon Bedrock User Guide.
public GetFlowResult 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 row for flows 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 row
for flows 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 GetFlowResult 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 GetFlowResult withName(String name)
The name of the flow.
name
- The name of the flow.public void setStatus(String status)
The status of the flow. The following statuses are possible:
NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you
can't test it. If you updated the flow, the DRAFT
version won't contain the latest changes for
testing. Send a PrepareFlow request
to package the latest changes into the DRAFT
version.
Preparing – The flow is being prepared so that the DRAFT
version contains the latest changes for
testing.
Prepared – The flow is prepared and the DRAFT
version contains the latest changes for testing.
Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request and
check the error message in the validations
field.
status
- The status of the flow. The following statuses are possible:
NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the
flow, you can't test it. If you updated the flow, the DRAFT
version won't contain the latest
changes for testing. Send a PrepareFlow
request to package the latest changes into the DRAFT
version.
Preparing – The flow is being prepared so that the DRAFT
version contains the latest changes
for testing.
Prepared – The flow is prepared and the DRAFT
version contains the latest changes for
testing.
Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request
and check the error message in the validations
field.
FlowStatus
public String getStatus()
The status of the flow. The following statuses are possible:
NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you
can't test it. If you updated the flow, the DRAFT
version won't contain the latest changes for
testing. Send a PrepareFlow request
to package the latest changes into the DRAFT
version.
Preparing – The flow is being prepared so that the DRAFT
version contains the latest changes for
testing.
Prepared – The flow is prepared and the DRAFT
version contains the latest changes for testing.
Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request and
check the error message in the validations
field.
NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the
flow, you can't test it. If you updated the flow, the DRAFT
version won't contain the latest
changes for testing. Send a PrepareFlow
request to package the latest changes into the DRAFT
version.
Preparing – The flow is being prepared so that the DRAFT
version contains the latest changes
for testing.
Prepared – The flow is prepared and the DRAFT
version contains the latest changes for
testing.
Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request
and check the error message in the validations
field.
FlowStatus
public GetFlowResult withStatus(String status)
The status of the flow. The following statuses are possible:
NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you
can't test it. If you updated the flow, the DRAFT
version won't contain the latest changes for
testing. Send a PrepareFlow request
to package the latest changes into the DRAFT
version.
Preparing – The flow is being prepared so that the DRAFT
version contains the latest changes for
testing.
Prepared – The flow is prepared and the DRAFT
version contains the latest changes for testing.
Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request and
check the error message in the validations
field.
status
- The status of the flow. The following statuses are possible:
NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the
flow, you can't test it. If you updated the flow, the DRAFT
version won't contain the latest
changes for testing. Send a PrepareFlow
request to package the latest changes into the DRAFT
version.
Preparing – The flow is being prepared so that the DRAFT
version contains the latest changes
for testing.
Prepared – The flow is prepared and the DRAFT
version contains the latest changes for
testing.
Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request
and check the error message in the validations
field.
FlowStatus
public GetFlowResult withStatus(FlowStatus status)
The status of the flow. The following statuses are possible:
NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you
can't test it. If you updated the flow, the DRAFT
version won't contain the latest changes for
testing. Send a PrepareFlow request
to package the latest changes into the DRAFT
version.
Preparing – The flow is being prepared so that the DRAFT
version contains the latest changes for
testing.
Prepared – The flow is prepared and the DRAFT
version contains the latest changes for testing.
Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request and
check the error message in the validations
field.
status
- The status of the flow. The following statuses are possible:
NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the
flow, you can't test it. If you updated the flow, the DRAFT
version won't contain the latest
changes for testing. Send a PrepareFlow
request to package the latest changes into the DRAFT
version.
Preparing – The flow is being prepared so that the DRAFT
version contains the latest changes
for testing.
Prepared – The flow is prepared and the DRAFT
version contains the latest changes for
testing.
Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request
and check the error message in the validations
field.
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 GetFlowResult withUpdatedAt(Date updatedAt)
The time at which the flow was last updated.
updatedAt
- The time at which the flow was last updated.public List<FlowValidation> getValidations()
A list of validation error messages related to the last failed operation on the flow.
public void setValidations(Collection<FlowValidation> validations)
A list of validation error messages related to the last failed operation on the flow.
validations
- A list of validation error messages related to the last failed operation on the flow.public GetFlowResult withValidations(FlowValidation... validations)
A list of validation error messages related to the last failed operation on the flow.
NOTE: This method appends the values to the existing list (if any). Use
setValidations(java.util.Collection)
or withValidations(java.util.Collection)
if you want to
override the existing values.
validations
- A list of validation error messages related to the last failed operation on the flow.public GetFlowResult withValidations(Collection<FlowValidation> validations)
A list of validation error messages related to the last failed operation on the flow.
validations
- A list of validation error messages related to the last failed operation on the flow.public void setVersion(String version)
The version of the flow for which information was retrieved.
version
- The version of the flow for which information was retrieved.public String getVersion()
The version of the flow for which information was retrieved.
public GetFlowResult withVersion(String version)
The version of the flow for which information was retrieved.
version
- The version of the flow for which information was retrieved.public String toString()
toString
in class Object
Object.toString()
public GetFlowResult clone()