public Snapshot withPreferredOutpostArn(String preferredOutpostArn) {
        setPreferredOutpostArn(preferredOutpostArn);
        return this;
    }
<p>
The ARN (Amazon Resource Name) of the preferred outpost.
</p>

@param preferredOutpostArn
       The ARN (Amazon Resource Name) of the preferred outpost.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/Snapshot.java