/** * <p> * If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies * the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set * to cancel child executions. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #cause} will return * {@link WorkflowExecutionCancelRequestedCause#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is * available from {@link #causeAsString}. * </p> * * @return If set, indicates that the request to cancel the workflow execution was automatically generated, and * specifies the cause. This happens if the parent workflow execution times out or is terminated, and the * child policy is set to cancel child executions. * @see WorkflowExecutionCancelRequestedCause */ public WorkflowExecutionCancelRequestedCause cause() { return WorkflowExecutionCancelRequestedCause.fromValue(causeValue); }
/** * <p> * If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies * the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set * to cancel child executions. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #cause} will return * {@link WorkflowExecutionCancelRequestedCause#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is * available from {@link #causeAsString}. * </p> * * @return If set, indicates that the request to cancel the workflow execution was automatically generated, and * specifies the cause. This happens if the parent workflow execution times out or is terminated, and the * child policy is set to cancel child executions. * @see WorkflowExecutionCancelRequestedCause */ public WorkflowExecutionCancelRequestedCause cause() { return WorkflowExecutionCancelRequestedCause.fromValue(causeValue); }
/** * <p> * If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies * the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set * to cancel child executions. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #cause} will return * {@link WorkflowExecutionCancelRequestedCause#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is * available from {@link #causeAsString}. * </p> * * @return If set, indicates that the request to cancel the workflow execution was automatically generated, and * specifies the cause. This happens if the parent workflow execution times out or is terminated, and the * child policy is set to cancel child executions. * @see WorkflowExecutionCancelRequestedCause */ public WorkflowExecutionCancelRequestedCause cause() { return WorkflowExecutionCancelRequestedCause.fromValue(cause); }