Interface PutProtocolsListResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<PutProtocolsListResponse.Builder,
,PutProtocolsListResponse> FmsResponse.Builder
,SdkBuilder<PutProtocolsListResponse.Builder,
,PutProtocolsListResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PutProtocolsListResponse
public static interface PutProtocolsListResponse.Builder
extends FmsResponse.Builder, SdkPojo, CopyableBuilder<PutProtocolsListResponse.Builder,PutProtocolsListResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PutProtocolsListResponse.Builder
protocolsList
(Consumer<ProtocolsListData.Builder> protocolsList) The details of the Firewall Manager protocols list.protocolsList
(ProtocolsListData protocolsList) The details of the Firewall Manager protocols list.protocolsListArn
(String protocolsListArn) The Amazon Resource Name (ARN) of the protocols list.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.fms.model.FmsResponse.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
-
protocolsList
The details of the Firewall Manager protocols list.
- Parameters:
protocolsList
- The details of the Firewall Manager protocols list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocolsList
default PutProtocolsListResponse.Builder protocolsList(Consumer<ProtocolsListData.Builder> protocolsList) The details of the Firewall Manager protocols list.
This is a convenience method that creates an instance of theProtocolsListData.Builder
avoiding the need to create one manually viaProtocolsListData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprotocolsList(ProtocolsListData)
.- Parameters:
protocolsList
- a consumer that will call methods onProtocolsListData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocolsListArn
The Amazon Resource Name (ARN) of the protocols list.
- Parameters:
protocolsListArn
- The Amazon Resource Name (ARN) of the protocols list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-