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,AddressConfigurationUpdater,AddressUpdater,AnnotationUpdater,AnonymizeUpdater,ApplicationUpdater,AssetUpdater,AssistantFallbackActionsUpdater,AssistantInitiationActionsUpdater,AssistantUpdater,AssistantUpdater,AuthorizationDocumentUpdater,AuthTokenPromotionUpdater,AwsUpdater,BrandRegistrationUpdater,BucketUpdater,BundleUpdater,ByocTrunkUpdater,CallUpdater,CertificateUpdater,ChallengeUpdater,ChannelUpdater,ChannelUpdater,ChannelUpdater,ChannelUpdater,ChannelUpdater,CompositionHookUpdater,ConferenceUpdater,ConfigurationUpdater,ConfigurationUpdater,ConnectAppUpdater,ConnectionPolicyTargetUpdater,ConnectionPolicyUpdater,ConversationUpdater,ConversationUpdater,CredentialListUpdater,CredentialUpdater,CredentialUpdater,CredentialUpdater,CredentialUpdater,CredentialUpdater,CredentialUpdater,CredentialUpdater,CustomerProfilesUpdater,DefaultsUpdater,DeploymentUpdater,DeviceUpdater,DeviceUpdater,DocumentPermissionUpdater,DocumentPermissionUpdater,DocumentUpdater,DocumentUpdater,DomainCertsUpdater,DomainConfigUpdater,DomainUpdater,EndUserUpdater,EndUserUpdater,ExecutionUpdater,ExecutionUpdater,ExportConfigurationUpdater,FactorUpdater,FeedbackUpdater,FieldTypeUpdater,FieldTypeUpdater,FleetUpdater,FleetUpdater,FlexFlowUpdater,FlowTestUserUpdater,FlowUpdater,FlowValidateUpdater,FunctionUpdater,HostedNumberOrderUpdater,IncomingPhoneNumberUpdater,InstalledAddOnExtensionUpdater,InstalledAddOnUpdater,InteractionChannelParticipantUpdater,InteractionChannelUpdater,IpAccessControlListUpdater,IpAddressUpdater,IpRecordUpdater,KeyUpdater,KeyUpdater,MediaProcessorUpdater,MemberUpdater,MemberUpdater,MemberUpdater,MemberUpdater,MemberUpdater,MessageUpdater,MessageUpdater,MessageUpdater,MessageUpdater,MessageUpdater,MessageUpdater,MessageUpdater,MessagingConfigurationUpdater,ModelBuildUpdater,ModelBuildUpdater,NetworkAccessProfileUpdater,NotificationUpdater,OriginationUrlUpdater,OutgoingCallerIdUpdater,ParticipantUpdater,ParticipantUpdater,ParticipantUpdater,ParticipantUpdater,PaymentUpdater,PhoneNumberUpdater,PhoneNumberUpdater,PlayerStreamerUpdater,PublicKeyUpdater,QueryUpdater,QueryUpdater,QueueUpdater,RateLimitUpdater,RatePlanUpdater,RatePlanUpdater,RecordingRulesUpdater,RecordingUpdater,RecordingUpdater,RecordingUpdater,ReservationUpdater,ReservationUpdater,RestoreAssistantUpdater,RoleUpdater,RoleUpdater,RoleUpdater,RoleUpdater,RoleUpdater,RoleUpdater,RoomUpdater,SampleUpdater,SampleUpdater,ServiceUpdater,ServiceUpdater,ServiceUpdater,ServiceUpdater,ServiceUpdater,ServiceUpdater,ServiceUpdater,ServiceUpdater,ServiceUpdater,ServiceUpdater,ServiceUpdater,SessionUpdater,SettingsUpdater,SettingUpdater,ShortCodeUpdater,ShortCodeUpdater,SigningKeyUpdater,SimUpdater,SimUpdater,SimUpdater,SinkUpdater,SipDomainUpdater,SiprecUpdater,SourceIpMappingUpdater,StreamUpdater,StyleSheetUpdater,StyleSheetUpdater,SubscribedEventUpdater,SubscribeRulesUpdater,SubscriptionUpdater,SupportingDocumentUpdater,SupportingDocumentUpdater,SyncListItemUpdater,SyncListItemUpdater,SyncListPermissionUpdater,SyncListPermissionUpdater,SyncListUpdater,SyncMapItemUpdater,SyncMapItemUpdater,SyncMapPermissionUpdater,SyncMapPermissionUpdater,SyncMapUpdater,SyncStreamUpdater,TaskActionsUpdater,TaskActionsUpdater,TaskChannelUpdater,TaskQueueUpdater,TaskUpdater,TaskUpdater,TaskUpdater,TriggerUpdater,TrunkUpdater,TrunkUpdater,TrustProductsUpdater,UserChannelUpdater,UserChannelUpdater,UserConversationUpdater,UserConversationUpdater,UserUpdater,UserUpdater,UserUpdater,UserUpdater,UserUpdater,UserUpdater,UserUpdater,VariableUpdater,VerificationUpdater,WebChannelUpdater,WebhookUpdater,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 Tupdate()Execute a request using default client.abstract Tupdate(TwilioRestClient client)Execute a request using specified client.CompletableFuture<T>updateAsync()Execute an async request using default client.CompletableFuture<T>updateAsync(TwilioRestClient client)Execute an async request using specified client.
-
-
-
Method Detail
-
updateAsync
public CompletableFuture<T> updateAsync()
Execute an async request using default client.- Returns:
- future that resolves to requested object
-
updateAsync
public CompletableFuture<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
-
-