Interface ListAppsListsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAppsListsResponse.Builder,ListAppsListsResponse>,FmsResponse.Builder,SdkBuilder<ListAppsListsResponse.Builder,ListAppsListsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAppsListsResponse
public static interface ListAppsListsResponse.Builder extends FmsResponse.Builder, SdkPojo, CopyableBuilder<ListAppsListsResponse.Builder,ListAppsListsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAppsListsResponse.BuilderappsLists(Collection<AppsListDataSummary> appsLists)An array ofAppsListDataSummaryobjects.ListAppsListsResponse.BuilderappsLists(Consumer<AppsListDataSummary.Builder>... appsLists)An array ofAppsListDataSummaryobjects.ListAppsListsResponse.BuilderappsLists(AppsListDataSummary... appsLists)An array ofAppsListDataSummaryobjects.ListAppsListsResponse.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.-
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
-
appsLists
ListAppsListsResponse.Builder appsLists(Collection<AppsListDataSummary> appsLists)
An array of
AppsListDataSummaryobjects.- Parameters:
appsLists- An array ofAppsListDataSummaryobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appsLists
ListAppsListsResponse.Builder appsLists(AppsListDataSummary... appsLists)
An array of
AppsListDataSummaryobjects.- Parameters:
appsLists- An array ofAppsListDataSummaryobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appsLists
ListAppsListsResponse.Builder appsLists(Consumer<AppsListDataSummary.Builder>... appsLists)
An array of
This is a convenience method that creates an instance of theAppsListDataSummaryobjects.AppsListDataSummary.Builderavoiding the need to create one manually viaAppsListDataSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#appsLists(List.) - Parameters:
appsLists- a consumer that will call methods onAppsListDataSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#appsLists(java.util.Collection)
-
nextToken
ListAppsListsResponse.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.
-
-