/*
* This code was generated by AWS Flow Framework Annotation Processor.
* Refer to Amazon Simple Workflow Service documentation at http://aws.amazon.com/documentation/swf
*
* Any changes made directly to this file will be lost when
* the code is regenerated.
*/
package com.eucalyptus.loadbalancing.workflow;
import com.amazonaws.services.simpleworkflow.AmazonSimpleWorkflow;
import com.amazonaws.services.simpleworkflow.flow.DataConverter;
import com.amazonaws.services.simpleworkflow.flow.StartWorkflowOptions;
import com.amazonaws.services.simpleworkflow.flow.WorkflowClientFactoryExternalBase;
import com.amazonaws.services.simpleworkflow.flow.generic.GenericWorkflowClientExternal;
import com.amazonaws.services.simpleworkflow.model.WorkflowExecution;
import com.amazonaws.services.simpleworkflow.model.WorkflowType;
public class ApplySecurityGroupsWorkflowClientExternalFactoryImpl extends WorkflowClientFactoryExternalBase<ApplySecurityGroupsWorkflowClientExternal> implements ApplySecurityGroupsWorkflowClientExternalFactory {
public ApplySecurityGroupsWorkflowClientExternalFactoryImpl(AmazonSimpleWorkflow service, String domain) {
super(service, domain);
setDataConverter(new com.amazonaws.services.simpleworkflow.flow.JsonDataConverter());
}
public ApplySecurityGroupsWorkflowClientExternalFactoryImpl() {
super(null);
setDataConverter(new com.amazonaws.services.simpleworkflow.flow.JsonDataConverter());
}
public ApplySecurityGroupsWorkflowClientExternalFactoryImpl(GenericWorkflowClientExternal genericClient) {
super(genericClient);
setDataConverter(new com.amazonaws.services.simpleworkflow.flow.JsonDataConverter());
}
@Override
protected ApplySecurityGroupsWorkflowClientExternal createClientInstance(WorkflowExecution workflowExecution,
StartWorkflowOptions options, DataConverter dataConverter, GenericWorkflowClientExternal genericClient) {
WorkflowType workflowType = new WorkflowType();
workflowType.setName("ApplySecurityGroups");
workflowType.setVersion("1.0");
return new ApplySecurityGroupsWorkflowClientExternalImpl(workflowExecution, workflowType, options, dataConverter, genericClient);
}
}