Interface GetProtocolsListResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetProtocolsListResponse.Builder,
,GetProtocolsListResponse> FmsResponse.Builder
,SdkBuilder<GetProtocolsListResponse.Builder,
,GetProtocolsListResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetProtocolsListResponse
public static interface GetProtocolsListResponse.Builder
extends FmsResponse.Builder, SdkPojo, CopyableBuilder<GetProtocolsListResponse.Builder,GetProtocolsListResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetProtocolsListResponse.Builder
protocolsList
(Consumer<ProtocolsListData.Builder> protocolsList) Information about the specified Firewall Manager protocols list.protocolsList
(ProtocolsListData protocolsList) Information about the specified Firewall Manager protocols list.protocolsListArn
(String protocolsListArn) The Amazon Resource Name (ARN) of the specified 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
Information about the specified Firewall Manager protocols list.
- Parameters:
protocolsList
- Information about the specified Firewall Manager protocols list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocolsList
default GetProtocolsListResponse.Builder protocolsList(Consumer<ProtocolsListData.Builder> protocolsList) Information about the specified 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 specified protocols list.
- Parameters:
protocolsListArn
- The Amazon Resource Name (ARN) of the specified protocols list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-