Interface GetRouterNetworkInterfaceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRouterNetworkInterfaceResponse.Builder,,GetRouterNetworkInterfaceResponse> MediaConnectResponse.Builder,SdkBuilder<GetRouterNetworkInterfaceResponse.Builder,,GetRouterNetworkInterfaceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetRouterNetworkInterfaceResponse
@Mutable
@NotThreadSafe
public static interface GetRouterNetworkInterfaceResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<GetRouterNetworkInterfaceResponse.Builder,GetRouterNetworkInterfaceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrouterNetworkInterface(Consumer<RouterNetworkInterface.Builder> routerNetworkInterface) The details of the requested router network interface, including its configuration and other attributes.routerNetworkInterface(RouterNetworkInterface routerNetworkInterface) The details of the requested router network interface, including its configuration and other attributes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
routerNetworkInterface
GetRouterNetworkInterfaceResponse.Builder routerNetworkInterface(RouterNetworkInterface routerNetworkInterface) The details of the requested router network interface, including its configuration and other attributes.
- Parameters:
routerNetworkInterface- The details of the requested router network interface, including its configuration and other attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routerNetworkInterface
default GetRouterNetworkInterfaceResponse.Builder routerNetworkInterface(Consumer<RouterNetworkInterface.Builder> routerNetworkInterface) The details of the requested router network interface, including its configuration and other attributes.
This is a convenience method that creates an instance of theRouterNetworkInterface.Builderavoiding the need to create one manually viaRouterNetworkInterface.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torouterNetworkInterface(RouterNetworkInterface).- Parameters:
routerNetworkInterface- a consumer that will call methods onRouterNetworkInterface.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-