Interface ListAssociatedGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAssociatedGroupsResponse.Builder,ListAssociatedGroupsResponse>,SdkBuilder<ListAssociatedGroupsResponse.Builder,ListAssociatedGroupsResponse>,SdkPojo,SdkResponse.Builder,SyntheticsResponse.Builder
- Enclosing class:
- ListAssociatedGroupsResponse
public static interface ListAssociatedGroupsResponse.Builder extends SyntheticsResponse.Builder, SdkPojo, CopyableBuilder<ListAssociatedGroupsResponse.Builder,ListAssociatedGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAssociatedGroupsResponse.Buildergroups(Collection<GroupSummary> groups)An array of structures that contain information about the groups that this canary is associated with.ListAssociatedGroupsResponse.Buildergroups(Consumer<GroupSummary.Builder>... groups)An array of structures that contain information about the groups that this canary is associated with.ListAssociatedGroupsResponse.Buildergroups(GroupSummary... groups)An array of structures that contain information about the groups that this canary is associated with.ListAssociatedGroupsResponse.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
ListAssociatedGroupsResponse.Builder groups(Collection<GroupSummary> groups)
An array of structures that contain information about the groups that this canary is associated with.
- Parameters:
groups- An array of structures that contain information about the groups that this canary is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
ListAssociatedGroupsResponse.Builder groups(GroupSummary... groups)
An array of structures that contain information about the groups that this canary is associated with.
- Parameters:
groups- An array of structures that contain information about the groups that this canary is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
ListAssociatedGroupsResponse.Builder groups(Consumer<GroupSummary.Builder>... groups)
An array of structures that contain information about the groups that this canary is associated with.
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
ListAssociatedGroupsResponse.Builder nextToken(String nextToken)
A token that indicates that there is more data available. You can use this token in a subsequent
ListAssociatedGroupsoperation 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 subsequentListAssociatedGroupsoperation to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-