Interface ListGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListGroupsResponse.Builder,
,ListGroupsResponse> SdkBuilder<ListGroupsResponse.Builder,
,ListGroupsResponse> SdkPojo
,SdkResponse.Builder
,SyntheticsResponse.Builder
- Enclosing class:
ListGroupsResponse
@Mutable
@NotThreadSafe
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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods 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.Builder
avoiding the need to create one manually viaGroupSummary.builder()
.When the
Consumer
completes,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
ListGroups
operation 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 subsequentListGroups
operation to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-