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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListProtocolsListsResponse.BuildernextToken(String nextToken)If you specify a value forMaxResultsin your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response.ListProtocolsListsResponse.BuilderprotocolsLists(Collection<ProtocolsListDataSummary> protocolsLists)An array ofProtocolsListDataSummaryobjects.ListProtocolsListsResponse.BuilderprotocolsLists(Consumer<ProtocolsListDataSummary.Builder>... protocolsLists)An array ofProtocolsListDataSummaryobjects.ListProtocolsListsResponse.BuilderprotocolsLists(ProtocolsListDataSummary... protocolsLists)An array ofProtocolsListDataSummaryobjects.-
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 Detail
-
protocolsLists
ListProtocolsListsResponse.Builder protocolsLists(Collection<ProtocolsListDataSummary> protocolsLists)
An array of
ProtocolsListDataSummaryobjects.- Parameters:
protocolsLists- An array ofProtocolsListDataSummaryobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocolsLists
ListProtocolsListsResponse.Builder protocolsLists(ProtocolsListDataSummary... protocolsLists)
An array of
ProtocolsListDataSummaryobjects.- Parameters:
protocolsLists- An array ofProtocolsListDataSummaryobjects.- 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 theProtocolsListDataSummaryobjects.ProtocolsListDataSummary.Builderavoiding the need to create one manually viaProtocolsListDataSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#protocolsLists(List.) - 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:
#protocolsLists(java.util.Collection)
-
nextToken
ListProtocolsListsResponse.Builder nextToken(String nextToken)
If you specify a value for
MaxResultsin 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 forMaxResultsin 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.
-
-