public EcsParameters withGroup(String group) {
        setGroup(group);
        return this;
    }
<p>
Specifies an ECS task group for the task. The maximum length is 255 characters.
</p>

@param group
       Specifies an ECS task group for the task. The maximum length is 255 characters.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/EcsParameters.java