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
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
-
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.Builderavoiding the need to create one manually viaNetworkInsightsPath.builder().When the
Consumercompletes,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:
-