Interface BatchGetRouterNetworkInterfaceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetRouterNetworkInterfaceResponse.Builder,,BatchGetRouterNetworkInterfaceResponse> MediaConnectResponse.Builder,SdkBuilder<BatchGetRouterNetworkInterfaceResponse.Builder,,BatchGetRouterNetworkInterfaceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetRouterNetworkInterfaceResponse
-
Method Summary
Modifier and TypeMethodDescriptionAn array of errors that occurred when retrieving the requested router network interfaces.An array of errors that occurred when retrieving the requested router network interfaces.errors(BatchGetRouterNetworkInterfaceError... errors) An array of errors that occurred when retrieving the requested router network interfaces.routerNetworkInterfaces(Collection<RouterNetworkInterface> routerNetworkInterfaces) An array of router network interfaces that were successfully retrieved.routerNetworkInterfaces(Consumer<RouterNetworkInterface.Builder>... routerNetworkInterfaces) An array of router network interfaces that were successfully retrieved.routerNetworkInterfaces(RouterNetworkInterface... routerNetworkInterfaces) An array of router network interfaces that were successfully retrieved.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
-
routerNetworkInterfaces
BatchGetRouterNetworkInterfaceResponse.Builder routerNetworkInterfaces(Collection<RouterNetworkInterface> routerNetworkInterfaces) An array of router network interfaces that were successfully retrieved.
- Parameters:
routerNetworkInterfaces- An array of router network interfaces that were successfully retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routerNetworkInterfaces
BatchGetRouterNetworkInterfaceResponse.Builder routerNetworkInterfaces(RouterNetworkInterface... routerNetworkInterfaces) An array of router network interfaces that were successfully retrieved.
- Parameters:
routerNetworkInterfaces- An array of router network interfaces that were successfully retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routerNetworkInterfaces
BatchGetRouterNetworkInterfaceResponse.Builder routerNetworkInterfaces(Consumer<RouterNetworkInterface.Builder>... routerNetworkInterfaces) An array of router network interfaces that were successfully retrieved.
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 torouterNetworkInterfaces(List<RouterNetworkInterface>).- Parameters:
routerNetworkInterfaces- 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:
-
errors
BatchGetRouterNetworkInterfaceResponse.Builder errors(Collection<BatchGetRouterNetworkInterfaceError> errors) An array of errors that occurred when retrieving the requested router network interfaces.
- Parameters:
errors- An array of errors that occurred when retrieving the requested router network interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchGetRouterNetworkInterfaceResponse.Builder errors(BatchGetRouterNetworkInterfaceError... errors) An array of errors that occurred when retrieving the requested router network interfaces.
- Parameters:
errors- An array of errors that occurred when retrieving the requested router network interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchGetRouterNetworkInterfaceResponse.Builder errors(Consumer<BatchGetRouterNetworkInterfaceError.Builder>... errors) An array of errors that occurred when retrieving the requested router network interfaces.
This is a convenience method that creates an instance of theBatchGetRouterNetworkInterfaceError.Builderavoiding the need to create one manually viaBatchGetRouterNetworkInterfaceError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchGetRouterNetworkInterfaceError>).- Parameters:
errors- a consumer that will call methods onBatchGetRouterNetworkInterfaceError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-