public class ConnectionPolicyTargetFetcher extends Fetcher<ConnectionPolicyTarget>
Constructor and Description |
---|
ConnectionPolicyTargetFetcher(String pathConnectionPolicySid,
String pathSid)
Construct a new ConnectionPolicyTargetFetcher.
|
Modifier and Type | Method and Description |
---|---|
ConnectionPolicyTarget |
fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.
|
fetch, fetchAsync, fetchAsync
public ConnectionPolicyTargetFetcher(String pathConnectionPolicySid, String pathSid)
pathConnectionPolicySid
- The SID of the Connection Policy that owns
the TargetpathSid
- The unique string that identifies the resourcepublic ConnectionPolicyTarget fetch(TwilioRestClient client)
fetch
in class Fetcher<ConnectionPolicyTarget>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.