Interface ListMulticastGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMulticastGroupsResponse.Builder,,ListMulticastGroupsResponse> IotWirelessResponse.Builder,SdkBuilder<ListMulticastGroupsResponse.Builder,,ListMulticastGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListMulticastGroupsResponse
@Mutable
@NotThreadSafe
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, thenextTokenvalue from a previous response; otherwise null to receive the first set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotwireless.model.IotWirelessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
To retrieve the next set of results, the
nextTokenvalue from a previous response; otherwise null to receive the first set of results.- Parameters:
nextToken- To retrieve the next set of results, thenextTokenvalue 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.Builderavoiding the need to create one manually viaMulticastGroup.builder().When the
Consumercompletes,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:
-