public ServerGroupValidationConfiguration withServerGroupId(String serverGroupId) {
        setServerGroupId(serverGroupId);
        return this;
    }
<p>
The ID of the server group.
</p>

@param serverGroupId
       The ID of the server group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-servermigration/src/main/java/com/amazonaws/services/servermigration/model/ServerGroupValidationConfiguration.java