public RegisterTaskDefinitionRequest withFamily(String family) {
        setFamily(family);
        return this;
    }
<p>
You must specify a <code>family</code> for a task definition. You can use it track multiple versions of the same
task definition. The <code>family</code> is used as a name for your task definition. Up to 255 letters (uppercase
and lowercase), numbers, underscores, and hyphens are allowed.
</p>

@param family
       You must specify a <code>family</code> for a task definition. You can use it track multiple versions of
       the same task definition. The <code>family</code> is used as a name for your task definition. Up to 255
       letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/RegisterTaskDefinitionRequest.java