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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListGroupsResponse.Buildergroups(Collection<GroupSummary> groups)An array of structures that each contain information about one group.ListGroupsResponse.Buildergroups(Consumer<GroupSummary.Builder>... groups)An array of structures that each contain information about one group.ListGroupsResponse.Buildergroups(GroupSummary... groups)An array of structures that each contain information about one group.ListGroupsResponse.BuildernextToken(String nextToken)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, 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 Detail
-
groups
ListGroupsResponse.Builder groups(Collection<GroupSummary> 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
ListGroupsResponse.Builder groups(GroupSummary... 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
ListGroupsResponse.Builder groups(Consumer<GroupSummary.Builder>... 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 to#groups(List.) - 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:
#groups(java.util.Collection)
-
nextToken
ListGroupsResponse.Builder nextToken(String 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.
-
-