public CreateScheduleRequest withTarget(Target target) {
        setTarget(target);
        return this;
    }
<p>
The schedule's target.
</p>

@param target
       The schedule's target.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-scheduler/src/main/java/com/amazonaws/services/scheduler/model/CreateScheduleRequest.java