public ListSharedEndpointsRequest withOutpostId(String outpostId) {
        setOutpostId(outpostId);
        return this;
    }
<p>
The ID of the Amazon Web Services Outpost.
</p>

@param outpostId
       The ID of the Amazon Web Services Outpost.
@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/ListSharedEndpointsRequest.java