public GetLinksRequest withProvider(String provider) {
        setProvider(provider);
        return this;
    }
<p>
The link provider.
</p>

@param provider
       The link provider.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/GetLinksRequest.java