public CreateStoreImageTaskResult withObjectKey(String objectKey) {
        setObjectKey(objectKey);
        return this;
    }
<p>
The name of the stored AMI object in the S3 bucket.
</p>

@param objectKey
       The name of the stored AMI object in the S3 bucket.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateStoreImageTaskResult.java