public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }
<p>
Specifies the access key (for example, a user name) if credentials are required to authenticate with the object
storage server.
</p>

@param accessKey
       Specifies the access key (for example, a user name) if credentials are required to authenticate with the
       object storage server.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/CreateLocationObjectStorageRequest.java