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 forMaxResultsin 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 ofProtocolsListDataSummaryobjects.protocolsLists(Consumer<ProtocolsListDataSummary.Builder>... protocolsLists) An array ofProtocolsListDataSummaryobjects.protocolsLists(ProtocolsListDataSummary... protocolsLists) An array ofProtocolsListDataSummaryobjects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.fms.model.FmsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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 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
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.
-