Interface ListMulticastGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListMulticastGroupsResponse.Builder,
,ListMulticastGroupsResponse> IotWirelessResponse.Builder
,SdkBuilder<ListMulticastGroupsResponse.Builder,
,ListMulticastGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListMulticastGroupsResponse
public static interface ListMulticastGroupsResponse.Builder
extends IotWirelessResponse.Builder, SdkPojo, CopyableBuilder<ListMulticastGroupsResponse.Builder,ListMulticastGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmulticastGroupList
(Collection<MulticastGroup> multicastGroupList) Sets the value of the MulticastGroupList property for this object.multicastGroupList
(Consumer<MulticastGroup.Builder>... multicastGroupList) Sets the value of the MulticastGroupList property for this object.multicastGroupList
(MulticastGroup... multicastGroupList) Sets the value of the MulticastGroupList property for this object.To retrieve the next set of results, thenextToken
value from a previous response; otherwise null to receive the first set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotwireless.model.IotWirelessResponse.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 Details
-
nextToken
To retrieve the next set of results, the
nextToken
value from a previous response; otherwise null to receive the first set of results.- Parameters:
nextToken
- To retrieve the next set of results, thenextToken
value from a previous response; otherwise null to receive the first set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multicastGroupList
ListMulticastGroupsResponse.Builder multicastGroupList(Collection<MulticastGroup> multicastGroupList) Sets the value of the MulticastGroupList property for this object.- Parameters:
multicastGroupList
- The new value for the MulticastGroupList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multicastGroupList
Sets the value of the MulticastGroupList property for this object.- Parameters:
multicastGroupList
- The new value for the MulticastGroupList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multicastGroupList
ListMulticastGroupsResponse.Builder multicastGroupList(Consumer<MulticastGroup.Builder>... multicastGroupList) Sets the value of the MulticastGroupList property for this object. This is a convenience method that creates an instance of theMulticastGroup.Builder
avoiding the need to create one manually viaMulticastGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomulticastGroupList(List<MulticastGroup>)
.- Parameters:
multicastGroupList
- a consumer that will call methods onMulticastGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-