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
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaTrafficMirrorTarget.builder().When the
Consumercompletes,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
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use to retrieve the next page of results. The value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-