public S3Location withObjectKey(String objectKey) {
        setObjectKey(objectKey);
        return this;
    }
<p>
The key name of an object in Amazon S3. For more information about Amazon S3 objects and object keys, see <a
href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/uploading-downloading-objects.html">Uploading,
downloading, and working with objects in Amazon S3</a> in the <i>Amazon Simple Storage Service User Guide</i>.
</p>

@param objectKey
       The key name of an object in Amazon S3. For more information about Amazon S3 objects and object keys, see
       <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/uploading-downloading-objects.html">
       Uploading, downloading, and working with objects in Amazon S3</a> in the <i>Amazon Simple Storage Service
       User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-simspaceweaver/src/main/java/com/amazonaws/services/simspaceweaver/model/S3Location.java