Package com.twilio.base
Class Updater<T extends Resource>
- java.lang.Object
-
- com.twilio.base.Updater<T>
-
- Type Parameters:
T
- type of the resource
- Direct Known Subclasses:
AccountUpdater
,ActivityUpdater
,AddressUpdater
,ApplicationUpdater
,AssetUpdater
,AssistantFallbackActionsUpdater
,AssistantInitiationActionsUpdater
,AssistantUpdater
,AssistantUpdater
,AuthorizationDocumentUpdater
,AwsUpdater
,BucketUpdater
,CallUpdater
,CertificateUpdater
,ChallengeUpdater
,ChannelUpdater
,ChannelUpdater
,ChannelUpdater
,ChannelUpdater
,CompositionHookUpdater
,ConferenceUpdater
,ConfigurationUpdater
,ConnectAppUpdater
,ConversationUpdater
,CredentialListUpdater
,CredentialUpdater
,CredentialUpdater
,CredentialUpdater
,CredentialUpdater
,CredentialUpdater
,CredentialUpdater
,DefaultsUpdater
,DeploymentUpdater
,DeviceUpdater
,DocumentPermissionUpdater
,DocumentPermissionUpdater
,DocumentUpdater
,DocumentUpdater
,DomainUpdater
,ExportConfigurationUpdater
,FactorUpdater
,FaxUpdater
,FeedbackUpdater
,FieldTypeUpdater
,FieldTypeUpdater
,FleetUpdater
,FlexFlowUpdater
,FunctionUpdater
,HostedNumberOrderUpdater
,IncomingPhoneNumberUpdater
,InstalledAddOnExtensionUpdater
,InstalledAddOnUpdater
,IpAccessControlListUpdater
,IpAddressUpdater
,KeyUpdater
,KeyUpdater
,MemberUpdater
,MemberUpdater
,MemberUpdater
,MemberUpdater
,MemberUpdater
,MessageUpdater
,MessageUpdater
,MessageUpdater
,MessageUpdater
,MessageUpdater
,MessageUpdater
,MessageUpdater
,MessagingConfigurationUpdater
,ModelBuildUpdater
,ModelBuildUpdater
,OriginationUrlUpdater
,OutgoingCallerIdUpdater
,ParticipantUpdater
,ParticipantUpdater
,ParticipantUpdater
,ParticipantUpdater
,PhoneNumberUpdater
,PublicKeyUpdater
,QueryUpdater
,QueryUpdater
,QueueUpdater
,RateLimitUpdater
,RatePlanUpdater
,RatePlanUpdater
,RecordingUpdater
,RecordingUpdater
,ReservationUpdater
,ReservationUpdater
,RoleUpdater
,RoleUpdater
,RoleUpdater
,RoleUpdater
,RoomUpdater
,SampleUpdater
,SampleUpdater
,ServiceUpdater
,ServiceUpdater
,ServiceUpdater
,ServiceUpdater
,ServiceUpdater
,ServiceUpdater
,ServiceUpdater
,ServiceUpdater
,ServiceUpdater
,ServiceUpdater
,ServiceUpdater
,ServiceUpdater
,ServiceUpdater
,SessionUpdater
,SessionUpdater
,SettingsUpdater
,ShortCodeUpdater
,ShortCodeUpdater
,SigningKeyUpdater
,SimUpdater
,SimUpdater
,StyleSheetUpdater
,StyleSheetUpdater
,SubscribeRulesUpdater
,SyncListItemUpdater
,SyncListItemUpdater
,SyncListPermissionUpdater
,SyncListPermissionUpdater
,SyncListUpdater
,SyncMapItemUpdater
,SyncMapItemUpdater
,SyncMapPermissionUpdater
,SyncMapPermissionUpdater
,SyncMapUpdater
,SyncStreamUpdater
,TaskActionsUpdater
,TaskActionsUpdater
,TaskChannelUpdater
,TaskQueueUpdater
,TaskUpdater
,TaskUpdater
,TaskUpdater
,TriggerUpdater
,TrunkUpdater
,UserChannelUpdater
,UserChannelUpdater
,UserUpdater
,UserUpdater
,UserUpdater
,UserUpdater
,VariableUpdater
,VerificationUpdater
,WebChannelUpdater
,WebhookUpdater
,WebhookUpdater
,WebhookUpdater
,WebhookUpdater
,WebhookUpdater
,WebhookUpdater
,WebhookUpdater
,WorkerChannelUpdater
,WorkerUpdater
,WorkflowUpdater
,WorkspaceUpdater
public abstract class Updater<T extends Resource> extends Object
Executor for updates of a resource.
-
-
Constructor Summary
Constructors Constructor Description Updater()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
update()
Execute a request using default client.abstract T
update(TwilioRestClient client)
Execute a request using specified client.com.google.common.util.concurrent.ListenableFuture<T>
updateAsync()
Execute an async request using default client.com.google.common.util.concurrent.ListenableFuture<T>
updateAsync(TwilioRestClient client)
Execute an async request using specified client.
-
-
-
Method Detail
-
updateAsync
public com.google.common.util.concurrent.ListenableFuture<T> updateAsync()
Execute an async request using default client.- Returns:
- future that resolves to requested object
-
updateAsync
public com.google.common.util.concurrent.ListenableFuture<T> updateAsync(TwilioRestClient client)
Execute an async request using specified client.- Parameters:
client
- client used to make request- Returns:
- future that resolves to requested object
-
update
public T update()
Execute a request using default client.- Returns:
- Requested object
-
update
public abstract T update(TwilioRestClient client)
Execute a request using specified client.- Parameters:
client
- client used to make request- Returns:
- Requested object
-
-