@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTrafficMirrorTargetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeTrafficMirrorTargetsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTrafficMirrorTargetsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<TrafficMirrorTarget> |
getTrafficMirrorTargets()
Information about one or more Traffic Mirror targets.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setTrafficMirrorTargets(Collection<TrafficMirrorTarget> trafficMirrorTargets)
Information about one or more Traffic Mirror targets.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTrafficMirrorTargetsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeTrafficMirrorTargetsResult |
withTrafficMirrorTargets(Collection<TrafficMirrorTarget> trafficMirrorTargets)
Information about one or more Traffic Mirror targets.
|
DescribeTrafficMirrorTargetsResult |
withTrafficMirrorTargets(TrafficMirrorTarget... trafficMirrorTargets)
Information about one or more Traffic Mirror targets.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TrafficMirrorTarget> getTrafficMirrorTargets()
Information about one or more Traffic Mirror targets.
public void setTrafficMirrorTargets(Collection<TrafficMirrorTarget> trafficMirrorTargets)
Information about one or more Traffic Mirror targets.
trafficMirrorTargets
- Information about one or more Traffic Mirror targets.public DescribeTrafficMirrorTargetsResult withTrafficMirrorTargets(TrafficMirrorTarget... trafficMirrorTargets)
Information about one or more Traffic Mirror targets.
NOTE: This method appends the values to the existing list (if any). Use
setTrafficMirrorTargets(java.util.Collection)
or withTrafficMirrorTargets(java.util.Collection)
if you want to override the existing values.
trafficMirrorTargets
- Information about one or more Traffic Mirror targets.public DescribeTrafficMirrorTargetsResult withTrafficMirrorTargets(Collection<TrafficMirrorTarget> trafficMirrorTargets)
Information about one or more Traffic Mirror targets.
trafficMirrorTargets
- Information about one or more Traffic Mirror targets.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 DescribeTrafficMirrorTargetsResult 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 Object
Object.toString()
public DescribeTrafficMirrorTargetsResult clone()