Class TwitterFriendshipsConsumerProperties
java.lang.Object
org.springframework.cloud.fn.consumer.twitter.friendship.TwitterFriendshipsConsumerProperties
@Component
@ConfigurationProperties("twitter.friendships.update")
@Validated
public class TwitterFriendshipsConsumerProperties
extends Object
- Author:
- Christian Tzolov
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
@jakarta.validation.constraints.AssertTrue(message="Either userId or screenName must be provided") boolean
void
setScreenName
(Expression screenName) void
setType
(Expression type) void
setUserId
(Expression userId)
-
Constructor Details
-
TwitterFriendshipsConsumerProperties
public TwitterFriendshipsConsumerProperties()
-
-
Method Details
-
getScreenName
-
setScreenName
-
getUserId
-
setUserId
-
getType
-
setType
-
getCreate
-
getUpdate
-
isUserProvided
@AssertTrue(message="Either userId or screenName must be provided") public @jakarta.validation.constraints.AssertTrue(message="Either userId or screenName must be provided") boolean isUserProvided()
-