Interface GetEntitiesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetEntitiesResponse.Builder,
,GetEntitiesResponse> IoTThingsGraphResponse.Builder
,SdkBuilder<GetEntitiesResponse.Builder,
,GetEntitiesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetEntitiesResponse
public static interface GetEntitiesResponse.Builder
extends IoTThingsGraphResponse.Builder, SdkPojo, CopyableBuilder<GetEntitiesResponse.Builder,GetEntitiesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondescriptions
(Collection<EntityDescription> descriptions) An array of descriptions for the specified entities.descriptions
(Consumer<EntityDescription.Builder>... descriptions) An array of descriptions for the specified entities.descriptions
(EntityDescription... descriptions) An array of descriptions for the specified entities.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotthingsgraph.model.IoTThingsGraphResponse.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
-
descriptions
An array of descriptions for the specified entities.
- Parameters:
descriptions
- An array of descriptions for the specified entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
descriptions
An array of descriptions for the specified entities.
- Parameters:
descriptions
- An array of descriptions for the specified entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
descriptions
An array of descriptions for the specified entities.
This is a convenience method that creates an instance of theEntityDescription.Builder
avoiding the need to create one manually viaEntityDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todescriptions(List<EntityDescription>)
.- Parameters:
descriptions
- a consumer that will call methods onEntityDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-