@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTrafficSourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeTrafficSourcesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTrafficSourcesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
This string indicates that the response contains more items than can be returned in a single response.
|
List<TrafficSourceState> |
getTrafficSources()
Information about the traffic sources.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
This string indicates that the response contains more items than can be returned in a single response.
|
void |
setTrafficSources(Collection<TrafficSourceState> trafficSources)
Information about the traffic sources.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTrafficSourcesResult |
withNextToken(String nextToken)
This string indicates that the response contains more items than can be returned in a single response.
|
DescribeTrafficSourcesResult |
withTrafficSources(Collection<TrafficSourceState> trafficSources)
Information about the traffic sources.
|
DescribeTrafficSourcesResult |
withTrafficSources(TrafficSourceState... trafficSources)
Information about the traffic sources.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TrafficSourceState> getTrafficSources()
Information about the traffic sources.
public void setTrafficSources(Collection<TrafficSourceState> trafficSources)
Information about the traffic sources.
trafficSources
- Information about the traffic sources.public DescribeTrafficSourcesResult withTrafficSources(TrafficSourceState... trafficSources)
Information about the traffic sources.
NOTE: This method appends the values to the existing list (if any). Use
setTrafficSources(java.util.Collection)
or withTrafficSources(java.util.Collection)
if you want
to override the existing values.
trafficSources
- Information about the traffic sources.public DescribeTrafficSourcesResult withTrafficSources(Collection<TrafficSourceState> trafficSources)
Information about the traffic sources.
trafficSources
- Information about the traffic sources.public void setNextToken(String nextToken)
This string indicates that the response contains more items than can be returned in a single response. To receive
additional items, specify this string for the NextToken
value when requesting the next set of items.
This value is null when there are no more items to return.
nextToken
- This string indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public String getNextToken()
This string indicates that the response contains more items than can be returned in a single response. To receive
additional items, specify this string for the NextToken
value when requesting the next set of items.
This value is null when there are no more items to return.
NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public DescribeTrafficSourcesResult withNextToken(String nextToken)
This string indicates that the response contains more items than can be returned in a single response. To receive
additional items, specify this string for the NextToken
value when requesting the next set of items.
This value is null when there are no more items to return.
nextToken
- This string indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public String toString()
toString
in class Object
Object.toString()
public DescribeTrafficSourcesResult clone()