Class BuildCreator
- java.lang.Object
-
- com.twilio.base.Creator<Build>
-
- com.twilio.rest.serverless.v1.service.BuildCreator
-
public class BuildCreator extends Creator<Build>
PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].
-
-
Constructor Summary
Constructors Constructor Description BuildCreator(String pathServiceSid)
Construct a new BuildCreator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Build
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.BuildCreator
setAssetVersions(String assetVersions)
The list of Asset Version Sids that are included in this Build.BuildCreator
setAssetVersions(List<String> assetVersions)
The list of Asset Version Sids that are included in this Build.BuildCreator
setDependencies(String dependencies)
The list of Dependencies that are included in this Build, each described by a `name` and a `version` in a JSON object.BuildCreator
setFunctionVersions(String functionVersions)
The list of Function Version Sids that are included in this Build.BuildCreator
setFunctionVersions(List<String> functionVersions)
The list of Function Version Sids that are included in this Build.-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Constructor Detail
-
BuildCreator
public BuildCreator(String pathServiceSid)
Construct a new BuildCreator.- Parameters:
pathServiceSid
- Service Sid.
-
-
Method Detail
-
setAssetVersions
public BuildCreator setAssetVersions(List<String> assetVersions)
The list of Asset Version Sids that are included in this Build. Optional..- Parameters:
assetVersions
- List of Asset Version Sids.- Returns:
- this
-
setAssetVersions
public BuildCreator setAssetVersions(String assetVersions)
The list of Asset Version Sids that are included in this Build. Optional..- Parameters:
assetVersions
- List of Asset Version Sids.- Returns:
- this
-
setFunctionVersions
public BuildCreator setFunctionVersions(List<String> functionVersions)
The list of Function Version Sids that are included in this Build. Optional..- Parameters:
functionVersions
- List of Function Version Sids.- Returns:
- this
-
setFunctionVersions
public BuildCreator setFunctionVersions(String functionVersions)
The list of Function Version Sids that are included in this Build. Optional..- Parameters:
functionVersions
- List of Function Version Sids.- Returns:
- this
-
setDependencies
public BuildCreator setDependencies(String dependencies)
The list of Dependencies that are included in this Build, each described by a `name` and a `version` in a JSON object. Optional..- Parameters:
dependencies
- List of Dependencies.- Returns:
- this
-
create
public Build create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
-
-