@Component @ConfigurationProperties(value="twitter.friendships.update") @Validated public class TwitterFriendshipsConsumerProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TwitterFriendshipsConsumerProperties.Create |
static class |
TwitterFriendshipsConsumerProperties.OperationType |
static class |
TwitterFriendshipsConsumerProperties.Update |
Constructor and Description |
---|
TwitterFriendshipsConsumerProperties() |
Modifier and Type | Method and Description |
---|---|
TwitterFriendshipsConsumerProperties.Create |
getCreate() |
org.springframework.expression.Expression |
getScreenName() |
org.springframework.expression.Expression |
getType() |
TwitterFriendshipsConsumerProperties.Update |
getUpdate() |
org.springframework.expression.Expression |
getUserId() |
@AssertTrue(message="Either userId or screenName must be provided") boolean |
isUserProvided() |
void |
setScreenName(org.springframework.expression.Expression screenName) |
void |
setType(org.springframework.expression.Expression type) |
void |
setUserId(org.springframework.expression.Expression userId) |
public TwitterFriendshipsConsumerProperties()
public org.springframework.expression.Expression getScreenName()
public void setScreenName(org.springframework.expression.Expression screenName)
public org.springframework.expression.Expression getUserId()
public void setUserId(org.springframework.expression.Expression userId)
public org.springframework.expression.Expression getType()
public void setType(org.springframework.expression.Expression type)
public TwitterFriendshipsConsumerProperties.Create getCreate()
public TwitterFriendshipsConsumerProperties.Update getUpdate()
@AssertTrue(message="Either userId or screenName must be provided") public @AssertTrue(message="Either userId or screenName must be provided") boolean isUserProvided()
Copyright © 2022. All rights reserved.