public void setName(String name) {
        this.name = name;
    }
<p>
The name of the accelerator. The name must contain only alphanumeric characters or hyphens (-), and must not
begin or end with a hyphen.
</p>

@param name
       The name of the accelerator. The name must contain only alphanumeric characters or hyphens (-), and must
       not begin or end with a hyphen.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/Accelerator.java