public static interface CreateTrafficMirrorSessionResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateTrafficMirrorSessionResponse.Builder,CreateTrafficMirrorSessionResponse>
Modifier and Type | Method and Description |
---|---|
CreateTrafficMirrorSessionResponse.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
default CreateTrafficMirrorSessionResponse.Builder |
trafficMirrorSession(Consumer<TrafficMirrorSession.Builder> trafficMirrorSession)
Information about the Traffic Mirror session.
|
CreateTrafficMirrorSessionResponse.Builder |
trafficMirrorSession(TrafficMirrorSession trafficMirrorSession)
Information about the Traffic Mirror session.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateTrafficMirrorSessionResponse.Builder trafficMirrorSession(TrafficMirrorSession trafficMirrorSession)
Information about the Traffic Mirror session.
trafficMirrorSession
- Information about the Traffic Mirror session.default CreateTrafficMirrorSessionResponse.Builder trafficMirrorSession(Consumer<TrafficMirrorSession.Builder> trafficMirrorSession)
Information about the Traffic Mirror session.
This is a convenience that creates an instance of theTrafficMirrorSession.Builder
avoiding the need
to create one manually via TrafficMirrorSession.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to trafficMirrorSession(TrafficMirrorSession)
.trafficMirrorSession
- a consumer that will call methods on TrafficMirrorSession.Builder
trafficMirrorSession(TrafficMirrorSession)
CreateTrafficMirrorSessionResponse.Builder clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to
Ensure Idempotency.Copyright © 2021. All rights reserved.