Interface CreateTrafficMirrorSessionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateTrafficMirrorSessionResponse.Builder,CreateTrafficMirrorSessionResponse>,Ec2Response.Builder,SdkBuilder<CreateTrafficMirrorSessionResponse.Builder,CreateTrafficMirrorSessionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateTrafficMirrorSessionResponse
@Mutable @NotThreadSafe public static interface CreateTrafficMirrorSessionResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateTrafficMirrorSessionResponse.Builder,CreateTrafficMirrorSessionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateTrafficMirrorSessionResponse.BuilderclientToken(String clientToken)Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.default CreateTrafficMirrorSessionResponse.BuildertrafficMirrorSession(Consumer<TrafficMirrorSession.Builder> trafficMirrorSession)Information about the Traffic Mirror session.CreateTrafficMirrorSessionResponse.BuildertrafficMirrorSession(TrafficMirrorSession trafficMirrorSession)Information about the Traffic Mirror session.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
trafficMirrorSession
CreateTrafficMirrorSessionResponse.Builder trafficMirrorSession(TrafficMirrorSession trafficMirrorSession)
Information about the Traffic Mirror session.
- Parameters:
trafficMirrorSession- Information about the Traffic Mirror session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficMirrorSession
default CreateTrafficMirrorSessionResponse.Builder trafficMirrorSession(Consumer<TrafficMirrorSession.Builder> trafficMirrorSession)
Information about the Traffic Mirror session.
This is a convenience method that creates an instance of theTrafficMirrorSession.Builderavoiding the need to create one manually viaTrafficMirrorSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrafficMirrorSession(TrafficMirrorSession).- Parameters:
trafficMirrorSession- a consumer that will call methods onTrafficMirrorSession.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
trafficMirrorSession(TrafficMirrorSession)
-
clientToken
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.
- Parameters:
clientToken- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-