Interface ListProtocolsListsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListProtocolsListsResponse.Builder,
,ListProtocolsListsResponse> FmsResponse.Builder
,SdkBuilder<ListProtocolsListsResponse.Builder,
,ListProtocolsListsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListProtocolsListsResponse
public static interface ListProtocolsListsResponse.Builder
extends FmsResponse.Builder, SdkPojo, CopyableBuilder<ListProtocolsListsResponse.Builder,ListProtocolsListsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf you specify a value forMaxResults
in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response.protocolsLists
(Collection<ProtocolsListDataSummary> protocolsLists) An array ofProtocolsListDataSummary
objects.protocolsLists
(Consumer<ProtocolsListDataSummary.Builder>... protocolsLists) An array ofProtocolsListDataSummary
objects.protocolsLists
(ProtocolsListDataSummary... protocolsLists) An array ofProtocolsListDataSummary
objects.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
-
protocolsLists
ListProtocolsListsResponse.Builder protocolsLists(Collection<ProtocolsListDataSummary> protocolsLists) An array of
ProtocolsListDataSummary
objects.- Parameters:
protocolsLists
- An array ofProtocolsListDataSummary
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocolsLists
An array of
ProtocolsListDataSummary
objects.- Parameters:
protocolsLists
- An array ofProtocolsListDataSummary
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocolsLists
ListProtocolsListsResponse.Builder protocolsLists(Consumer<ProtocolsListDataSummary.Builder>... protocolsLists) An array of
This is a convenience method that creates an instance of theProtocolsListDataSummary
objects.ProtocolsListDataSummary.Builder
avoiding the need to create one manually viaProtocolsListDataSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprotocolsLists(List<ProtocolsListDataSummary>)
.- Parameters:
protocolsLists
- a consumer that will call methods onProtocolsListDataSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If you specify a value for
MaxResults
in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. You can use this token in subsequent requests to retrieve the next batch of objects.- Parameters:
nextToken
- If you specify a value forMaxResults
in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. You can use this token in subsequent requests to retrieve the next batch of objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-