public SourceConfig withS3Key(String s3Key) {
        setS3Key(s3Key);
        return this;
    }
<p>
The s3 object key.
</p>

@param s3Key
       The s3 object key.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-robomaker/src/main/java/com/amazonaws/services/robomaker/model/SourceConfig.java