Interface ListGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListGroupsResponse.Builder,,ListGroupsResponse> SdkBuilder<ListGroupsResponse.Builder,,ListGroupsResponse> SdkPojo,SdkResponse.Builder,SyntheticsResponse.Builder
- Enclosing class:
ListGroupsResponse
public static interface ListGroupsResponse.Builder
extends SyntheticsResponse.Builder, SdkPojo, CopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongroups(Collection<GroupSummary> groups) An array of structures that each contain information about one group.groups(Consumer<GroupSummary.Builder>... groups) An array of structures that each contain information about one group.groups(GroupSummary... groups) An array of structures that each contain information about one group.A token that indicates that there is more data available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.synthetics.model.SyntheticsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
groups
An array of structures that each contain information about one group.
- Parameters:
groups- An array of structures that each contain information about one group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
An array of structures that each contain information about one group.
- Parameters:
groups- An array of structures that each contain information about one group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
An array of structures that each contain information about one group.
This is a convenience method that creates an instance of theGroupSummary.Builderavoiding the need to create one manually viaGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroups(List<GroupSummary>).- Parameters:
groups- a consumer that will call methods onGroupSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates that there is more data available. You can use this token in a subsequent
ListGroupsoperation to retrieve the next set of results.- Parameters:
nextToken- A token that indicates that there is more data available. You can use this token in a subsequentListGroupsoperation to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-