@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLogSubscriptionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListLogSubscriptionsResult() |
Modifier and Type | Method and Description |
---|---|
ListLogSubscriptionsResult |
clone() |
boolean |
equals(Object obj) |
List<LogSubscription> |
getLogSubscriptions()
A list of active LogSubscription objects for calling the Amazon Web Services account.
|
String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setLogSubscriptions(Collection<LogSubscription> logSubscriptions)
A list of active LogSubscription objects for calling the Amazon Web Services account.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object.
|
ListLogSubscriptionsResult |
withLogSubscriptions(Collection<LogSubscription> logSubscriptions)
A list of active LogSubscription objects for calling the Amazon Web Services account.
|
ListLogSubscriptionsResult |
withLogSubscriptions(LogSubscription... logSubscriptions)
A list of active LogSubscription objects for calling the Amazon Web Services account.
|
ListLogSubscriptionsResult |
withNextToken(String nextToken)
The token for the next set of items to return.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<LogSubscription> getLogSubscriptions()
A list of active LogSubscription objects for calling the Amazon Web Services account.
public void setLogSubscriptions(Collection<LogSubscription> logSubscriptions)
A list of active LogSubscription objects for calling the Amazon Web Services account.
logSubscriptions
- A list of active LogSubscription objects for calling the Amazon Web Services account.public ListLogSubscriptionsResult withLogSubscriptions(LogSubscription... logSubscriptions)
A list of active LogSubscription objects for calling the Amazon Web Services account.
NOTE: This method appends the values to the existing list (if any). Use
setLogSubscriptions(java.util.Collection)
or withLogSubscriptions(java.util.Collection)
if you
want to override the existing values.
logSubscriptions
- A list of active LogSubscription objects for calling the Amazon Web Services account.public ListLogSubscriptionsResult withLogSubscriptions(Collection<LogSubscription> logSubscriptions)
A list of active LogSubscription objects for calling the Amazon Web Services account.
logSubscriptions
- A list of active LogSubscription objects for calling the Amazon Web Services account.public void setNextToken(String nextToken)
The token for the next set of items to return.
nextToken
- The token for the next set of items to return.public String getNextToken()
The token for the next set of items to return.
public ListLogSubscriptionsResult withNextToken(String nextToken)
The token for the next set of items to return.
nextToken
- The token for the next set of items to return.public String toString()
toString
in class Object
Object.toString()
public ListLogSubscriptionsResult clone()