@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTrafficMirrorSessionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeTrafficMirrorSessionsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeTrafficMirrorSessionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<TrafficMirrorSession> |
getTrafficMirrorSessions()
Describes one or more Traffic Mirror sessions.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setTrafficMirrorSessions(Collection<TrafficMirrorSession> trafficMirrorSessions)
Describes one or more Traffic Mirror sessions.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTrafficMirrorSessionsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeTrafficMirrorSessionsResult |
withTrafficMirrorSessions(Collection<TrafficMirrorSession> trafficMirrorSessions)
Describes one or more Traffic Mirror sessions.
|
DescribeTrafficMirrorSessionsResult |
withTrafficMirrorSessions(TrafficMirrorSession... trafficMirrorSessions)
Describes one or more Traffic Mirror sessions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<TrafficMirrorSession> getTrafficMirrorSessions()
Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.
public void setTrafficMirrorSessions(Collection<TrafficMirrorSession> trafficMirrorSessions)
Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.
trafficMirrorSessions - Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described.
Alternatively, you can filter the results.public DescribeTrafficMirrorSessionsResult withTrafficMirrorSessions(TrafficMirrorSession... trafficMirrorSessions)
Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.
NOTE: This method appends the values to the existing list (if any). Use
setTrafficMirrorSessions(java.util.Collection) or
withTrafficMirrorSessions(java.util.Collection) if you want to override the existing values.
trafficMirrorSessions - Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described.
Alternatively, you can filter the results.public DescribeTrafficMirrorSessionsResult withTrafficMirrorSessions(Collection<TrafficMirrorSession> trafficMirrorSessions)
Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.
trafficMirrorSessions - Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described.
Alternatively, you can filter the results.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. The value is null when there are no more
results to return.
nextToken - The token to use to retrieve the next page of results. The value is null when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. The value is null when there are no more
results to return.
null when there are no
more results to return.public DescribeTrafficMirrorSessionsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. The value is null when there are no more
results to return.
nextToken - The token to use to retrieve the next page of results. The value is null when there are no
more results to return.public String toString()
toString in class ObjectObject.toString()public DescribeTrafficMirrorSessionsResult clone()