Interface DescribeTrafficMirrorTargetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeTrafficMirrorTargetsResponse.Builder,
,DescribeTrafficMirrorTargetsResponse> Ec2Response.Builder
,SdkBuilder<DescribeTrafficMirrorTargetsResponse.Builder,
,DescribeTrafficMirrorTargetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeTrafficMirrorTargetsResponse
public static interface DescribeTrafficMirrorTargetsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeTrafficMirrorTargetsResponse.Builder,DescribeTrafficMirrorTargetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.trafficMirrorTargets
(Collection<TrafficMirrorTarget> trafficMirrorTargets) Information about one or more Traffic Mirror targets.trafficMirrorTargets
(Consumer<TrafficMirrorTarget.Builder>... trafficMirrorTargets) Information about one or more Traffic Mirror targets.trafficMirrorTargets
(TrafficMirrorTarget... trafficMirrorTargets) Information about one or more Traffic Mirror targets.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
trafficMirrorTargets
DescribeTrafficMirrorTargetsResponse.Builder trafficMirrorTargets(Collection<TrafficMirrorTarget> trafficMirrorTargets) Information about one or more Traffic Mirror targets.
- Parameters:
trafficMirrorTargets
- Information about one or more Traffic Mirror targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficMirrorTargets
DescribeTrafficMirrorTargetsResponse.Builder trafficMirrorTargets(TrafficMirrorTarget... trafficMirrorTargets) Information about one or more Traffic Mirror targets.
- Parameters:
trafficMirrorTargets
- Information about one or more Traffic Mirror targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficMirrorTargets
DescribeTrafficMirrorTargetsResponse.Builder trafficMirrorTargets(Consumer<TrafficMirrorTarget.Builder>... trafficMirrorTargets) Information about one or more Traffic Mirror targets.
This is a convenience method that creates an instance of theTrafficMirrorTarget.Builder
avoiding the need to create one manually viaTrafficMirrorTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrafficMirrorTargets(List<TrafficMirrorTarget>)
.- Parameters:
trafficMirrorTargets
- a consumer that will call methods onTrafficMirrorTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. The value is
null
when there are no more results to return.- Parameters:
nextToken
- The token to use to retrieve the next page of results. The value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-