Interface GetManagedThingStateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetManagedThingStateResponse.Builder,
,GetManagedThingStateResponse> IotManagedIntegrationsResponse.Builder
,SdkBuilder<GetManagedThingStateResponse.Builder,
,GetManagedThingStateResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetManagedThingStateResponse
@Mutable
@NotThreadSafe
public static interface GetManagedThingStateResponse.Builder
extends IotManagedIntegrationsResponse.Builder, SdkPojo, CopyableBuilder<GetManagedThingStateResponse.Builder,GetManagedThingStateResponse>
-
Method Summary
Modifier and TypeMethodDescriptionendpoints
(Collection<StateEndpoint> endpoints) The device endpoint.endpoints
(Consumer<StateEndpoint.Builder>... endpoints) The device endpoint.endpoints
(StateEndpoint... endpoints) The device endpoint.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
-
endpoints
The device endpoint.
- Parameters:
endpoints
- The device endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The device endpoint.
- Parameters:
endpoints
- The device endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The device endpoint.
This is a convenience method that creates an instance of theStateEndpoint.Builder
avoiding the need to create one manually viaStateEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpoints(List<StateEndpoint>)
.- Parameters:
endpoints
- a consumer that will call methods onStateEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-