public ActivityStartedEventDetails withWorkerName(String workerName) {
        setWorkerName(workerName);
        return this;
    }
<p>
The name of the worker that the task is assigned to. These names are provided by the workers when calling
<a>GetActivityTask</a>.
</p>

@param workerName
       The name of the worker that the task is assigned to. These names are provided by the workers when calling
       <a>GetActivityTask</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-stepfunctions/src/main/java/com/amazonaws/services/stepfunctions/model/ActivityStartedEventDetails.java