Class TwitterFriendshipsSupplierProperties
java.lang.Object
org.springframework.cloud.fn.supplier.twitter.friendships.TwitterFriendshipsSupplierProperties
@ConfigurationProperties("twitter.friendships.source")
@Validated
public class TwitterFriendshipsSupplierProperties
extends Object
- Author:
- Christian Tzolov
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getCount()
int
getType()
boolean
boolean
@jakarta.validation.constraints.AssertTrue(message="Either userId or screenName must be provided") boolean
void
setCount
(int count) void
setIncludeUserEntities
(boolean includeUserEntities) void
setPollInterval
(int pollInterval) void
setScreenName
(String screenName) void
setSkipStatus
(boolean skipStatus) void
void
toString()
-
Constructor Details
-
TwitterFriendshipsSupplierProperties
public TwitterFriendshipsSupplierProperties()
-
-
Method Details
-
getType
-
setType
-
getScreenName
-
setScreenName
-
getUserId
-
setUserId
-
getCount
public int getCount() -
setCount
public void setCount(int count) -
isSkipStatus
public boolean isSkipStatus() -
setSkipStatus
public void setSkipStatus(boolean skipStatus) -
isIncludeUserEntities
public boolean isIncludeUserEntities() -
setIncludeUserEntities
public void setIncludeUserEntities(boolean includeUserEntities) -
getPollInterval
public int getPollInterval() -
setPollInterval
public void setPollInterval(int pollInterval) -
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() -
toString
-