public Outpost withOwnerId(String ownerId) {
        setOwnerId(ownerId);
        return this;
    }
<p>
Returns the Amazon Web Services account ID of the outpost owner. Useful for comparing owned versus shared
outposts.
</p>

@param ownerId
       Returns the Amazon Web Services account ID of the outpost owner. Useful for comparing owned versus shared
       outposts.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-s3outposts/src/main/java/com/amazonaws/services/s3outposts/model/Outpost.java