Constructor and Description |
---|
IpRecordCreator(String ipAddress)
Construct a new IpRecordCreator.
|
Modifier and Type | Method and Description |
---|---|
IpRecord |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
IpRecordCreator |
setCidrPrefixLength(Integer cidrPrefixLength)
An integer representing the length of the CIDR prefix to use with this
IP address.
|
IpRecordCreator |
setFriendlyName(String friendlyName)
A descriptive string that you create to describe the resource.
|
create, createAsync, createAsync
public IpRecordCreator(String ipAddress)
ipAddress
- An IP address in dotted decimal notation, IPv4 only.public IpRecordCreator setFriendlyName(String friendlyName)
friendlyName
- A string to describe the resourcepublic IpRecordCreator setCidrPrefixLength(Integer cidrPrefixLength)
cidrPrefixLength
- An integer representing the length of the
CIDR prefix to
use with this IP address. By default the entire IP
address is used, which for IPv4 is value 32.public IpRecord create(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.