public CreateResolverEndpointRequest withOutpostArn(String outpostArn) {
        setOutpostArn(outpostArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the
<code>PreferredInstanceType</code>.
</p>

@param outpostArn
       The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the
       <code>PreferredInstanceType</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-route53resolver/src/main/java/com/amazonaws/services/route53resolver/model/CreateResolverEndpointRequest.java