public CreateAccessPointRequest withName(String name) {
        setName(name);
        return this;
    }
<p>
The name you want to assign to this access point.
</p>

@param name
       The name you want to assign to this access point.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/model/CreateAccessPointRequest.java