@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTrafficMirrorSessionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeTrafficMirrorSessionsRequest>
NOOP
Constructor and Description |
---|
DescribeTrafficMirrorSessionsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeTrafficMirrorSessionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeTrafficMirrorSessionsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
Integer |
getMaxResults()
The maximum number of results to return with a single call.
|
String |
getNextToken()
The token for the next page of results.
|
List<String> |
getTrafficMirrorSessionIds()
The ID of the Traffic Mirror session.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setTrafficMirrorSessionIds(Collection<String> trafficMirrorSessionIds)
The ID of the Traffic Mirror session.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTrafficMirrorSessionsRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeTrafficMirrorSessionsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeTrafficMirrorSessionsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
DescribeTrafficMirrorSessionsRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
DescribeTrafficMirrorSessionsRequest |
withTrafficMirrorSessionIds(Collection<String> trafficMirrorSessionIds)
The ID of the Traffic Mirror session.
|
DescribeTrafficMirrorSessionsRequest |
withTrafficMirrorSessionIds(String... trafficMirrorSessionIds)
The ID of the Traffic Mirror session.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DescribeTrafficMirrorSessionsRequest()
public List<String> getTrafficMirrorSessionIds()
The ID of the Traffic Mirror session.
public void setTrafficMirrorSessionIds(Collection<String> trafficMirrorSessionIds)
The ID of the Traffic Mirror session.
trafficMirrorSessionIds
- The ID of the Traffic Mirror session.public DescribeTrafficMirrorSessionsRequest withTrafficMirrorSessionIds(String... trafficMirrorSessionIds)
The ID of the Traffic Mirror session.
NOTE: This method appends the values to the existing list (if any). Use
setTrafficMirrorSessionIds(java.util.Collection)
or
withTrafficMirrorSessionIds(java.util.Collection)
if you want to override the existing values.
trafficMirrorSessionIds
- The ID of the Traffic Mirror session.public DescribeTrafficMirrorSessionsRequest withTrafficMirrorSessionIds(Collection<String> trafficMirrorSessionIds)
The ID of the Traffic Mirror session.
trafficMirrorSessionIds
- The ID of the Traffic Mirror session.public List<Filter> getFilters()
One or more filters. The possible values are:
description
: The Traffic Mirror session description.
network-interface-id
: The ID of the Traffic Mirror session network interface.
owner-id
: The ID of the account that owns the Traffic Mirror session.
packet-length
: The assigned number of packets to mirror.
session-number
: The assigned session number.
traffic-mirror-filter-id
: The ID of the Traffic Mirror filter.
traffic-mirror-session-id
: The ID of the Traffic Mirror session.
traffic-mirror-target-id
: The ID of the Traffic Mirror target.
virtual-network-id
: The virtual network ID of the Traffic Mirror session.
description
: The Traffic Mirror session description.
network-interface-id
: The ID of the Traffic Mirror session network interface.
owner-id
: The ID of the account that owns the Traffic Mirror session.
packet-length
: The assigned number of packets to mirror.
session-number
: The assigned session number.
traffic-mirror-filter-id
: The ID of the Traffic Mirror filter.
traffic-mirror-session-id
: The ID of the Traffic Mirror session.
traffic-mirror-target-id
: The ID of the Traffic Mirror target.
virtual-network-id
: The virtual network ID of the Traffic Mirror session.
public void setFilters(Collection<Filter> filters)
One or more filters. The possible values are:
description
: The Traffic Mirror session description.
network-interface-id
: The ID of the Traffic Mirror session network interface.
owner-id
: The ID of the account that owns the Traffic Mirror session.
packet-length
: The assigned number of packets to mirror.
session-number
: The assigned session number.
traffic-mirror-filter-id
: The ID of the Traffic Mirror filter.
traffic-mirror-session-id
: The ID of the Traffic Mirror session.
traffic-mirror-target-id
: The ID of the Traffic Mirror target.
virtual-network-id
: The virtual network ID of the Traffic Mirror session.
filters
- One or more filters. The possible values are:
description
: The Traffic Mirror session description.
network-interface-id
: The ID of the Traffic Mirror session network interface.
owner-id
: The ID of the account that owns the Traffic Mirror session.
packet-length
: The assigned number of packets to mirror.
session-number
: The assigned session number.
traffic-mirror-filter-id
: The ID of the Traffic Mirror filter.
traffic-mirror-session-id
: The ID of the Traffic Mirror session.
traffic-mirror-target-id
: The ID of the Traffic Mirror target.
virtual-network-id
: The virtual network ID of the Traffic Mirror session.
public DescribeTrafficMirrorSessionsRequest withFilters(Filter... filters)
One or more filters. The possible values are:
description
: The Traffic Mirror session description.
network-interface-id
: The ID of the Traffic Mirror session network interface.
owner-id
: The ID of the account that owns the Traffic Mirror session.
packet-length
: The assigned number of packets to mirror.
session-number
: The assigned session number.
traffic-mirror-filter-id
: The ID of the Traffic Mirror filter.
traffic-mirror-session-id
: The ID of the Traffic Mirror session.
traffic-mirror-target-id
: The ID of the Traffic Mirror target.
virtual-network-id
: The virtual network ID of the Traffic Mirror session.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- One or more filters. The possible values are:
description
: The Traffic Mirror session description.
network-interface-id
: The ID of the Traffic Mirror session network interface.
owner-id
: The ID of the account that owns the Traffic Mirror session.
packet-length
: The assigned number of packets to mirror.
session-number
: The assigned session number.
traffic-mirror-filter-id
: The ID of the Traffic Mirror filter.
traffic-mirror-session-id
: The ID of the Traffic Mirror session.
traffic-mirror-target-id
: The ID of the Traffic Mirror target.
virtual-network-id
: The virtual network ID of the Traffic Mirror session.
public DescribeTrafficMirrorSessionsRequest withFilters(Collection<Filter> filters)
One or more filters. The possible values are:
description
: The Traffic Mirror session description.
network-interface-id
: The ID of the Traffic Mirror session network interface.
owner-id
: The ID of the account that owns the Traffic Mirror session.
packet-length
: The assigned number of packets to mirror.
session-number
: The assigned session number.
traffic-mirror-filter-id
: The ID of the Traffic Mirror filter.
traffic-mirror-session-id
: The ID of the Traffic Mirror session.
traffic-mirror-target-id
: The ID of the Traffic Mirror target.
virtual-network-id
: The virtual network ID of the Traffic Mirror session.
filters
- One or more filters. The possible values are:
description
: The Traffic Mirror session description.
network-interface-id
: The ID of the Traffic Mirror session network interface.
owner-id
: The ID of the account that owns the Traffic Mirror session.
packet-length
: The assigned number of packets to mirror.
session-number
: The assigned session number.
traffic-mirror-filter-id
: The ID of the Traffic Mirror filter.
traffic-mirror-session-id
: The ID of the Traffic Mirror session.
traffic-mirror-target-id
: The ID of the Traffic Mirror target.
virtual-network-id
: The virtual network ID of the Traffic Mirror session.
public void setMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.public Integer getMaxResults()
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
nextToken
value.public DescribeTrafficMirrorSessionsRequest withMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public DescribeTrafficMirrorSessionsRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public Request<DescribeTrafficMirrorSessionsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeTrafficMirrorSessionsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeTrafficMirrorSessionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()