Interface ListManagedThingAccountAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListManagedThingAccountAssociationsResponse.Builder,
,ListManagedThingAccountAssociationsResponse> IotManagedIntegrationsResponse.Builder
,SdkBuilder<ListManagedThingAccountAssociationsResponse.Builder,
,ListManagedThingAccountAssociationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListManagedThingAccountAssociationsResponse
@Mutable
@NotThreadSafe
public static interface ListManagedThingAccountAssociationsResponse.Builder
extends IotManagedIntegrationsResponse.Builder, SdkPojo, CopyableBuilder<ListManagedThingAccountAssociationsResponse.Builder,ListManagedThingAccountAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<ManagedThingAssociation> items) The list of managed thing associations that match the specified criteria, including the managed thing ID and account association ID for each association.items
(Consumer<ManagedThingAssociation.Builder>... items) The list of managed thing associations that match the specified criteria, including the managed thing ID and account association ID for each association.items
(ManagedThingAssociation... items) The list of managed thing associations that match the specified criteria, including the managed thing ID and account association ID for each association.A token used for pagination of results when there are more account associations than can be returned in a single response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotmanagedintegrations.model.IotManagedIntegrationsResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
ListManagedThingAccountAssociationsResponse.Builder items(Collection<ManagedThingAssociation> items) The list of managed thing associations that match the specified criteria, including the managed thing ID and account association ID for each association.
- Parameters:
items
- The list of managed thing associations that match the specified criteria, including the managed thing ID and account association ID for each association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of managed thing associations that match the specified criteria, including the managed thing ID and account association ID for each association.
- Parameters:
items
- The list of managed thing associations that match the specified criteria, including the managed thing ID and account association ID for each association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListManagedThingAccountAssociationsResponse.Builder items(Consumer<ManagedThingAssociation.Builder>... items) The list of managed thing associations that match the specified criteria, including the managed thing ID and account association ID for each association.
This is a convenience method that creates an instance of theManagedThingAssociation.Builder
avoiding the need to create one manually viaManagedThingAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<ManagedThingAssociation>)
.- Parameters:
items
- a consumer that will call methods onManagedThingAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token used for pagination of results when there are more account associations than can be returned in a single response.
- Parameters:
nextToken
- A token used for pagination of results when there are more account associations than can be returned in a single response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-