Interface CreateNetworkInsightsPathResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateNetworkInsightsPathResponse.Builder,
,CreateNetworkInsightsPathResponse> Ec2Response.Builder
,SdkBuilder<CreateNetworkInsightsPathResponse.Builder,
,CreateNetworkInsightsPathResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateNetworkInsightsPathResponse
public static interface CreateNetworkInsightsPathResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateNetworkInsightsPathResponse.Builder,CreateNetworkInsightsPathResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnetworkInsightsPath
(Consumer<NetworkInsightsPath.Builder> networkInsightsPath) Information about the path.networkInsightsPath
(NetworkInsightsPath networkInsightsPath) Information about the path.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
-
networkInsightsPath
CreateNetworkInsightsPathResponse.Builder networkInsightsPath(NetworkInsightsPath networkInsightsPath) Information about the path.
- Parameters:
networkInsightsPath
- Information about the path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInsightsPath
default CreateNetworkInsightsPathResponse.Builder networkInsightsPath(Consumer<NetworkInsightsPath.Builder> networkInsightsPath) Information about the path.
This is a convenience method that creates an instance of theNetworkInsightsPath.Builder
avoiding the need to create one manually viaNetworkInsightsPath.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkInsightsPath(NetworkInsightsPath)
.- Parameters:
networkInsightsPath
- a consumer that will call methods onNetworkInsightsPath.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-