public MediaResourceNeighbor withName(String name) {
        setName(name);
        return this;
    }
The logical name of an AWS media resource.

@param name
       The logical name of an AWS media resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-medialive/src/main/java/com/amazonaws/services/medialive/model/MediaResourceNeighbor.java